summaryrefslogtreecommitdiff
path: root/dom/base/nsIDocument.h
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/base/nsIDocument.h
parentb1c7cc07c093c795cbc01c8eb43b355ea81435e4 (diff)
downloaduxp-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/base/nsIDocument.h')
-rw-r--r--dom/base/nsIDocument.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/dom/base/nsIDocument.h b/dom/base/nsIDocument.h
index e2b34f7e38..fdaee39ca3 100644
--- a/dom/base/nsIDocument.h
+++ b/dom/base/nsIDocument.h
@@ -909,10 +909,6 @@ public:
*/
nsresult GetSrcdocData(nsAString& aSrcdocData);
- bool DidDocumentOpen() {
- return mDidDocumentOpen;
- }
-
already_AddRefed<mozilla::dom::AnonymousContent>
InsertAnonymousContent(mozilla::dom::Element& aElement,
mozilla::ErrorResult& aError);
@@ -3159,11 +3155,6 @@ protected:
// Whether the document was created by a srcdoc iframe.
bool mIsSrcdocDocument : 1;
- // Records whether we've done a document.open. If this is true, it's possible
- // for nodes from this document to have outdated wrappers in their wrapper
- // caches.
- bool mDidDocumentOpen : 1;
-
// Whether this document has a display document and thus is considered to
// be a resource document. Normally this is the same as !!mDisplayDocument,
// but mDisplayDocument is cleared during Unlink. mHasDisplayDocument is