mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
5915a3e4bf
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 |
||
---|---|---|
.. | ||
tests/chrome | ||
moz.build | ||
PrototypeDocumentContentSink.cpp | ||
PrototypeDocumentContentSink.h |