- From: <bugzilla@jessica.w3.org>
- Date: Wed, 01 Sep 2010 09:27:14 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10519
Summary: Parser-inserted script must lose its
parser-insertedness if the 'already started' flag does
not get set when the parser tries to run the script
Product: HTML WG
Version: unspecified
Platform: All
URL: http://hsivonen.iki.fi/test/moz/script-setting-src-on-
parser-inserted-script.html
OS/Version: All
Status: NEW
Severity: critical
Priority: P1
Component: HTML5 spec (editor: Ian Hickson)
AssignedTo: ian@hixie.ch
ReportedBy: hsivonen@iki.fi
QAContact: public-html-bugzilla@w3.org
CC: mike@w3.org, public-html@w3.org
See
http://hsivonen.iki.fi/test/moz/script-setting-src-on-parser-inserted-script.html
(All 4 engines let scripts cause the parser-inserted empty scripts to be
executed.)
The spec says "When a script element that is neither marked as having "already
started" nor marked as being "parser-inserted" experiences one of the events
listed in the following list, the user agent must synchronously run the script
element:"
However, the steps also need to be run if a script experience one of the events
if the script was originally inserted by the parser but the script didn't get
its "already started" flag set when the parser tried to run the script.
The simple solution is to unset the parser-inserted flag if the parser's
attempt to run the script fails to cause "already started" to be set.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 1 September 2010 09:27:15 UTC