Index: third_party/WebKit/LayoutTests/external/wpt/workers/interfaces.idl |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/workers/interfaces.idl b/third_party/WebKit/LayoutTests/external/wpt/workers/interfaces.idl |
index 228efba289c3566996fd304693b9f59f056ae998..531a59cfbd2d938be2676a8d697a8b9d93000889 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/workers/interfaces.idl |
+++ b/third_party/WebKit/LayoutTests/external/wpt/workers/interfaces.idl |
@@ -27,10 +27,12 @@ typedef OnErrorEventHandlerNonNull? OnErrorEventHandler; |
interface WorkerGlobalScope : EventTarget { |
readonly attribute WorkerGlobalScope self; |
readonly attribute WorkerLocation location; |
+ readonly attribute WorkerNavigator navigator; |
+ |
+ void importScripts(DOMString... urls); |
- void close(); |
attribute OnErrorEventHandler onerror; |
- attribute EventHandler onlanguagechange; |
+ |
attribute EventHandler onoffline; |
attribute EventHandler ononline; |
}; |
@@ -38,14 +40,10 @@ interface WorkerGlobalScope : EventTarget { |
[Global=(Worker,DedicatedWorker),Exposed=DedicatedWorker] |
/*sealed*/ interface DedicatedWorkerGlobalScope : WorkerGlobalScope { |
void postMessage(any message, optional sequence<Transferable> transfer); |
+ void close(); |
attribute EventHandler onmessage; |
}; |
-//[Exposed=Worker] |
-partial interface WorkerGlobalScope { // not obsolete |
- void importScripts(DOMString... urls); |
- readonly attribute WorkerNavigator navigator; |
-}; |
WorkerGlobalScope implements WindowTimers; |
WorkerGlobalScope implements WindowBase64; |