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

@ -588,6 +588,9 @@ nsFrameLoader::ReallyStartLoadingInternal()
flags = nsIWebNavigation::LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP |
nsIWebNavigation::LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL;
}
// Notify that this load resulted from attribute changes.
loadInfo->SetIsFromProcessingFrameAttributes(true);
// Kick off the load...
bool tmpState = mNeedsAsyncDestroy;