Re: [websockets] Test results available

2015-04-02 Thread Simon Pieters
On Thu, 26 Mar 2015 16:37:28 +0100, Olli Pettay wrote: websockets/interfaces.html the test itself has bugs (uses old idlharness.js?). https://github.com/w3c/web-platform-tests/pull/1714 -- Simon Pieters Opera Software

Re: [websockets] Test results available

2015-04-02 Thread Simon Pieters
org/websockets/keeping-connection-open/001.html which is all-"Timeout". This test passes for me in Blink and Gecko. It has a indicating it needs a long timeout. Is it a bug in the test runner being used here? -- Simon Pieters Opera Software

Re: [WebIDL] T[] migration

2015-12-18 Thread Simon Pieters
;> would be possible, of course. Fixed in https://github.com/w3c/csswg-drafts/commit/e8a91deb46b670d6c2d8d302492a64222928d08a Note that it requires liveness. Does that work for a frozen array? Maybe this particular API should be a method instead that returns a sequence? -- Simon Pi

Re: [WebIDL] T[] migration

2015-12-21 Thread Simon Pieters
On Fri, 18 Dec 2015 18:04:27 +0100, Olli Pettay wrote: On 12/18/2015 06:20 PM, Domenic Denicola wrote: From: Simon Pieters [mailto:sim...@opera.com] Note that it requires liveness. Does that work for a frozen array? Frozen array instances are frozen and cannot change. However, you can

Re: Can we land heycam's WebIDL tests as-is and address review comments following?

2015-12-21 Thread Simon Pieters
71 git push -u origin webidl-tests -- Simon Pieters Opera Software

Re: [WebIDL] T[] migration

2016-02-16 Thread Simon Pieters
On Thu, 07 Jan 2016 20:12:44 +0100, Boris Zbarsky wrote: On 12/18/15 3:53 AM, Simon Pieters wrote: Note that it requires liveness. Does that work for a frozen array? No. You'd have to create a new array object at the point when you want to update the set of values in the array.

Re: XMLHttpRequest.responseBlob

2010-04-28 Thread Simon Pieters
t? javascript:alert('url' in StorageEvent.prototype) Opera: false Firefox: true Chrome: false -- Simon Pieters Opera Software

Re: XMLHttpRequest.responseBlob

2010-04-30 Thread Simon Pieters
On Thu, 29 Apr 2010, Simon Pieters wrote: > > > > Can you change it back? We've implemented and written tests for > > WebSocket.URL. WebKit has implemented EventSource.URL and > > WebSocket.URL. > > Do you plan to implement the File API attribute as .URL

Re: XMLHttpRequest.responseBlob

2010-05-11 Thread Simon Pieters
l StorageEvent.url I don't know where to go from here. StorageEvent.url has shipped in multiple browsers (apparently IE also has StorageEvent.url). It seems less disruptive to change WebSocket and EventSource since they aren't as widely deployed. So we'll change WebSock

Re: [WebIDL] NoInterfaceObject and access to constants

2010-06-15 Thread Simon Pieters
uld not be available as a property on the global object, I need to apply the [NoInterfaceObject] modifier, but that doesn't apply here. Can anyone confirm or refute this so that an open issue on the IndexedDB spec can be closed without action? -- Simon Pieters Opera Software

Re: [cors] Allow-Credentials vs Allow-Origin: * on image elements?

2010-07-08 Thread Simon Pieters
any data about which sites that might affect? Its not clear to me on how it would affect sites. It would be like the user cleared his cache and made a request. For instance, a bank site might force the user to log in again. -- Simon Pieters Opera Software

Re: ISSUE-118 (dispatchEvent links): Consider allowing dispatchEvent for generic event duplication for links [DOM3 Events]

2010-07-22 Thread Simon Pieters
/webapps/track/issues/118 Raised by: Doug Schepers On product: DOM3 Events Simon Pieters wrote in <http://lists.w3.org/Archives/Public/www-dom/2010AprJun/0041.html> : [[ Is it defined what should happen in the following case? click me http://example.org/";>test It seems Firefox and

Re: ISSUE-118 (dispatchEvent links): Consider allowing dispatchEvent for generic event duplication for links [DOM3 Events]

2010-07-22 Thread Simon Pieters
On Thu, 22 Jul 2010 20:27:00 +0200, Ian Hickson wrote: On Thu, 22 Jul 2010, Simon Pieters wrote: > > Even if we make this dispatch the event, it wouldn't make the link be > followed — since the event isn't dispatched by the UA, there's no > default action. Chro

Re: [whatwg] ArrayBuffer and ByteArray questions

2010-09-08 Thread Simon Pieters
/trunk/public/webgl/doc/spec/TypedArray-spec.html - ~Chris cmar...@apple.com -- Simon Pieters Opera Software

Re: [whatwg] ArrayBuffer and ByteArray questions

2010-09-08 Thread Simon Pieters
orage. -- Simon Pieters Opera Software

Re: [DOMCore] Attr

2010-09-14 Thread Simon Pieters
et getAttribute, setAttribute and hasAttribute have the first argument converted to lowercase for HTML elements also in XML. tagName is the only change that is likely to break in existing XHTML-only scripts, AFAICT. -- Simon Pieters Opera Software

