From e0f0b34926b75c842a3228ea8d42b5bc44cacd9b Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 23 Dec 2019 00:02:26 +0100 Subject: 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. --- dom/html/nsHTMLDocument.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'dom/html') diff --git a/dom/html/nsHTMLDocument.cpp b/dom/html/nsHTMLDocument.cpp index 112e957cb..0f2d90673 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); -- cgit v1.2.3