Global constructors exposed to service workers should go on ServiceWorkerGlobalScope...
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Oct 2017 21:37:33 +0000 (21:37 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Oct 2017 21:37:33 +0000 (21:37 +0000)
https://bugs.webkit.org/show_bug.cgi?id=178482

Reviewed by Sam Weinig.

Global constructors exposed to service workers should go on ServiceWorkerGlobalScope interface,
not the ServiceWorker interface.

* bindings/scripts/preprocess-idls.pl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223629 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/preprocess-idls.pl

index 71abad7..885393d 100644 (file)
@@ -1,3 +1,15 @@
+2017-10-18  Chris Dumez  <cdumez@apple.com>
+
+        Global constructors exposed to service workers should go on ServiceWorkerGlobalScope interface
+        https://bugs.webkit.org/show_bug.cgi?id=178482
+
+        Reviewed by Sam Weinig.
+
+        Global constructors exposed to service workers should go on ServiceWorkerGlobalScope interface,
+        not the ServiceWorker interface.
+
+        * bindings/scripts/preprocess-idls.pl:
+
 2017-10-17  Ryosuke Niwa  <rniwa@webkit.org>
 
         Add an argument indicating the type of insertion to Node::insertedInto
index 1bca5d2..d31f380 100644 (file)
@@ -155,7 +155,7 @@ foreach my $idlFile (sort keys %idlFileHash) {
 GeneratePartialInterface("DOMWindow", $windowConstructorsCode, $windowConstructorsFile);
 GeneratePartialInterface("WorkerGlobalScope", $workerGlobalScopeConstructorsCode, $workerGlobalScopeConstructorsFile);
 GeneratePartialInterface("DedicatedWorkerGlobalScope", $dedicatedWorkerGlobalScopeConstructorsCode, $dedicatedWorkerGlobalScopeConstructorsFile);
-GeneratePartialInterface("ServiceWorker", $serviceWorkerGlobalScopeConstructorsCode, $serviceWorkerGlobalScopeConstructorsFile);
+GeneratePartialInterface("ServiceWorkerGlobalScope", $serviceWorkerGlobalScopeConstructorsCode, $serviceWorkerGlobalScopeConstructorsFile);
 
 # Resolves partial interfaces and implements dependencies.
 foreach my $idlFile (sort keys %supplementalDependencies) {