Re: XHR responseArrayBuffer attribute: suggestion to replace "asBlob" with "responseType"

2010-11-11 Thread Simon Pieters
esponse.RESPONSETYPE_ARRAYBUFFER; This is much better: myXHR.responseType = "arraybuffer"; Constants are available on the object instance as well, so you can write: myXHR.responseType = myXHR.RESPONSETYPE_ARRAYBUFFER; -- Simon Pieters Opera Software

[FileAPI] Why is FileList a sequence?

2011-01-31 Thread Simon Pieters
Hi, Why is FileList defined as typedef sequence FileList; rather than as an interface similar to NodeList? It seems that in Gecko and WebKit FileList is more like NodeList than as a sequence. -- Simon Pieters Opera Software

[FileAPI] FileReader.abort() fires both error and abort

2011-02-01 Thread Simon Pieters
Hi http://dev.w3.org/2006/webapi/FileAPI/#abort Why does it fire both error and abort? Shouldn't it just fire abort? -- Simon Pieters Opera Software

Re: [Bug 11348] New: [IndexedDB] Overhaul of the event model

2011-02-07 Thread Simon Pieters
ipt itself, and if the error is still "not handled", an error event is fired on the worker object, but it stops there; an error event is never fired on window. -- Simon Pieters Opera Software

Re: [Bug 11348] New: [IndexedDB] Overhaul of the event model

2011-02-14 Thread Simon Pieters
On Mon, 07 Feb 2011 18:15:04 +0100, Jonas Sicking wrote: On Mon, Feb 7, 2011 at 2:22 AM, Simon Pieters wrote: On Wed, 02 Feb 2011 23:28:56 +0100, Jonas Sicking wrote: On Wed, Feb 2, 2011 at 2:10 PM, Jeremy Orlow wrote: Just to confirm, we don't want the events to propagate t

Re: [Bug 11348] New: [IndexedDB] Overhaul of the event model

2011-02-14 Thread Simon Pieters
's a use case that warrants doing it, and we can keep the platform consistent with errors elsewhere. cheers -- Simon Pieters Opera Software

[FileAPI] FileError and FileException should be available in workers

2011-02-24 Thread Simon Pieters
The File API spec should say that FileError and FileException interface objects must be available when the global object is a WorkerGlobalScope object. -- Simon Pieters Opera Software

Re: [FileAPI] Why is FileList a sequence?

2011-03-08 Thread Simon Pieters
On Tue, 08 Mar 2011 19:47:47 +0100, Arun Ranganathan wrote: On 1/31/11 11:04 AM, Simon Pieters wrote: Hi, Why is FileList defined as typedef sequence FileList; rather than as an interface similar to NodeList? It seems that in Gecko and WebKit FileList is more like NodeList than as

Re: [FileAPI] Why is FileList a sequence?

2011-03-10 Thread Simon Pieters
ow, our impl is spec compliant, and I see little point in changing it. -- Simon Pieters Opera Software

Re: [websockets] Binary support changes

2011-05-30 Thread Simon Pieters
pass along the global as well which is uglier than using a string). -- Simon Pieters Opera Software

Re: [websockets] Constructor vs. open()

2011-05-30 Thread Simon Pieters
ment an object in the API. I think that would be a good change, and I agree that open() would be added complexity with little benefit. http://www.w3.org/Bugs/Public/show_bug.cgi?id=12816 -- Simon Pieters Opera Software

Re: WebSocket feedback

2011-05-31 Thread Simon Pieters
o the next time the event loop spins, allowing any additional needed information to be provided after the constructor has been called. It seems bad to delay the connection just because the API designers didn't think about future additions. On Mon, 30 May 2011, Simon Pieters wrote

Re: Mouse Lock

2011-06-22 Thread Simon Pieters
n would you use this middle ground? Would users understand it? Also, as you say, totally inappropriate for FPS games. -- Simon Pieters Opera Software

[WebIDL] Assigning to constants

2008-06-12 Thread Simon Pieters
utes. It'd be good if this was defined. -- Simon Pieters Opera Software

Re: [WebIDL] Assigning to constants

2008-06-13 Thread Simon Pieters
On Thu, 12 Jun 2008 21:03:31 +0200, Andrew Oakley <[EMAIL PROTECTED]> wrote: Simon Pieters wrote: What should happen when you assign something to a constant? e.g.: Node.ELEMENT_NODE = 'Hello world'; Web IDL doesn't say, AFAICT. Firefox and Opera allow the assig

Re: [WebIDL] Assigning to constants

2008-06-16 Thread Simon Pieters
On Mon, 16 Jun 2008 13:02:05 +0200, Cameron McCormack <[EMAIL PROTECTED]> wrote: Simon Pieters: What should happen when you assign something to a constant? e.g.: Node.ELEMENT_NODE = 'Hello world'; Web IDL doesn't say, AFAICT. Firefox and Opera allow the ass

Re: [widgets] Trimming attribute values, a bad idea?

2008-12-03 Thread Simon Pieters
w SVG and MathML handle enumerated attributes, though. -- Simon Pieters Opera Software

