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

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

Issue 1209493002: Service Worker: Surface Client.id attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update JS expression for truthiness. Created 5 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: Source/modules/serviceworkers/Client.idl
diff --git a/Source/modules/serviceworkers/Client.idl b/Source/modules/serviceworkers/Client.idl
index 7e1b5477cbd872d8acd133711f6291da621ae43b..27f4828d3222d1e2d75ca0903427b9b86e75b3d0 100644
--- a/Source/modules/serviceworkers/Client.idl
+++ b/Source/modules/serviceworkers/Client.idl
@@ -12,6 +12,7 @@
] interface Client {
[RuntimeEnabled=ServiceWorkerClientAttributes] readonly attribute USVString url;
[RuntimeEnabled=ServiceWorkerClientAttributes] readonly attribute ContextFrameType frameType;
+ [RuntimeEnabled=ServiceWorkerClientAttributes] readonly attribute DOMString id;
// FIXME: Un-deprecate when the discussion on https://github.com/slightlyoff/ServiceWorker/issues/609 settles.
[PostMessage, RaisesException, DeprecateAs=ServiceWorkerClientPostMessage, CallWith=ExecutionContext] void postMessage(SerializedScriptValue message, optional sequence<Transferable> transfer);
};

Powered by Google App Engine
This is Rietveld 408576698