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.
This commit is contained in:
wolfbeast 2019-12-23 00:02:26 +01:00 committed by Roy Tam
commit f255a1e606
3 changed files with 0 additions and 40 deletions

View file

@ -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);