Do not report resource-timing subdocument loads triggered by that subdocument.

This commit is contained in:
wolfbeast 2018-12-14 12:50:01 +01:00 committed by Roy Tam
commit 27d88fc505
13 changed files with 108 additions and 12 deletions

View file

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