| 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..c6e828810c55bbcd59bddd3a97ec33cdef68c570 100644
|
| --- a/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
|
| +++ b/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
|
| @@ -18,6 +18,14 @@ 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,
|
| + // Note: When adding a new value, also add the value to the test: DocumentWritePageLoadMetricsObserverTest.ValidFeatureFlags
|
| + // to check its validity.
|
| };
|
|
|
| } // namespace blink
|
|
|