gecko-dev/parser/html
Kris Maglione 9713f3db8b Bug 1333990: Part 2c - Interrupt the flush loop after inserting document element. r=hsivonen
In order to asynchronously load content scripts that need to run very early in
the page load cycle, we need to be able to block further parsing from the
document-element-inserted observer, before any page scripts are loaded.
Interrupting the flush loop after the document element is inserted allows
the observers to run, and temporarily block further parsing if necessary.

MozReview-Commit-ID: A6D2T52Mlx4

--HG--
extra : rebase_source : 86f303a0bf298ac32b934290a7f960a2e1bac581
2017-03-16 18:50:28 -07:00
..
java Bug 1274400 - Check out javaparser from GitHub instead of Google Code. r=froydnj 2016-08-11 16:09:17 +03:00
javasrc Bug 1322938 - Make the HTML tree builder aware of <dialog>. r=wchen 2016-12-22 11:30:41 +02:00
jArray.h Bug 1309834. r=wchen. 2016-10-14 11:47:17 +03:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nsAHtml5TreeBuilderState.h Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps 2017-02-07 17:52:56 +01:00
nsAHtml5TreeOpSink.h
nsHtml5ArrayCopy.h Bug 1309834. r=wchen. 2016-10-14 11:47:17 +03:00
nsHtml5Atom.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
nsHtml5Atom.h
nsHtml5AtomList.h Bug 1322938 - Make the HTML tree builder aware of <dialog>. r=wchen 2016-12-22 11:30:41 +02:00
nsHtml5Atoms.cpp
nsHtml5Atoms.h
nsHtml5AtomTable.cpp
nsHtml5AtomTable.h
nsHtml5AttributeName.cpp Bug 1187357 - Generated code for renaming referrer to referrerpolicy in html parser. r=hsivonen 2015-11-30 16:12:59 -08:00
nsHtml5AttributeName.h Bug 1187357 - Generated code for renaming referrer to referrerpolicy in html parser. r=hsivonen 2015-11-30 16:12:59 -08:00
nsHtml5ByteReadable.h
nsHtml5DependentUTF16Buffer.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsHtml5DependentUTF16Buffer.h
nsHtml5DocumentBuilder.cpp Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (4 of 5, fixes for parser/). r=hsivonen. 2017-01-24 17:11:43 +01:00
nsHtml5DocumentBuilder.h Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (4 of 5, fixes for parser/). r=hsivonen. 2017-01-24 17:11:43 +01:00
nsHtml5DocumentMode.h
nsHtml5ElementName.cpp Bug 1322938 - Make the HTML tree builder aware of <dialog>. r=wchen 2016-12-22 11:30:41 +02:00
nsHtml5ElementName.h Bug 1322938 - Make the HTML tree builder aware of <dialog>. r=wchen 2016-12-22 11:30:41 +02:00
nsHtml5Highlighter.cpp Bug 1288084 - Expose a line number for each attribute, v2; r=wchen 2016-09-20 16:31:57 +02:00
nsHtml5Highlighter.h Bug 1229962 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in parser/html/; r=hsivonen 2015-11-19 20:19:57 -05:00
nsHtml5HtmlAttributes.cpp Bug 1288084 - Expose a line number for each attribute, v2; r=wchen 2016-09-20 16:31:57 +02:00
nsHtml5HtmlAttributes.h Bug 1288084 - Expose a line number for each attribute, v2; r=wchen 2016-09-20 16:31:57 +02:00
nsHtml5Macros.h
nsHtml5MetaScanner.cpp Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
nsHtml5MetaScanner.h Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
nsHtml5MetaScannerCppSupplement.h
nsHtml5MetaScannerHSupplement.h
nsHtml5Module.cpp Bug 1276669 - part 1 - make nsHtml5Atoms initialization explicit in nsLayoutStatics; r=hsivonen 2017-01-26 15:43:39 -05:00
nsHtml5Module.h
nsHtml5NamedCharacters.cpp Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger 2016-08-23 11:24:54 -04:00
nsHtml5NamedCharacters.h
nsHtml5NamedCharactersAccel.cpp
nsHtml5NamedCharactersAccel.h
nsHtml5NamedCharactersInclude.h
nsHtml5OplessBuilder.cpp
nsHtml5OplessBuilder.h Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (4 of 5, fixes for parser/). r=hsivonen. 2017-01-24 17:11:43 +01:00
nsHtml5OwningUTF16Buffer.cpp Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
nsHtml5OwningUTF16Buffer.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsHtml5Parser.cpp Bug 1333990: Part 2a - Allow multiple concurrent parser blockers. r=hsivonen 2017-03-15 17:31:00 -07:00
nsHtml5Parser.h Bug 1333990: Part 2a - Allow multiple concurrent parser blockers. r=hsivonen 2017-03-15 17:31:00 -07:00
nsHtml5PlainTextUtils.cpp Bug 1288084 - Expose a line number for each attribute, v2; r=wchen 2016-09-20 16:31:57 +02:00
nsHtml5PlainTextUtils.h
nsHtml5Portability.cpp Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
nsHtml5Portability.h Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
nsHtml5RefPtr.h Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
nsHtml5ReleasableAttributeName.cpp
nsHtml5ReleasableAttributeName.h
nsHtml5ReleasableElementName.cpp
nsHtml5ReleasableElementName.h
nsHtml5Speculation.cpp Bug 1185763 - Part 5: Remove now unnecessary nsTArray::AppendElements optimizations in parser/html/. r=froydnj 2015-08-11 08:29:46 -07:00
nsHtml5Speculation.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsHtml5SpeculativeLoad.cpp Bug 1293252 - Transfer document quirkiness via the speculative load queue. r=wchen 2016-08-25 12:20:58 +03:00
nsHtml5SpeculativeLoad.h Bug 1293252 - Transfer document quirkiness via the speculative load queue. r=wchen 2016-08-25 12:20:58 +03:00
nsHtml5StackNode.cpp
nsHtml5StackNode.h
nsHtml5StateSnapshot.cpp
nsHtml5StateSnapshot.h
nsHtml5StreamListener.cpp
nsHtml5StreamListener.h
nsHtml5StreamParser.cpp Bug 1121669 - Add a mutex around mFlushTimer to deal with write appearing to other threads in an inconsistent order. r=jseward. 2017-01-26 08:45:31 +02:00
nsHtml5StreamParser.h Bug 1121669 - Add a mutex around mFlushTimer to deal with write appearing to other threads in an inconsistent order. r=jseward. 2017-01-26 08:45:31 +02:00
nsHtml5StringParser.cpp Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
nsHtml5StringParser.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsHtml5SVGLoadDispatcher.cpp Bug 1331804 - Add more runnable names (r=ehsan) 2017-01-24 16:34:37 -08:00
nsHtml5SVGLoadDispatcher.h Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
nsHtml5Tokenizer.cpp Bug 1309195 - Mark strBuf as empty after the contents have been used or ignored. r=wchen. 2016-10-19 10:38:20 +03:00
nsHtml5Tokenizer.h Bug 1309195 - Mark strBuf as empty after the contents have been used or ignored. r=wchen. 2016-10-19 10:38:20 +03:00
nsHtml5TokenizerCppSupplement.h Bug 1309834. r=wchen. 2016-10-14 11:47:17 +03:00
nsHtml5TokenizerHSupplement.h Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen. 2015-08-25 18:05:45 +03:00
nsHtml5TokenizerLoopPolicies.h
nsHtml5TreeBuilder.cpp Bug 1322938 - Make the HTML tree builder aware of <dialog>. r=wchen 2016-12-22 11:30:41 +02:00
nsHtml5TreeBuilder.h Bug 1322938 - Make the HTML tree builder aware of <dialog>. r=wchen 2016-12-22 11:30:41 +02:00
nsHtml5TreeBuilderCppSupplement.h Bug 1309834. r=wchen. 2016-10-14 11:47:17 +03:00
nsHtml5TreeBuilderHSupplement.h Bug 1309834. r=wchen. 2016-10-14 11:47:17 +03:00
nsHtml5TreeOperation.cpp Bug 1333990: Part 2c - Interrupt the flush loop after inserting document element. r=hsivonen 2017-03-16 18:50:28 -07:00
nsHtml5TreeOperation.h Bug 1333990: Part 2c - Interrupt the flush loop after inserting document element. r=hsivonen 2017-03-16 18:50:28 -07:00
nsHtml5TreeOpExecutor.cpp Bug 1333990: Part 2c - Interrupt the flush loop after inserting document element. r=hsivonen 2017-03-16 18:50:28 -07:00
nsHtml5TreeOpExecutor.h Bug 1333990: Part 2c - Interrupt the flush loop after inserting document element. r=hsivonen 2017-03-16 18:50:28 -07:00
nsHtml5TreeOpStage.cpp Bug 1185763 - Part 5: Remove now unnecessary nsTArray::AppendElements optimizations in parser/html/. r=froydnj 2015-08-11 08:29:46 -07:00
nsHtml5TreeOpStage.h
nsHtml5UTF16Buffer.cpp Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen. 2015-08-25 18:05:45 +03:00
nsHtml5UTF16Buffer.h Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen. 2015-08-25 18:05:45 +03:00
nsHtml5UTF16BufferCppSupplement.h
nsHtml5UTF16BufferHSupplement.h
nsHtml5ViewSourceUtils.cpp Bug 1288084 - Expose a line number for each attribute, v2; r=wchen 2016-09-20 16:31:57 +02:00
nsHtml5ViewSourceUtils.h
nsIContentHandle.h
nsIParserUtils.idl
nsIScriptableUnescapeHTML.idl
nsParserUtils.cpp Bug 1313278 - Remove code of adding xml:base attribute in nsParserUtils::ParseFragment. r=hsivonen 2017-02-20 18:26:27 +11:00
nsParserUtils.h