summaryrefslogtreecommitdiff
path: root/dom/html/nsGenericHTMLFrameElement.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-16 16:41:20 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-16 16:41:20 -0400
commit0d149a4c091f856869490b1567d541c91010bc5c (patch)
treeac12d132c5dce3db09eb6985247acf750ddd84cd /dom/html/nsGenericHTMLFrameElement.h
parent4375774c901bac4bd1ecaa35b40f55397044b7e9 (diff)
downloaduxp-0d149a4c091f856869490b1567d541c91010bc5c.tar.gz
Bug 1340333 - Eagerly compute whether a frame is really a browser.
Tag #1375
Diffstat (limited to 'dom/html/nsGenericHTMLFrameElement.h')
-rw-r--r--dom/html/nsGenericHTMLFrameElement.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/html/nsGenericHTMLFrameElement.h b/dom/html/nsGenericHTMLFrameElement.h
index d9c2df9d57..0367a7fe11 100644
--- a/dom/html/nsGenericHTMLFrameElement.h
+++ b/dom/html/nsGenericHTMLFrameElement.h
@@ -36,6 +36,7 @@ public:
, mIsPrerendered(false)
, mBrowserFrameListenersRegistered(false)
, mFrameLoaderCreationDisallowed(false)
+ , mReallyIsBrowser(false)
{
}
@@ -122,6 +123,7 @@ protected:
bool mIsPrerendered;
bool mBrowserFrameListenersRegistered;
bool mFrameLoaderCreationDisallowed;
+ bool mReallyIsBrowser;
// This flag is only used by <iframe>. See HTMLIFrameElement::
// FullscreenFlag() for details. It is placed here so that we