Index: modules/navigatorconnect/ServiceWorkerGlobalScopeNavigatorConnect.idl |
diff --git a/modules/navigatorconnect/ServiceWorkerGlobalScopeNavigatorConnect.idl b/modules/navigatorconnect/ServiceWorkerGlobalScopeNavigatorConnect.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c9dc1639a84baec4bb292c7376dab7624caf0314 |
--- /dev/null |
+++ b/modules/navigatorconnect/ServiceWorkerGlobalScopeNavigatorConnect.idl |
@@ -0,0 +1,12 @@ |
+// Copyright 2014 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. |
+ |
+// http://mkruisselbrink.github.io/navigator-connect/#idl-def-ServiceWorkerGlobalScope |
+ |
+[ |
+ RuntimeEnabled=NavigatorConnect, |
+] partial interface ServiceWorkerGlobalScope { |
+ attribute EventHandler oncrossoriginconnect; |
+ attribute EventHandler oncrossoriginmessage; |
+}; |