summaryrefslogtreecommitdiffstats
path: root/dom/html
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-12-23 00:02:26 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-12-23 00:04:31 +0100
commite0f0b34926b75c842a3228ea8d42b5bc44cacd9b (patch)
treebd1eec4b4eb56f5578b09d1fa39969220688c607 /dom/html
parentb1c7cc07c093c795cbc01c8eb43b355ea81435e4 (diff)
downloadUXP-e0f0b34926b75c842a3228ea8d42b5bc44cacd9b.tar
UXP-e0f0b34926b75c842a3228ea8d42b5bc44cacd9b.tar.gz
UXP-e0f0b34926b75c842a3228ea8d42b5bc44cacd9b.tar.lz
UXP-e0f0b34926b75c842a3228ea8d42b5bc44cacd9b.tar.xz
UXP-e0f0b34926b75c842a3228ea8d42b5bc44cacd9b.zip
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')
-rw-r--r--dom/html/nsHTMLDocument.cpp2
1 files changed, 0 insertions, 2 deletions
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);