gecko-dev/parser/htmlparser
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
..
tests 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
CNavDTD.cpp
CNavDTD.h
CParserContext.cpp
CParserContext.h
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nsElementTable.cpp Bug 1259590 - Remove B2G ACL code. r=khuey 2016-04-07 09:50:01 -07:00
nsElementTable.h
nsExpatDriver.cpp Bug 289714 - Make console XML Parsing notices more informative. r=jst 2016-07-20 14:46:32 -04:00
nsExpatDriver.h
nsHTMLEntities.cpp Bug 1297659 - Indentation fix in nsHTMLEntities.cpp. r=hsivonen 2016-08-26 14:31:34 +02:00
nsHTMLEntities.h
nsHTMLEntityList.h
nsHTMLTagList.h Bug 1260651 part.16 Rename nsHTMLEditUtils to mozilla::HTMLEditUtils (and their files too) r=mccr8 2016-07-07 14:01:12 +09:00
nsHTMLTags.cpp Bug 1277106 - Part 4: Remove MOZ_UTF16() macro. r=Waldo 2016-07-19 21:07:53 -07:00
nsHTMLTags.h
nsHTMLTokenizer.cpp
nsHTMLTokenizer.h
nsIContentSink.h
nsIDTD.h
nsIExpatSink.idl
nsIExtendedExpatSink.idl
nsIFragmentContentSink.h
nsIHTMLContentSink.h
nsIParser.h 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
nsIParserService.h
nsITokenizer.h
nsParser.cpp 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
nsParser.h 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
nsParserBase.h
nsParserCIID.h
nsParserConstants.h
nsParserModule.cpp
nsParserMsgUtils.cpp
nsParserMsgUtils.h
nsParserService.cpp
nsParserService.h Bug 1273282. Fix the handling of numeric entities in xml-stylesheet href values. r=peterv 2016-05-19 13:48:11 -04:00
nsScanner.cpp Bug 1228103 bustage follow-up. rs=Tomcat. 2016-02-09 13:08:03 +02:00
nsScanner.h Bug 1228103 addendum. r=smaug. 2016-02-09 12:45:59 +02:00
nsScannerString.cpp Bug 1228103. r=smaug. 2016-02-09 12:45:59 +02:00
nsScannerString.h Bug 1228103. r=smaug. 2016-02-09 12:45:59 +02:00
nsToken.h