Index: Source/modules/serviceworkers/StashedMessagePort.idl |
diff --git a/Source/modules/serviceworkers/StashedMessagePort.idl b/Source/modules/serviceworkers/StashedMessagePort.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9ad7261a445c91cd04e1504370af4338886f3c9a |
--- /dev/null |
+++ b/Source/modules/serviceworkers/StashedMessagePort.idl |
@@ -0,0 +1,12 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://github.com/mkruisselbrink/navigator-connect/blob/gh-pages/docs/api-idea.md#persisted-messageports |
+// TODO(mek): Link to actual spec when this is added there. |
+[ |
+ Exposed=ServiceWorker, |
+ RuntimeEnabled=NavigatorConnect, |
+] interface StashedMessagePort : MessagePort { |
+ readonly attribute USVString name; |
scheib
2015/05/06 21:44:31
The spec should explain why USVString vs String is
Marijn Kruisselbrink
2015/05/12 06:56:41
Hmm, from the comments on https://github.com/sligh
|
+}; |