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

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

Issue 2116533003: [Origin Trials] Allow static attributes to be defined on origin trials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix it harder Created 4 years, 5 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/bindings/scripts/v8_attributes.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origin_trials.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origin_trials.js b/third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origin_trials.js
index a8c49f2b4eaf6c20fe3c0daa33d6213f7f076452..623d5cc16e8e9c12b12d1076cba8229f0ef5cf3c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origin_trials.js
+++ b/third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origin_trials.js
@@ -101,5 +101,11 @@ test(() => {
assert_true(window.internals.frobulateMethodPartial(), 'Method should return boolean value');
}, 'Method should exist on partial interface and return value');
+test(() => {
+ var internalsInterface = window.internals.constructor;
+ assert_exists(internalsInterface, 'frobulateStatic');
+ assert_true(internalsInterface.frobulateStatic, 'Static attribute should return boolean value');
+ }, 'Static attribute should exist on partial interface and return value');
+
fetch_tests_from_worker(new Worker('resources/enabled-worker.js'));
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/scripts/v8_attributes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698