Re: [widgets] Content-type sniffing and file extension to MIME mapping

2008-12-07 Thread Simon Pieters
t use the .xml extension and it would work. -- Simon Pieters Opera Software

[selectors-api] Use case for passing invalid selector (was: Re: [selectors-api] SVG WG Review of Selectors API)

2008-12-09 Thread Simon Pieters
instead of parsing the argument manually making sure it's a valid group of selectors before passing it to the Selectors API. -- Simon Pieters Opera Software

Re: [whatwg] DOMTimeStamp binding

2009-02-11 Thread Simon Pieters
a number of milliseconds. typedef unsigned long long DOMTimeStamp; ...and then refers to WebIDL for what that means to ECMAScript. -- Simon Pieters Opera Software

Re: [whatwg] DOMTimeStamp binding

2009-02-12 Thread Simon Pieters
Date? Any suggestions for what I need to do in Web DOM Core? -- Simon Pieters Opera Software

Re: Handling too few arguments in method calls

2009-06-22 Thread Simon Pieters
efer option 2. It's easier for authors to find their mistake. If a spec author wants the behavior of option 1, then that's possible with [Optional]. -- Simon Pieters Opera Software

Re: Specs using Web IDL

2009-07-16 Thread Simon Pieters
interested in editing Web DOM Core. Maybe someone from Apple or Mozilla? -- Simon Pieters Opera Software

Re: Web IDL syntax

2009-07-16 Thread Simon Pieters
need to be rewritten anyway for the other changes). -- Simon Pieters Opera Software

Re: [File API] feedback on August 1/5 draft

2009-08-22 Thread Simon Pieters
e eliminated that requirement, and thus we now have filedata.url which returns a filedata: scheme URL. http://dev.w3.org/2006/webapi/FileUpload/publish/FileAPI.html Maybe the attribute should be called "URL" for consistency with HTMLDocument.URL? -- Simon Pieters Opera Software

Re: [widget] relax NG schema

2009-09-02 Thread Simon Pieters
application/relax-ng-compact-syntax rather than text/plain. -- Simon Pieters Opera Software

Re: Using progress events for other purposes

2009-10-18 Thread Simon Pieters
rom zero or one?) Isn't itemCount redundant with loadedItems? -- Simon Pieters Opera Software

Re: Using progress events for other purposes

2009-10-19 Thread Simon Pieters
orrectly, you'd set lengthComputable to false, loaded to the number of bytes having been downloaded for the current file, total to 0, loadedItems to the number of files that have finished, and totalItems to the total number of files. -- Simon Pieters Opera Software

Re: childElements, childElementCount, and children

2009-10-21 Thread Simon Pieters
PIs and more bugs overall. -- Simon Pieters Opera Software

Re: [WebIDL] Default Values for Arguments

2009-11-13 Thread Simon Pieters
// why long long? } When the color argument is omitted, the default value of black/0 must be used. Thanks and regards Steffen Krüssel PS: The behavior seems to me a bit similar to what [[TreatNullAs]] and [[TreatUndefinedAs]] respectively (but not restricted to DOMString arguments). -- Simon Pieters Opera Software

Re: CfC - publish Selectors API as CR

2009-11-26 Thread Simon Pieters
equire the implementations to have been shipping for some amount of time, since some issues aren't found until the implementation is used on a wide scale. -- Simon Pieters Opera Software

Fwd: Draft PER of Associating Style Sheets with XML documents 1.0 (Second Edition) available for review

2009-12-10 Thread Simon Pieters
g/Archives/Public/www-xml-stylesheet-comments/ -- Simon Pieters Opera Software

public-webapps@w3.org

2010-02-02 Thread Simon Pieters
or if it could be better defined. HTML5 solves this with: "Conformance requirements phrased as algorithms or specific steps may be implemented in any manner, so long as the end result is equivalent." http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#conformance-requirements -- Simon Pieters Opera Software

Re: [FileAPI] Blob.URN?

2010-04-02 Thread Simon Pieters
fallback than a text input to me. -- Simon Pieters Opera Software

Re: Websockets API / CloseEvent and readyState

2010-04-15 Thread Simon Pieters
lly see why. If it's just the name then I'm happy to change it to something else. Does anyone else have an opinion on this? I think CloseEvent and wasClean are fine. -- Simon Pieters Opera Software

Re: XMLHttpRequest.responseBlob

2010-04-27 Thread Simon Pieters
Fine, fine. I've updated HTML5 to rename WebSocket.URL, EventSource.URL, and Stream.URL to be lowercase. Can you change it back? We've implemented and written tests for WebSocket.URL. WebKit has implemented EventSource.URL and WebSocket.URL. -- Simon Pieters Opera Software

Re: XMLHttpRequest.responseBlob

2010-04-27 Thread Simon Pieters
On Tue, 27 Apr 2010 10:00:02 +0200, Jonas Sicking wrote: On Tue, Apr 27, 2010 at 12:12 AM, Simon Pieters wrote: I would rather keep consistency with the hundreds of other properties that use lower case name, than the single one that use upper case. I would rather have all attributes with

<    1   2