mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-08 20:28:42 +02:00
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. |
||
|---|---|---|
| .. | ||
| fetch-src | ||
| support | ||
| .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 | ||
| 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 | ||
| script-not-executed-after-shutdown.html | ||
| script-not-executed-after-shutdown.js | ||
| script-not-found-not-executed-2.py | ||
| script-not-found-not-executed.html | ||
| script-not-found-not-executed.py | ||
| script-onerror-insertion-point-1.html | ||
| script-onerror-insertion-point-2.html | ||
| script-onload-insertion-point.html | ||
| script-onload-string.html | ||
| script-text-xhtml.xhtml | ||
| script-text.html | ||
| scripting-enabled.html | ||
| serve-with-content-type.py | ||