gecko-dev/testing/web-platform/tests/html/semantics/scripting-1/the-script-element
Boris Zbarsky 363a5143aa Bug 1297125. Make sure the parser insertion point is defined when firing the load event for external <scripts> or firing the error event on a failed external script load (but not other cases, like bogus script URL). r=hsivonen
If we have a creator parser, then we were a parser-inserted script and should
presumably be able to set a valid insertion point when we run or fire our
load/error events.  For the error event case, we do this in
nsScriptElement::ScriptAvailable, so that async error events due to things like
bogus script URLs do not end up with a valid insertion point.  For the load
event case, we just do this in ScriptEvaluated directly.

ScriptEvaluated is called while the scriptloader has our script set as the
current parser-inserted script.  But for the error event case we need to
maintain that state around the ScriptAvailable call that will fire the event.
2016-09-02 17:55:38 -04:00
..
fetch-src
support Bug 1297125. Make sure the parser insertion point is defined when firing the load event for external <scripts> or firing the error event on a failed external script load (but not other cases, like bogus script URL). r=hsivonen 2016-09-02 17:55:38 -04:00
.gitkeep
async_001.htm
async_002.htm
async_003.htm
async_004.htm
async_005.htm
async_006.htm
async_007.htm
async_008.htm
async_009.htm
async_010.htm
async_011.htm
contains.json
external-script-utf8.js
external-script-windows1250.js
log.py
script-before-after-events.html
script-charset-01.html
script-charset-02.html
script-charset-03.html Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly 2016-08-04 23:34:05 +01:00
script-for-event-xhtml.xhtml
script-for-event.html
script-language-type.html
script-languages-01.html
script-languages-02.html
script-noembed-noframes-iframe.xhtml
script-not-executed-after-shutdown-child.html Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly 2016-08-04 23:34:05 +01:00
script-not-executed-after-shutdown.html Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly 2016-08-04 23:34:05 +01:00
script-not-executed-after-shutdown.js Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly 2016-08-04 23:34:05 +01:00
script-not-found-not-executed-2.py Bug 1270508 - Update web-platform-tests to revision 26663baa852c0b42b91e7e72d3aa940e43371571, a=testonly 2016-05-07 09:05:37 +01:00
script-not-found-not-executed.html Bug 1270508 - Update web-platform-tests to revision 26663baa852c0b42b91e7e72d3aa940e43371571, a=testonly 2016-05-07 09:05:37 +01:00
script-not-found-not-executed.py Bug 1270508 - Update web-platform-tests to revision 26663baa852c0b42b91e7e72d3aa940e43371571, a=testonly 2016-05-07 09:05:37 +01:00
script-onerror-insertion-point-1.html Bug 1297125. Make sure the parser insertion point is defined when firing the load event for external <scripts> or firing the error event on a failed external script load (but not other cases, like bogus script URL). r=hsivonen 2016-09-02 17:55:38 -04:00
script-onerror-insertion-point-2.html Bug 1297125. Make sure the parser insertion point is defined when firing the load event for external <scripts> or firing the error event on a failed external script load (but not other cases, like bogus script URL). r=hsivonen 2016-09-02 17:55:38 -04:00
script-onload-insertion-point.html Bug 1297125. Make sure the parser insertion point is defined when firing the load event for external <scripts> or firing the error event on a failed external script load (but not other cases, like bogus script URL). r=hsivonen 2016-09-02 17:55:38 -04:00
script-onload-string.html
script-text-xhtml.xhtml
script-text.html
scripting-enabled.html Bug 1273176 - Update web-platform-tests to revision 55905788bebbdfacb49c94e579e93c19531e0199, a=testonly 2016-05-16 17:05:32 +01:00
serve-with-content-type.py