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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/Client.idl

Issue 2845963002: [ServiceWorker] Add type attribute into Client object (Closed)
Patch Set: Address comments from foolip@ 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
Index: third_party/WebKit/Source/modules/serviceworkers/Client.idl
diff --git a/third_party/WebKit/Source/modules/serviceworkers/Client.idl b/third_party/WebKit/Source/modules/serviceworkers/Client.idl
index 6d0d4390c1c2268b66e33b898877952cd6378378..f180aa2ea918c0f4c1d6b2c35b318d866715defd 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/Client.idl
+++ b/third_party/WebKit/Source/modules/serviceworkers/Client.idl
@@ -2,13 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// https://w3c.github.io/ServiceWorker/#service-worker-client-interface
+// https://w3c.github.io/ServiceWorker/#client-interface
[
Exposed=ServiceWorker,
ImplementedAs=ServiceWorkerClient,
] interface Client {
readonly attribute USVString url;
- readonly attribute ContextFrameType frameType;
readonly attribute DOMString id;
+ readonly attribute ClientType type;
[PostMessage, RaisesException, CallWith=ScriptState] void postMessage(SerializedScriptValue message, optional sequence<Transferable> transfer);
+
+ // FIXME: frameType is non-standard, see https://crbug.com/697110
+ readonly attribute ContextFrameType frameType;
};

Powered by Google App Engine
This is Rietveld 408576698