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

Unified Diff: third_party/WebKit/Source/core/testing/WorkerInternals.idl

Issue 2820193003: Worker: Raise an exception when an invalid feature number is passed to WorkerInternals::CountFeature (Closed)
Patch Set: Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/testing/WorkerInternals.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/testing/WorkerInternals.idl
diff --git a/third_party/WebKit/Source/core/testing/WorkerInternals.idl b/third_party/WebKit/Source/core/testing/WorkerInternals.idl
index a49c02ef3cd1ba5c68a30c39be2800f6de62cf95..4f372e977aca4bf9b34520153db03e59998069fc 100644
--- a/third_party/WebKit/Source/core/testing/WorkerInternals.idl
+++ b/third_party/WebKit/Source/core/testing/WorkerInternals.idl
@@ -7,8 +7,8 @@ interface WorkerInternals {
// Records |feature| in worker's use counter. |feature| must be one of the
// values from the UseCounter::Feature enum.
- [CallWith=ScriptState] void countFeature(unsigned long feature);
- [CallWith=ScriptState] void countDeprecation(unsigned long feature);
+ [CallWith=ScriptState, RaisesException] void countFeature(unsigned long feature);
+ [CallWith=ScriptState, RaisesException] void countDeprecation(unsigned long feature);
[CallWith=ScriptState] void collectGarbage();
};
« no previous file with comments | « third_party/WebKit/Source/core/testing/WorkerInternals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698