summaryrefslogtreecommitdiffstats
path: root/netwerk/base/LoadInfo.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-12-14 12:50:01 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-12-14 12:50:01 +0100
commitfea96b4527a2db6cd97c9053d647478b347d3853 (patch)
treeeeb73acd7f8295dbab17ec993392bce3161be9db /netwerk/base/LoadInfo.h
parent2e69b03ddd11de777e6d52a995ff0d1675eb58d2 (diff)
downloadUXP-fea96b4527a2db6cd97c9053d647478b347d3853.tar
UXP-fea96b4527a2db6cd97c9053d647478b347d3853.tar.gz
UXP-fea96b4527a2db6cd97c9053d647478b347d3853.tar.lz
UXP-fea96b4527a2db6cd97c9053d647478b347d3853.tar.xz
UXP-fea96b4527a2db6cd97c9053d647478b347d3853.zip
Do not report resource-timing subdocument loads triggered by that subdocument.
Diffstat (limited to 'netwerk/base/LoadInfo.h')
-rw-r--r--netwerk/base/LoadInfo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/netwerk/base/LoadInfo.h b/netwerk/base/LoadInfo.h
index 2b1e8c9e8..a4ec25a9d 100644
--- a/netwerk/base/LoadInfo.h
+++ b/netwerk/base/LoadInfo.h
@@ -81,6 +81,7 @@ public:
void SetIsPreflight();
void SetUpgradeInsecureRequests();
+ void SetIsFromProcessingFrameAttributes();
private:
// private constructor that is only allowed to be called from within
@@ -157,6 +158,11 @@ private:
bool mForcePreflight;
bool mIsPreflight;
bool mLoadTriggeredFromExternal;
+
+ // Is true if this load was triggered by processing the attributes of the
+ // browsing context container.
+ // See nsILoadInfo.isFromProcessingFrameAttributes
+ bool mIsFromProcessingFrameAttributes;
};
} // namespace net