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

Unified Diff: third_party/WebKit/Source/core/origin_trials/testing/WorkerGlobalScopeFrobulate.idl

Issue 1828063002: Add support for origin trials in workers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trial-token-in-header-blink-document
Patch Set: address comments Created 4 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
Index: third_party/WebKit/Source/core/origin_trials/testing/WorkerGlobalScopeFrobulate.idl
diff --git a/components/mus/public/interfaces/window_server_test.mojom b/third_party/WebKit/Source/core/origin_trials/testing/WorkerGlobalScopeFrobulate.idl
similarity index 56%
copy from components/mus/public/interfaces/window_server_test.mojom
copy to third_party/WebKit/Source/core/origin_trials/testing/WorkerGlobalScopeFrobulate.idl
index 6e03ab23780153e531b9e1dfe98cfa830d249854..e6cbce0cc3ad0946759d805b2b600454b2611ff2 100644
--- a/components/mus/public/interfaces/window_server_test.mojom
+++ b/third_party/WebKit/Source/core/origin_trials/testing/WorkerGlobalScopeFrobulate.idl
@@ -2,8 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module mus.mojom;
-
-interface WindowServerTest {
- EnsureClientHasDrawnWindow(string client_name) => (bool success);
+partial interface WorkerGlobalScope {
+ [OriginTrialEnabled=ExperimentalFrameworkSampleAPI] readonly attribute boolean frobulate;
};
+

Powered by Google App Engine
This is Rietveld 408576698