[whatwg] Questions on error handling in web workers

2009-07-15 Thread Jian Li
I have a couple questions regarding error handling in HTML 5 workers. In the spec, it says Whenever a runtime script error occurs in one of the worker's scripts, if the error did not occur while handling a previous script error, the user agent must report the error using the WorkerGlobalScope

[whatwg] Proposal to drag virtual file out of browser

2009-08-17 Thread Jian Li
SUMMARY The HTML 5 spec defines the event-based drag-and-drop mechanism that could cross the browser boundary. If a draggable element contains a URL, dragging it out of the browser will only copy the URL value. However, in some scenarios, we really want to download the data file from the

Re: [whatwg] Drag-and-drop feedback

2010-01-25 Thread Jian Li
On Sat, Jan 23, 2010 at 2:30 AM, Ian Hickson i...@hixie.ch wrote: On Mon, 17 Aug 2009, Jian Li wrote: In order to download the attachment from an Internet mail application, the user will have to click the attachment link and a save dialog will pop up to let the user select

[whatwg] ArrayBuffer and ByteArray questions

2010-09-07 Thread Jian Li
Hi, Several specs, like File API and WebGL, use ArrayBuffer, while other spec, like XMLHttpRequest Level 2, use ByteArray. Should we change to use the same name all across our specs? Since we define ArrayBuffer in the Typed Arrays spec (

Re: [whatwg] ArrayBuffer and ByteArray questions

2010-09-14 Thread Jian Li
Yes, we only need to add it to BlobBuilder so that it can be applied to both FileReader, XHR.send and any other place that take the blob. On Wed, Sep 8, 2010 at 10:57 AM, Eric Uhrhane er...@google.com wrote: On Tue, Sep 7, 2010 at 4:09 PM, Jian Li jia...@chromium.org wrote: Hi, Several