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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/disabled-worker.js

Issue 2057273002: [OriginTrials] Support OriginTrialEnabled IDL attribute on constants (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments from PS#2 Created 4 years, 6 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/LayoutTests/http/tests/origin_trials/resources/disabled-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/disabled-worker.js b/third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/disabled-worker.js
index 3599e2a27b19eb8877f0fc31d9432b6581d29bf9..57619855df62677cd5a023f5d60cc0175026494c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/disabled-worker.js
+++ b/third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/disabled-worker.js
@@ -5,4 +5,8 @@ test(() => {
assert_not_exists(self.internals, 'frobulate');
assert_equals(self.internals.frobulate, undefined);
}, 'Attribute should not exist in worker');
+test(() => {
+ assert_not_exists(self.internals, 'FROBULATE_CONST');
+ assert_equals(self.internals.FROBULATE_CONST, undefined);
+ }, 'Constant should not exist in worker');
done();

Powered by Google App Engine
This is Rietveld 408576698