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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 1413193010: Add counters for various ways of loading scripts with bad mimetypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests which do work Created 5 years, 1 month 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/Source/core/frame/UseCounter.h
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.h b/third_party/WebKit/Source/core/frame/UseCounter.h
index 97395901e3f0033d708a910d0c4cb2a9e7240ad4..2e465778f2d823b09eb04e43b5e8fe9adf6ef692 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.h
+++ b/third_party/WebKit/Source/core/frame/UseCounter.h
@@ -862,6 +862,10 @@ public:
DeviceOrientationAbsoluteSecureOrigin = 988,
FontFaceConstructor = 989,
ServiceWorkerControlledPage = 990,
+ SameOriginTextScript = 991,
+ SameOriginOtherScript = 992,
+ CrossOriginTextScript = 993,
+ CrossOriginOtherScript = 994,
// Add new features immediately above this line. Don't change assigned
// numbers of any item, and don't reuse removed slots.

Powered by Google App Engine
This is Rietveld 408576698