diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-12-23 00:02:26 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-12-23 00:04:31 +0100 |
commit | e0f0b34926b75c842a3228ea8d42b5bc44cacd9b (patch) | |
tree | bd1eec4b4eb56f5578b09d1fa39969220688c607 /dom/html/nsHTMLDocument.cpp | |
parent | b1c7cc07c093c795cbc01c8eb43b355ea81435e4 (diff) | |
download | uxp-e0f0b34926b75c842a3228ea8d42b5bc44cacd9b.tar.gz |
Issue #1118 - Part 8: Remove no-longer-used mDidDocumentOpen and
CheckForOutdatedParent()
This was only used to check for cases when document.open() changed the
global, and elements being inserted into the document needing a new
reflector as a result.
Since document.open() no longer changes the global, this code is no
longer needed.
Diffstat (limited to 'dom/html/nsHTMLDocument.cpp')
-rw-r--r-- | dom/html/nsHTMLDocument.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dom/html/nsHTMLDocument.cpp b/dom/html/nsHTMLDocument.cpp index 112e957cb7..0f2d906734 100644 --- a/dom/html/nsHTMLDocument.cpp +++ b/dom/html/nsHTMLDocument.cpp @@ -1586,8 +1586,6 @@ nsHTMLDocument::Open(JSContext* cx, SetReadyStateInternal(READYSTATE_UNINITIALIZED, /* updateTimingInformation = */ false); - mDidDocumentOpen = true; - // Step 13 - Set our compatibility mode to standards. SetCompatibilityMode(eCompatibility_FullStandards); |