Re: [whatwg] Should scripts and plugins in contenteditable content be enabled or disabled?

2010-04-22 Thread Simon Pieters
On Fri, 23 Apr 2010 01:28:47 +0200, Robert O'Callahan wrote: See https://bugzilla.mozilla.org/show_bug.cgi?id=519928 Suppose we have a

Re: [whatwg] Canvas 2D Context Proposal: resetOriginClean

2010-04-22 Thread Maciej Stachowiak
On Apr 22, 2010, at 5:05 PM, Charles Pritchard wrote: Mozilla almost certainly not be willing to implement such a method. -Boris Well... as that idea has been torpedoed, what/where is current work being done to unify privilege escalation? Calling it "privilege escalation" makes it sound

[whatwg] Canvas 2D Context Proposal: resetOriginClean

2010-04-22 Thread Charles Pritchard
On 4/20/10 7:18 AM, Charles Pritchard wrote: / Proposed method: />>/ CanvasRenderingContext2D />/> resetOriginClean />/> throws SECURITY_ERR exception />>/ />/> When resetOriginClean is executed, an implementation shall request elevated />/> privileges, and if granted, set the origin-clean flag

[whatwg] Should scripts and plugins in contenteditable content be enabled or disabled?

2010-04-22 Thread Robert O'Callahan
See https://bugzilla.mozilla.org/show_bug.cgi?id=519928 Suppose we have a

Re: [whatwg] Directory upload via

2010-04-22 Thread Ashley Sheridan
On Thu, 2010-04-22 at 15:37 -0700, John Gregg wrote: > The use case is not about choosing a directory for some browser > functionality, it is really about choosing a directory that you want > to upload to a web page, such as a collection of photo albums. > > -John > > >From Ian Fette's original

Re: [whatwg] Directory upload via

2010-04-22 Thread John Gregg
The use case is not about choosing a directory for some browser functionality, it is really about choosing a directory that you want to upload to a web page, such as a collection of photo albums. -John >From Ian Fette's original email (http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-Dec

Re: [whatwg] Directory upload via

2010-04-22 Thread Jonas Sicking
I still don't understand the use case. In all cases I can think of where applications allow me to pick a folder (as opposed to a file), it's always been about choosing a location to save files. For example choosing where to put the browsers cache, or which should be the default download directory.

Re: [whatwg] Directory upload via

2010-04-22 Thread Ojan Vafai
Yes. On Thu, Apr 22, 2010 at 3:15 PM, John Gregg wrote: > So are you suggesting an input element that accepts directories > dragged onto it, but has no way of choosing a directory through a > system dialog? > > -John > > On Thu, Apr 22, 2010 at 3:11 PM, Ojan Vafai wrote: > > But there is alrea

Re: [whatwg] Directory upload via

2010-04-22 Thread John Gregg
So are you suggesting an input element that accepts directories dragged onto it, but has no way of choosing a directory through a system dialog? -John On Thu, Apr 22, 2010 at 3:11 PM, Ojan Vafai wrote: > But there is already a default UI that lets you select a folder, a file or > both (drag-dro

Re: [whatwg] Directory upload via

2010-04-22 Thread Ojan Vafai
But there is already a default UI that lets you select a folder, a file or both (drag-drop). I don't see why this forces the UA to do anything. Just because you can select both folders and files doesn't mean the UA needs to expose extra UI on top of drag-drop to let you do so. Again, no more so tha

Re: [whatwg] Web Workers feedback

2010-04-22 Thread Dmitry Titov
FYI: as of now, WebKit Workers 'close()' behavior is following the results of this thread and is compatible with FF (except we don't implement close event, as mentioned here). Thanks for clarifications! Dmitry On Fri, Apr 16, 2010 at 6:06 PM, Ian Hickson wrote: > On Tue, 30 Mar 2010, Jonas Sic

[whatwg] WebSocket opening handshake

2010-04-22 Thread Simon Pieters
establishing a WebSocket connection: [[ 41. ... or if there are any entries in the fields list whose names are the empty string, then fail the WebSocket connection and abort these steps. ... ]] I think it is better to check for this while parsing the fields, by checking if the name byte arr

[whatwg] WebSocket length of binary frames and closing handshake

2010-04-22 Thread Simon Pieters
WebSocket data framing [[ 8. If the frame type is 0xFF and the length was 0, then run the following substeps: ]] This will be true for 0xFF 0x80 0x00, or any number of leading 0x80 bytes in length. Presumably the frame should only be treated as a closing handshake if it was 0xFF 0x00. -