Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Unified Diff: third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h

Issue 1918373002: Metrics for document.write script blocking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bryan's comment: Returning disallowFetch from shouldDisallowFetchForMainFrameScript Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
diff --git a/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h b/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
index be051af21fbc8232b81849372ecca32f638c278b..8d60d563f7308ff84ddfa18af0240389737c12d8 100644
--- a/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
+++ b/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
@@ -18,6 +18,12 @@ enum WebLoadingBehaviorFlag {
WebLoadingBehaviorDocumentWriteEvaluator = 1 << 0,
// Indicates that the page is controlled by a Service Worker.
WebLoadingBehaviorServiceWorkerControlled = 1 << 1,
+ // Indicates that the page has a synchronous, cross-origin document.written
+ // script.
+ WebLoadingBehaviorDocumentWriteBlock = 1 << 2,
+ // Indicates that the page is a reload and has a synchronous, cross-origin document.written
+ // script.
+ WebLoadingBehaviorDocumentWriteBlockReload = 1 << 3,
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameFetchContext.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698