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

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: Line length and comment feedback incorporated. Created 4 years, 8 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..9b4c2e5b3c07255a52f6e322aaf54d1823709844 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 << 1,
Charlie Harrison 2016/04/29 13:37:53 Looks like you are clobbering WebLoadingBehaviorSe
shivanisha 2016/04/29 15:42:36 My bad. Thanks for catching this. I have added a
+ // Indicates that the page is a reload and has a synchronous, cross-origin document.written
+ // script.
+ WebLoadingBehaviorDocumentWriteBlockReload = 1 << 2,
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698