W3C home > Mailing lists > Public > public-html@w3.org > June 2008

RE: Race conditions in HTML 5?

From: Bonner, Matt <matt.bonner@hp.com>
Date: Tue, 10 Jun 2008 21:22:04 +0000
To: Ian Hickson <ian@hixie.ch>, Boris Zbarsky <bzbarsky@MIT.EDU>
CC: Jim Jewett <jimjjewett@gmail.com>, HTML WG <public-html@w3.org>
Message-ID: <57221E38FB4DD54C946CE654959A554D05DD00E6D4@GVW0436EXB.americas.hpqcorp.net>
Hola,

Ian Hickson wrote:

> So do I; if you search the source of the document you'll find the
> occasional mention of a queue in the comments. I haven't figured 
> out exactly where it should go yet but basically anything that 
> waits for scripts to finish, including in particular event firing, 
> callbacks, and timers, will use this queue.

A page-global execution queue could work as a solution, but will
require considerable specification, and probably need to allow some 
HTML author control over execution order, if it's to be effective. 

One can imagine without trouble an web application author wanting 
e.g. the event-source script to execute (retrieving data) before 
the application cache script (saving application state locally), 
but the <html> cache manifest would of course appear first in the
HTML file.

Following [1] and [2], is this something that I should file as an
issue in Bugzilla or Issue Tracker?  Or the wiki?

I must agree with Laura Carlson, a clear explanation of the issue
tracking process would be a great help.

[1] http://lists.w3.org/Archives/Public/public-html/2008Jun/0140.html
[2] http://lists.w3.org/Archives/Public/public-html/2008Jun/0145.html

grącies,
--
Matt Bonner
Hewlett-Packard Company
 

> -----Original Message-----
> From: public-html-request@w3.org 
> [mailto:public-html-request@w3.org] On Behalf Of Ian Hickson
> Sent: Tuesday, June 10, 2008 11:57 AM
> To: Boris Zbarsky
> Cc: Jim Jewett; HTML WG
> Subject: Re: Race conditions in HTML 5?
> 
> 
> On Tue, 10 Jun 2008, Boris Zbarsky wrote:
> >
> > Jim Jewett wrote:
> > > If you have 10 events queued up waiting for "as soon as 
> > >no scripts are executing", then order can matter.
> >
> > Indeed.  I agree that this should be specified.
> 
> So do I; if you search the source of the document you'll find the
> occasional mention of a queue in the comments. I haven't figured out
> exactly where it should go yet but basically anything that waits for
> scripts to finish, including in particular event firing, 
> callbacks, and timers, will use this queue.
> 
> --
> Ian Hickson               U+1047E                
> )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   
> _\  ;`._ ,.
> Things that are impossible just take longer.   
> `._.-(,_..'--(,_..'`-.;.'
> 
> 

Received on Tuesday, 10 June 2008 21:23:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:18 GMT