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

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

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 | « no previous file | third_party/WebKit/Source/core/testing/WorkerInternals.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/testing/WorkerInternals.h
diff --git a/third_party/WebKit/Source/core/testing/WorkerInternals.h b/third_party/WebKit/Source/core/testing/WorkerInternals.h
index 185d4b8d639811fdf2cd4215d905df88e0d46e5e..aa69b70a397f48265a9f642b97147081518c1e9c 100644
--- a/third_party/WebKit/Source/core/testing/WorkerInternals.h
+++ b/third_party/WebKit/Source/core/testing/WorkerInternals.h
@@ -10,6 +10,7 @@
namespace blink {
+class ExceptionState;
class OriginTrialsTest;
class ScriptState;
@@ -22,8 +23,8 @@ class WorkerInternals final : public GarbageCollectedFinalized<WorkerInternals>,
virtual ~WorkerInternals();
OriginTrialsTest* originTrialsTest() const;
- void countFeature(ScriptState*, uint32_t feature);
- void countDeprecation(ScriptState*, uint32_t feature);
+ void countFeature(ScriptState*, uint32_t feature, ExceptionState&);
+ void countDeprecation(ScriptState*, uint32_t feature, ExceptionState&);
void collectGarbage(ScriptState*);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/testing/WorkerInternals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698