gecko-dev/parser/html
Brendan Dahl 5915a3e4bf Bug 1575620 - Fix refreshing session restore when using prototype cache. r=smaug
The session restore page keeps its restore list within a text input field
so that the values are persisted even if the page is refreshed. When form
elements were loaded with the prototype cache we didn't call
DoneCreatingElement after creating the element, which means the form values
weren't restored.

The list of elements that require DoneCreatingElement and DoneAddingChildren
to be called was in three (now four) different places, so I moved them to
a central spot in nsIContent to share in all locations. This also highlighted
that the check for <output> nodes is missing from the XML content sink.

Differential Revision: https://phabricator.services.mozilla.com/D44866

--HG--
extra : moz-landing-system : lando
2019-09-06 20:27:09 +00:00
..
java Bug 1483458 - Change HTML parser to look at .py Atom files. r=hsivonen,heycam 2018-10-17 20:40:37 +01:00
javasrc Bug 1562033. r=alchen 2019-07-08 07:33:59 +00:00
jArray.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
moz.build Bug 1543077 part 2 - Use mozilla::JapaneseDetector in the HTML parser. r=emk. 2019-06-03 15:30:41 +03:00
nsAHtml5TreeBuilderState.h Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug. 2019-01-11 09:44:09 +02:00
nsAHtml5TreeOpSink.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5ArrayCopy.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5AtomTable.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5AtomTable.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5AttributeEntry.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5AttributeName.cpp Bug 903372 - Remove xml:base from parser. r=hsivonen 2018-12-13 15:47:01 +00:00
nsHtml5AttributeName.h Bug 903372 - Remove xml:base from parser. r=hsivonen 2018-12-13 15:47:01 +00:00
nsHtml5AutoPauseUpdate.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5ByteReadable.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5ContentCreatorFunction.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5DependentUTF16Buffer.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5DependentUTF16Buffer.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5DocumentBuilder.cpp Bug 836176 - Part 3: Remove nsIHTMLDocument; r=farre 2019-06-04 17:27:43 +00:00
nsHtml5DocumentBuilder.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsHtml5DocumentMode.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5ElementName.cpp Bug 1315460 - Removal of keygen element r=keeler,baku,jld,hsivonen 2019-06-13 08:58:07 +00:00
nsHtml5ElementName.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5Highlighter.cpp Bug 1482885 - Refactor nsHtml5TreeOperation's enum plus fields into mozilla::Variant r=hsivonen 2019-08-27 09:39:41 +00:00
nsHtml5Highlighter.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5HtmlAttributes.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5HtmlAttributes.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5Macros.h
nsHtml5MetaScanner.cpp Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan 2019-04-05 21:41:42 +00:00
nsHtml5MetaScanner.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5MetaScannerCppSupplement.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5MetaScannerHSupplement.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5Module.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
nsHtml5Module.h Bug 1550524 part 1. Make NewHtml5Parser() return an nsHtml5Parser. r=hsivonen 2019-05-14 19:46:25 +00:00
nsHtml5NamedCharacters.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsHtml5NamedCharacters.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5NamedCharactersAccel.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5NamedCharactersAccel.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5NamedCharactersInclude.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5OplessBuilder.cpp Bug 836176 - Part 3: Remove nsIHTMLDocument; r=farre 2019-06-04 17:27:43 +00:00
nsHtml5OplessBuilder.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5OwningUTF16Buffer.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5OwningUTF16Buffer.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5Parser.cpp Bug 1550524 part 3. Remove the now-unused aContentType argument to nsHtml5Parser::Parse. r=hsivonen 2019-05-14 19:46:26 +00:00
nsHtml5Parser.h Bug 1550524 part 3. Remove the now-unused aContentType argument to nsHtml5Parser::Parse. r=hsivonen 2019-05-14 19:46:26 +00:00
nsHtml5PlainTextUtils.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
nsHtml5PlainTextUtils.h Bug 1565129 - Re-introduce plain_text.wrap_long_lines. r=bzbarsky 2019-07-11 18:49:50 +00:00
nsHtml5Portability.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5Portability.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5Speculation.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5Speculation.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5SpeculativeLoad.cpp Bug 1534681 Use ReferrerInfo class in document r=ckerschb,baku,Gijs 2019-06-06 07:23:37 +00:00
nsHtml5SpeculativeLoad.h Bug 1528697 - Expose ReferrerPolicy.webidl and use referrerpolicy enum r=smaug 2019-08-21 13:24:45 +00:00
nsHtml5StackNode.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5StackNode.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5StateSnapshot.cpp Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug. 2019-01-11 09:44:09 +02:00
nsHtml5StateSnapshot.h Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug. 2019-01-11 09:44:09 +02:00
nsHtml5StreamListener.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
nsHtml5StreamListener.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5StreamParser.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-08-13 07:15:25 +00:00
nsHtml5StreamParser.h Bug 1538056 Part 1 - Notify devtools about HTML file contents, r=hsivonen. 2019-08-04 21:33:07 +00:00
nsHtml5StreamParserPtr.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5String.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5String.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5StringParser.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsHtml5StringParser.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsHtml5SVGLoadDispatcher.cpp Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio 2019-04-04 00:19:48 +00:00
nsHtml5SVGLoadDispatcher.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsHtml5Tokenizer.cpp Bug 1562033. r=alchen 2019-07-08 07:33:59 +00:00
nsHtml5Tokenizer.h Bug 1562033. r=alchen 2019-07-08 07:33:59 +00:00
nsHtml5TokenizerCppSupplement.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5TokenizerHSupplement.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5TokenizerLoopPolicies.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5TreeBuilder.cpp Bug 1562033. r=alchen 2019-07-08 07:33:59 +00:00
nsHtml5TreeBuilder.h Bug 1534346 - Mark malformed SVG scripts as malformed for real. r=alchen 2019-03-21 20:39:22 +00:00
nsHtml5TreeBuilderCppSupplement.h Bug 1575620 - Fix refreshing session restore when using prototype cache. r=smaug 2019-09-06 20:27:09 +00:00
nsHtml5TreeBuilderHSupplement.h Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug. 2019-01-11 09:44:09 +02:00
nsHtml5TreeOperation.cpp Bug 1482885 - Refactor nsHtml5TreeOperation's enum plus fields into mozilla::Variant r=hsivonen 2019-08-27 09:39:41 +00:00
nsHtml5TreeOperation.h Bug 1482885 - Refactor nsHtml5TreeOperation's enum plus fields into mozilla::Variant r=hsivonen 2019-08-27 09:39:41 +00:00
nsHtml5TreeOpExecutor.cpp Bug 1528697 - Expose ReferrerPolicy.webidl and use referrerpolicy enum r=smaug 2019-08-21 13:24:45 +00:00
nsHtml5TreeOpExecutor.h Bug 1528697 - Expose ReferrerPolicy.webidl and use referrerpolicy enum r=smaug 2019-08-21 13:24:45 +00:00
nsHtml5TreeOpStage.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5TreeOpStage.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5UTF16Buffer.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5UTF16Buffer.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5UTF16BufferCppSupplement.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5UTF16BufferHSupplement.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5ViewSourceUtils.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsHtml5ViewSourceUtils.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsIContentHandle.h
nsIParserUtils.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsParserUtils.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsParserUtils.h Bug 1503674 - Remove now unused nsIScriptableUnescapeHTML.idl. r=hsivonen 2018-12-17 09:33:28 +00:00