[WebIDL] Annotate IDL interfaces under Source/WebCore/workers/ with the OperationsNot...
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Oct 2013 11:41:00 +0000 (11:41 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Oct 2013 11:41:00 +0000 (11:41 +0000)
https://bugs.webkit.org/show_bug.cgi?id=122270

Reviewed by Darin Adler.

Before changing the JSC bindings generator to enforce WebIDL operations to be configurable, all the
interfaces are being annotated with the OperationsNotDeletable attribute. The attribute currently
doesn't have any effect, but will keep the operations not configurable after the generator is modified
to preserve the original behavior. The attribute will be removed from each interface after checking
conformity with other browsers (in terms of configurability of operations of that interface) and the
WebKit's existing test suites.

This patch covers IDL interfaces under Source/WebCore/workers/.

* workers/DedicatedWorkerGlobalScope.idl:
* workers/Worker.idl:
* workers/WorkerGlobalScope.idl:
* workers/WorkerLocation.idl:

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

Source/WebCore/ChangeLog
Source/WebCore/workers/DedicatedWorkerGlobalScope.idl
Source/WebCore/workers/Worker.idl
Source/WebCore/workers/WorkerGlobalScope.idl
Source/WebCore/workers/WorkerLocation.idl

index ff01e0b..587eaa8 100644 (file)
@@ -1,3 +1,24 @@
+2013-10-04  Zan Dobersek  <zdobersek@igalia.com>
+
+        [WebIDL] Annotate IDL interfaces under Source/WebCore/workers/ with the OperationsNotDeletable attribute
+        https://bugs.webkit.org/show_bug.cgi?id=122270
+
+        Reviewed by Darin Adler.
+
+        Before changing the JSC bindings generator to enforce WebIDL operations to be configurable, all the
+        interfaces are being annotated with the OperationsNotDeletable attribute. The attribute currently
+        doesn't have any effect, but will keep the operations not configurable after the generator is modified
+        to preserve the original behavior. The attribute will be removed from each interface after checking
+        conformity with other browsers (in terms of configurability of operations of that interface) and the
+        WebKit's existing test suites.
+
+        This patch covers IDL interfaces under Source/WebCore/workers/.
+
+        * workers/DedicatedWorkerGlobalScope.idl:
+        * workers/Worker.idl:
+        * workers/WorkerGlobalScope.idl:
+        * workers/WorkerLocation.idl:
+
 2013-10-04  Andrei Bucur  <abucur@adobe.com>
 
         [CSS Regions] Infinite loop when computing widows
index 4b9c6ae..69bee22 100644 (file)
@@ -33,6 +33,7 @@
     Conditional=WORKERS,
     JSGenerateToNativeObject,
     JSNoStaticTables,
+    OperationsNotDeletable
 ] interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
 
 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
index 11a0de8..d5d7810 100644 (file)
@@ -30,7 +30,8 @@
     CustomConstructor(DOMString scriptUrl),
     JSGenerateToNativeObject,
     JSGenerateToJSObject,
-    ActiveDOMObject
+    ActiveDOMObject,
+    OperationsNotDeletable
 ] interface Worker : EventTarget {
 
     attribute EventListener onmessage;
index 5aa362f..b4c75fd 100644 (file)
@@ -32,6 +32,7 @@
     EventTarget,
     JSLegacyParent=JSWorkerGlobalScopeBase,
     JSNoStaticTables,
+    OperationsNotDeletable
 ] interface WorkerGlobalScope {
 
     // WorkerGlobalScope
index 156470a..0dec726 100644 (file)
@@ -31,7 +31,8 @@
     Conditional=WORKERS,
     GenerateIsReachable=Impl,
     JSNoStaticTables,
-    ImplementationLacksVTable
+    ImplementationLacksVTable,
+    OperationsNotDeletable
 ] interface WorkerLocation {
     readonly attribute DOMString href;
     readonly attribute DOMString protocol;