Replace JSC-specific IDL extended attributes with generic (JSC+V8) ones, now that...
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Apr 2013 08:18:35 +0000 (08:18 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Apr 2013 08:18:35 +0000 (08:18 +0000)
https://bugs.webkit.org/show_bug.cgi?id=114712

Reviewed by Dan Bernstein.

No behavior change expected.

* bindings/scripts/IDLAttributes.txt: Remove the JSFoo attributes
that have bare Foo equivalents.
* bindings/scripts/CodeGeneratorJS.pm: Remove support for JSFoo
aliases.
(GetGenerateIsReachable):
(GetCustomIsReachable):
(ShouldGenerateToJSDeclaration):
(ShouldGenerateToJSImplementation):
(HasCustomConstructor):
(HasCustomGetter):
(HasCustomSetter):
(HasCustomMethod):

Replace JSFoo attributes with equivalen Foo attributs in all files
below:

* Modules/geolocation/Geolocation.idl:
* Modules/indexeddb/IDBDatabase.idl:
* Modules/indexeddb/IDBObjectStore.idl:
* Modules/webaudio/DOMWindowWebAudio.idl:
* Modules/websockets/DOMWindowWebSocket.idl:
* Modules/websockets/WorkerContextWebSocket.idl:
* css/CSSRule.idl:
* css/CSSRuleList.idl:
* css/CSSStyleDeclaration.idl:
* css/CSSValue.idl:
* css/MediaList.idl:
* css/StyleMedia.idl:
* css/StyleSheet.idl:
* dom/MessagePort.idl:
* dom/MutationObserver.idl:
* dom/Node.idl:
* fileapi/Blob.idl:
* html/HTMLDocument.idl:
* html/HTMLTemplateElement.idl:
* html/canvas/ArrayBuffer.idl:
* html/canvas/CanvasRenderingContext.idl:
* html/canvas/DataView.idl:
* html/canvas/EXTDrawBuffers.idl:
* html/canvas/EXTTextureFilterAnisotropic.idl:
* html/canvas/OESElementIndexUint.idl:
* html/canvas/OESStandardDerivatives.idl:
* html/canvas/OESTextureFloat.idl:
* html/canvas/OESTextureHalfFloat.idl:
* html/canvas/OESVertexArrayObject.idl:
* html/canvas/WebGLCompressedTextureATC.idl:
* html/canvas/WebGLCompressedTexturePVRTC.idl:
* html/canvas/WebGLCompressedTextureS3TC.idl:
* html/canvas/WebGLDebugRendererInfo.idl:
* html/canvas/WebGLDebugShaders.idl:
* html/canvas/WebGLDepthTexture.idl:
* html/canvas/WebGLLoseContext.idl:
* html/track/TextTrack.idl:
* html/track/TextTrackCue.idl:
* html/track/TextTrackList.idl:
* loader/appcache/DOMApplicationCache.idl:
* page/BarInfo.idl:
* page/Console.idl:
* page/DOMSelection.idl:
* page/DOMWindow.idl:
* page/History.idl:
* page/Location.idl:
* page/MemoryInfo.idl:
* page/Navigator.idl:
* page/Screen.idl:
* page/WorkerNavigator.idl:
* plugins/DOMMimeTypeArray.idl:
* plugins/DOMPluginArray.idl:
* storage/Storage.idl:
* workers/AbstractWorker.idl:
* workers/SharedWorker.idl:
* workers/Worker.idl:
* workers/WorkerContext.idl:
* workers/WorkerLocation.idl:
* xml/XMLHttpRequestUpload.idl:

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

62 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Modules/geolocation/Geolocation.idl
Source/WebCore/Modules/indexeddb/IDBDatabase.idl
Source/WebCore/Modules/indexeddb/IDBObjectStore.idl
Source/WebCore/Modules/webaudio/DOMWindowWebAudio.idl
Source/WebCore/Modules/websockets/DOMWindowWebSocket.idl
Source/WebCore/Modules/websockets/WorkerContextWebSocket.idl
Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
Source/WebCore/bindings/scripts/IDLAttributes.txt
Source/WebCore/css/CSSRule.idl
Source/WebCore/css/CSSRuleList.idl
Source/WebCore/css/CSSStyleDeclaration.idl
Source/WebCore/css/CSSValue.idl
Source/WebCore/css/MediaList.idl
Source/WebCore/css/StyleMedia.idl
Source/WebCore/css/StyleSheet.idl
Source/WebCore/dom/MessagePort.idl
Source/WebCore/dom/MutationObserver.idl
Source/WebCore/dom/Node.idl
Source/WebCore/fileapi/Blob.idl
Source/WebCore/html/HTMLDocument.idl
Source/WebCore/html/HTMLTemplateElement.idl
Source/WebCore/html/canvas/ArrayBuffer.idl
Source/WebCore/html/canvas/CanvasRenderingContext.idl
Source/WebCore/html/canvas/DataView.idl
Source/WebCore/html/canvas/EXTDrawBuffers.idl
Source/WebCore/html/canvas/EXTTextureFilterAnisotropic.idl
Source/WebCore/html/canvas/OESElementIndexUint.idl
Source/WebCore/html/canvas/OESStandardDerivatives.idl
Source/WebCore/html/canvas/OESTextureFloat.idl
Source/WebCore/html/canvas/OESTextureHalfFloat.idl
Source/WebCore/html/canvas/OESVertexArrayObject.idl
Source/WebCore/html/canvas/WebGLCompressedTextureATC.idl
Source/WebCore/html/canvas/WebGLCompressedTexturePVRTC.idl
Source/WebCore/html/canvas/WebGLCompressedTextureS3TC.idl
Source/WebCore/html/canvas/WebGLDebugRendererInfo.idl
Source/WebCore/html/canvas/WebGLDebugShaders.idl
Source/WebCore/html/canvas/WebGLDepthTexture.idl
Source/WebCore/html/canvas/WebGLLoseContext.idl
Source/WebCore/html/track/TextTrack.idl
Source/WebCore/html/track/TextTrackCue.idl
Source/WebCore/html/track/TextTrackList.idl
Source/WebCore/loader/appcache/DOMApplicationCache.idl
Source/WebCore/page/BarInfo.idl
Source/WebCore/page/Console.idl
Source/WebCore/page/DOMSelection.idl
Source/WebCore/page/DOMWindow.idl
Source/WebCore/page/History.idl
Source/WebCore/page/Location.idl
Source/WebCore/page/MemoryInfo.idl
Source/WebCore/page/Navigator.idl
Source/WebCore/page/Screen.idl
Source/WebCore/page/WorkerNavigator.idl
Source/WebCore/plugins/DOMMimeTypeArray.idl
Source/WebCore/plugins/DOMPluginArray.idl
Source/WebCore/storage/Storage.idl
Source/WebCore/workers/AbstractWorker.idl
Source/WebCore/workers/SharedWorker.idl
Source/WebCore/workers/Worker.idl
Source/WebCore/workers/WorkerContext.idl
Source/WebCore/workers/WorkerLocation.idl
Source/WebCore/xml/XMLHttpRequestUpload.idl

index 6758511..ab2f9c5 100644 (file)
@@ -1,3 +1,88 @@
+2013-04-16  Maciej Stachowiak  <mjs@apple.com>
+
+        Replace JSC-specific IDL extended attributes with generic (JSC+V8) ones, now that the distinction no longer matters
+        https://bugs.webkit.org/show_bug.cgi?id=114712
+
+        Reviewed by Dan Bernstein.
+
+        No behavior change expected.
+
+        * bindings/scripts/IDLAttributes.txt: Remove the JSFoo attributes
+        that have bare Foo equivalents.
+        * bindings/scripts/CodeGeneratorJS.pm: Remove support for JSFoo
+        aliases.
+        (GetGenerateIsReachable):
+        (GetCustomIsReachable):
+        (ShouldGenerateToJSDeclaration):
+        (ShouldGenerateToJSImplementation):
+        (HasCustomConstructor):
+        (HasCustomGetter):
+        (HasCustomSetter):
+        (HasCustomMethod):
+
+        Replace JSFoo attributes with equivalen Foo attributs in all files
+        below:
+        
+        * Modules/geolocation/Geolocation.idl:
+        * Modules/indexeddb/IDBDatabase.idl:
+        * Modules/indexeddb/IDBObjectStore.idl:
+        * Modules/webaudio/DOMWindowWebAudio.idl:
+        * Modules/websockets/DOMWindowWebSocket.idl:
+        * Modules/websockets/WorkerContextWebSocket.idl:
+        * css/CSSRule.idl:
+        * css/CSSRuleList.idl:
+        * css/CSSStyleDeclaration.idl:
+        * css/CSSValue.idl:
+        * css/MediaList.idl:
+        * css/StyleMedia.idl:
+        * css/StyleSheet.idl:
+        * dom/MessagePort.idl:
+        * dom/MutationObserver.idl:
+        * dom/Node.idl:
+        * fileapi/Blob.idl:
+        * html/HTMLDocument.idl:
+        * html/HTMLTemplateElement.idl:
+        * html/canvas/ArrayBuffer.idl:
+        * html/canvas/CanvasRenderingContext.idl:
+        * html/canvas/DataView.idl:
+        * html/canvas/EXTDrawBuffers.idl:
+        * html/canvas/EXTTextureFilterAnisotropic.idl:
+        * html/canvas/OESElementIndexUint.idl:
+        * html/canvas/OESStandardDerivatives.idl:
+        * html/canvas/OESTextureFloat.idl:
+        * html/canvas/OESTextureHalfFloat.idl:
+        * html/canvas/OESVertexArrayObject.idl:
+        * html/canvas/WebGLCompressedTextureATC.idl:
+        * html/canvas/WebGLCompressedTexturePVRTC.idl:
+        * html/canvas/WebGLCompressedTextureS3TC.idl:
+        * html/canvas/WebGLDebugRendererInfo.idl:
+        * html/canvas/WebGLDebugShaders.idl:
+        * html/canvas/WebGLDepthTexture.idl:
+        * html/canvas/WebGLLoseContext.idl:
+        * html/track/TextTrack.idl:
+        * html/track/TextTrackCue.idl:
+        * html/track/TextTrackList.idl:
+        * loader/appcache/DOMApplicationCache.idl:
+        * page/BarInfo.idl:
+        * page/Console.idl:
+        * page/DOMSelection.idl:
+        * page/DOMWindow.idl:
+        * page/History.idl:
+        * page/Location.idl:
+        * page/MemoryInfo.idl:
+        * page/Navigator.idl:
+        * page/Screen.idl:
+        * page/WorkerNavigator.idl:
+        * plugins/DOMMimeTypeArray.idl:
+        * plugins/DOMPluginArray.idl:
+        * storage/Storage.idl:
+        * workers/AbstractWorker.idl:
+        * workers/SharedWorker.idl:
+        * workers/Worker.idl:
+        * workers/WorkerContext.idl:
+        * workers/WorkerLocation.idl:
+        * xml/XMLHttpRequestUpload.idl:
+
 2013-04-16  Beth Dakin  <bdakin@apple.com>
 
         Re-name Page::layoutMilestones() to Page::requestedLayoutMilestones()
index f430c8d..3f0ecab 100644 (file)
@@ -26,7 +26,7 @@
 // http://www.w3.org/TR/geolocation-API/#geolocation_interface
 [
     Conditional=GEOLOCATION, 
-    JSGenerateIsReachable=ImplFrame,
+    GenerateIsReachable=ImplFrame,
     OmitConstructor
 ] interface Geolocation {
     [Custom] void getCurrentPosition(in PositionCallback successCallback,
index 1348548..11d0385 100644 (file)
@@ -38,7 +38,7 @@
     attribute EventListener onerror;
     attribute EventListener onversionchange;
 
-    [JSCustom] IDBObjectStore createObjectStore(in DOMString name, in [Optional] Dictionary options)
+    [Custom] IDBObjectStore createObjectStore(in DOMString name, in [Optional] Dictionary options)
         raises (DOMException);
     void deleteObjectStore(in DOMString name)
         raises (DOMException);
index 4660322..48c0fa1 100644 (file)
@@ -53,9 +53,9 @@
     [CallWith=ScriptExecutionContext] IDBRequest openCursor(in any key, in [Optional] DOMString direction)
         raises (DOMException);
 
-    [CallWith=ScriptExecutionContext, JSCustom] IDBIndex createIndex(in DOMString name, in sequence<DOMString> keyPath, in [Optional] Dictionary options)
+    [CallWith=ScriptExecutionContext, Custom] IDBIndex createIndex(in DOMString name, in sequence<DOMString> keyPath, in [Optional] Dictionary options)
         raises (DOMException);
-    [CallWith=ScriptExecutionContext, JSCustom] IDBIndex createIndex(in DOMString name, in DOMString keyPath, in [Optional] Dictionary options)
+    [CallWith=ScriptExecutionContext, Custom] IDBIndex createIndex(in DOMString name, in DOMString keyPath, in [Optional] Dictionary options)
         raises (DOMException);
     IDBIndex index(in DOMString name)
         raises (DOMException);
index c5553a2..a8a5474 100644 (file)
@@ -29,7 +29,7 @@
     Supplemental=DOMWindow
 ] interface DOMWindowWebAudio {
 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
-    [JSCustomGetter] attribute AudioContextConstructor webkitAudioContext;
+    [CustomGetter] attribute AudioContextConstructor webkitAudioContext;
     attribute OfflineAudioContextConstructor webkitOfflineAudioContext;
     attribute PannerNodeConstructor webkitAudioPannerNode;
     attribute AudioProcessingEventConstructor AudioProcessingEvent;
index c23bc4d..e283115 100644 (file)
@@ -30,7 +30,7 @@
 ] interface DOMWindowWebSocket {
 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
     attribute CloseEventConstructor CloseEvent;
-    [JSCustomGetter] attribute WebSocketConstructor WebSocket; // Usable with the new operator
+    [CustomGetter] attribute WebSocketConstructor WebSocket; // Usable with the new operator
 #endif
 };
 
index 5ee3b65..c659ef3 100644 (file)
@@ -28,6 +28,6 @@
     Conditional=WEB_SOCKETS,
     Supplemental=WorkerContext
 ] interface WorkerContextWebSocket {
-    [JSCustomGetter] attribute WebSocketConstructor WebSocket; // Usable with the new operator
+    [CustomGetter] attribute WebSocketConstructor WebSocket; // Usable with the new operator
 };
 
index 23b7df6..60508b0 100644 (file)
@@ -370,13 +370,13 @@ sub constructorHashTableAccessor
 sub GetGenerateIsReachable
 {
     my $interface = shift;
-    return $interface->extendedAttributes->{"GenerateIsReachable"} || $interface->extendedAttributes->{"JSGenerateIsReachable"};
+    return $interface->extendedAttributes->{"GenerateIsReachable"};
 }
 
 sub GetCustomIsReachable
 {
     my $interface = shift;
-    return $interface->extendedAttributes->{"CustomIsReachable"} || $interface->extendedAttributes->{"JSCustomIsReachable"};
+    return $interface->extendedAttributes->{"CustomIsReachable"};
 }
 
 sub GenerateGetOwnPropertySlotBody
@@ -606,7 +606,7 @@ sub ShouldGenerateToJSDeclaration
 {
     my ($hasParent, $interface) = @_;
     return 0 if ($interface->extendedAttributes->{"SuppressToJSObject"});
-    return 1 if (!$hasParent or $interface->extendedAttributes->{"JSGenerateToJSObject"} or ($interface->extendedAttributes->{"CustomToJSObject"} or $interface->extendedAttributes->{"JSCustomToJSObject"}));
+    return 1 if (!$hasParent or $interface->extendedAttributes->{"JSGenerateToJSObject"} or $interface->extendedAttributes->{"CustomToJSObject"});
     return 0;
 }
 
@@ -614,7 +614,7 @@ sub ShouldGenerateToJSImplementation
 {
     my ($hasParent, $interface) = @_;
     return 0 if ($interface->extendedAttributes->{"SuppressToJSObject"});
-    return 1 if ((!$hasParent or $interface->extendedAttributes->{"JSGenerateToJSObject"}) and !($interface->extendedAttributes->{"CustomToJSObject"} or $interface->extendedAttributes->{"JSCustomToJSObject"}));
+    return 1 if ((!$hasParent or $interface->extendedAttributes->{"JSGenerateToJSObject"}) and !$interface->extendedAttributes->{"CustomToJSObject"});
     return 0;
 }
 
@@ -4247,25 +4247,25 @@ sub HasCustomConstructor
 {
     my $interface = shift;
 
-    return $interface->extendedAttributes->{"CustomConstructor"} || $interface->extendedAttributes->{"JSCustomConstructor"};
+    return $interface->extendedAttributes->{"CustomConstructor"};
 }
 
 sub HasCustomGetter
 {
     my $attrExt = shift;
-    return $attrExt->{"Custom"} || $attrExt->{"JSCustom"} || $attrExt->{"CustomGetter"} || $attrExt->{"JSCustomGetter"};
+    return $attrExt->{"Custom"} || $attrExt->{"CustomGetter"} ;
 }
 
 sub HasCustomSetter
 {
     my $attrExt = shift;
-    return $attrExt->{"Custom"} || $attrExt->{"JSCustom"} || $attrExt->{"CustomSetter"} || $attrExt->{"JSCustomSetter"};
+    return $attrExt->{"Custom"} || $attrExt->{"CustomSetter"};
 }
 
 sub HasCustomMethod
 {
     my $attrExt = shift;
-    return $attrExt->{"Custom"} || $attrExt->{"JSCustom"};
+    return $attrExt->{"Custom"};
 }
 
 sub IsConstructable
index 270a53c..1d736d4 100644 (file)
@@ -55,7 +55,7 @@ DoNotCheckSecurityOnSetter
 EnforceRange
 EventTarget
 ExtendsDOMGlobalObject
-GenerateIsReachable=ImplDocument|ImplElementRoot|ImplOwnerNodeRoot
+GenerateIsReachable=|Impl|ImplContext|ImplDocument|ImplElementRoot|ImplFrame|ImplOwnerNodeRoot
 Immutable
 ImplementationLacksVTable
 ImplementationNamespace=*
@@ -65,22 +65,15 @@ InitializedByEventConstructor
 InterfaceName=*
 IsIndex
 IsWorkerContext
-JSCustom
-JSCustomConstructor
 JSCustomDefineOwnProperty
 JSCustomDefineOwnPropertyOnPrototype
 JSCustomFinalize
 JSCustomGetOwnPropertySlotAndDescriptor
-JSCustomGetter
 JSCustomHeader
-JSCustomIsReachable
 JSCustomMarkFunction
 JSCustomNamedGetterOnPrototype
 JSCustomPushEventHandlerScope
-JSCustomSetter
-JSCustomToJSObject
 JSCustomToNativeObject
-JSGenerateIsReachable=|Impl|ImplContext|ImplDocument|ImplElementRoot|ImplFrame|ImplOwnerNodeRoot
 JSGenerateToJSObject
 JSGenerateToNativeObject
 JSInlineGetOwnPropertySlot
index d42d484..9c12723 100644 (file)
@@ -22,7 +22,7 @@
 [
     JSCustomHeader,
     JSCustomMarkFunction,
-    JSGenerateIsReachable,
+    GenerateIsReachable,
     CustomToJSObject,
     ObjCPolymorphic,
 ] interface CSSRule {
index 4eaa831..072b760 100644 (file)
@@ -25,7 +25,7 @@
 
 // Introduced in DOM Level 2:
 [
-    JSCustomIsReachable,
+    CustomIsReachable,
     IndexedGetter,
     SkipVTableValidation
 ] interface CSSRuleList {
index de9921c..ab2308d 100644 (file)
@@ -22,7 +22,7 @@
 [
     JSCustomHeader,
     JSCustomMarkFunction,
-    JSGenerateIsReachable,
+    GenerateIsReachable,
     JSCustomGetOwnPropertySlotAndDescriptor,
     CustomNamedSetter,
     IndexedGetter,
@@ -33,7 +33,7 @@
                  setter raises(DOMException);
 
     [TreatReturnedNullStringAs=Null] DOMString          getPropertyValue(in [Optional=DefaultIsUndefined] DOMString propertyName);
-    [JSCustom] CSSValue           getPropertyCSSValue(in [Optional=DefaultIsUndefined] DOMString propertyName);
+    [Custom] CSSValue           getPropertyCSSValue(in [Optional=DefaultIsUndefined] DOMString propertyName);
     [TreatReturnedNullStringAs=Null] DOMString          removeProperty(in [Optional=DefaultIsUndefined] DOMString propertyName)
         raises(DOMException);
     [TreatReturnedNullStringAs=Null] DOMString          getPropertyPriority(in [Optional=DefaultIsUndefined] DOMString propertyName);
index 1ddaf99..36f7830 100644 (file)
@@ -20,7 +20,7 @@
 
 [
     CustomToJSObject,
-    JSCustomIsReachable,
+    CustomIsReachable,
     JSCustomFinalize,
     ObjCPolymorphic,
     ImplementationLacksVTable
index 5c8ea3c..49bc75d 100644 (file)
@@ -26,7 +26,7 @@
 // Introduced in DOM Level 2:
 [
     JSCustomHeader,
-    JSGenerateIsReachable,
+    GenerateIsReachable,
     IndexedGetter,
     ImplementationLacksVTable
 ] interface MediaList {
index 6568a2e..e145f55 100644 (file)
@@ -25,7 +25,7 @@
  */
 
 [
-    JSGenerateIsReachable=ImplFrame
+    GenerateIsReachable=ImplFrame
 ] interface StyleMedia {
     readonly attribute DOMString type;
     boolean matchMedium(in [Optional=DefaultIsUndefined] DOMString mediaquery);
index 4901c41..e275710 100644 (file)
@@ -22,7 +22,7 @@
 [
     JSCustomHeader,
     JSCustomMarkFunction,
-    JSGenerateIsReachable,
+    GenerateIsReachable,
     CustomToJSObject,
     ObjCPolymorphic,
 ] interface StyleSheet {
index bbd48c0..6cdc130 100644 (file)
@@ -27,7 +27,7 @@
 
 [
     JSCustomMarkFunction,
-    JSGenerateIsReachable=Impl,
+    GenerateIsReachable=Impl,
     ActiveDOMObject,
     EventTarget,
     JSNoStaticTables
index d420bbb..7527396 100644 (file)
@@ -31,7 +31,7 @@
 [
     CustomConstructor,
     ConstructorParameters=1,
-    JSCustomIsReachable,
+    CustomIsReachable,
     ImplementationLacksVTable
 ] interface MutationObserver {
     void observe(in Node target, in Dictionary options)
index 61f75df..6c2d5a9 100644 (file)
@@ -22,7 +22,7 @@
     JSCustomHeader,
     JSCustomMarkFunction,
     JSCustomPushEventHandlerScope,
-    JSCustomIsReachable,
+    CustomIsReachable,
     JSCustomFinalize,
     CustomToJSObject,
     EventTarget,
index 15babb7..f02eff1 100644 (file)
@@ -29,7 +29,7 @@
  */
 
 [
-    JSGenerateIsReachable=Impl,
+    GenerateIsReachable=Impl,
     CustomToJSObject,
     JSNoStaticTables,
     CustomConstructor,
index 2e8d1ef..b705e9b 100644 (file)
@@ -21,7 +21,7 @@
 [
     CustomNamedGetter,
 ] interface HTMLDocument : Document {
-    [JSCustom] void open();
+    [Custom] void open();
     void close();
     [Custom] void write(in [Optional=DefaultIsUndefined] DOMString text);
     [Custom] void writeln(in [Optional=DefaultIsUndefined] DOMString text);
@@ -34,7 +34,7 @@
 
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
     // FIXME: This should eventually be available (if they are wanted) for all languages.
-    [JSCustom, Replaceable, Deletable] attribute HTMLAllCollection all;
+    [Custom, Replaceable, Deletable] attribute HTMLAllCollection all;
 #endif
 
     void clear();
index 36d635d..b8bd2a2 100644 (file)
@@ -31,6 +31,6 @@
 [
     Conditional=TEMPLATE_ELEMENT
 ] interface HTMLTemplateElement : HTMLElement {
-    [JSCustom] readonly attribute DocumentFragment content;
+    [Custom] readonly attribute DocumentFragment content;
 };
 
index 8a13001..5fc8477 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 [
-    JSGenerateIsReachable=Impl,
+    GenerateIsReachable=Impl,
     CustomConstructor,
     ConstructorParameters=1,
     JSNoStaticTables,
index c48e681..00ff3e5 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     JSCustomMarkFunction,
-    JSGenerateIsReachable,
+    GenerateIsReachable,
     CustomToJSObject
 ] interface CanvasRenderingContext {
     readonly attribute HTMLCanvasElement canvas;
index 60f8fa7..1b3301c 100644 (file)
     [StrictTypeChecking] unsigned long getUint32(in unsigned long byteOffset, in [Optional] boolean littleEndian)
         raises (DOMException);
 
-    // Use custom code to handle NaN case for JSC.
-    [JSCustom, StrictTypeChecking] float getFloat32(in unsigned long byteOffset, in [Optional] boolean littleEndian)
+    // Use custom code to handle NaN case.
+    [Custom, StrictTypeChecking] float getFloat32(in unsigned long byteOffset, in [Optional] boolean littleEndian)
         raises (DOMException);
-    [JSCustom, StrictTypeChecking] double getFloat64(in unsigned long byteOffset, in [Optional] boolean littleEndian)
+    [Custom, StrictTypeChecking] double getFloat64(in unsigned long byteOffset, in [Optional] boolean littleEndian)
         raises (DOMException);
 
     // We have to use custom code because our code generator does not support uint8_t type.
index a164c88..ec03634 100644 (file)
@@ -27,7 +27,7 @@ typedef unsigned long GLenum;
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor,
     DoNotCheckConstants
 ] interface EXTDrawBuffers {
index 07668e7..dd5dc93 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor,
     DoNotCheckConstants
 ] interface EXTTextureFilterAnisotropic {
index 41b4baa..a3f2db4 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor
 ] interface OESElementIndexUint {
 };
index c4eb48d..db2a6a9 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor,
     DoNotCheckConstants
 ] interface OESStandardDerivatives {
index 2d1b3c5..233b1d6 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor
 ] interface OESTextureFloat {
 };
index 03a6723..267ad39 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor
 ] interface OESTextureHalfFloat {
 };
\ No newline at end of file
index f233906..adf3702 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL, 
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor, 
     DoNotCheckConstants
 ] interface OESVertexArrayObject {
index a11b32b..659c23d 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor,
     DoNotCheckConstants
 ] interface WebGLCompressedTextureATC {
index 7494877..b027c4c 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor,
     DoNotCheckConstants
 ] interface WebGLCompressedTexturePVRTC {
index 6642d28..390fc63 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor,
     DoNotCheckConstants
 ] interface WebGLCompressedTextureS3TC {
index c7ae7f8..900351d 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor,
     DoNotCheckConstants
 ] interface WebGLDebugRendererInfo {
index ed52d4d..e9cbb92 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor
 ] interface WebGLDebugShaders {
     [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getTranslatedShaderSource(in WebGLShader shader) raises(DOMException);
index 45069ac..680ac00 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor,
     DoNotCheckConstants
 ] interface WebGLDepthTexture {
index fcdd907..e16fbe7 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     Conditional=WEBGL,
-    JSGenerateIsReachable=ImplContext,
+    GenerateIsReachable=ImplContext,
     OmitConstructor
 ] interface WebGLLoseContext {
     [StrictTypeChecking] void loseContext();
index 366def1..6717fe6 100644 (file)
@@ -27,7 +27,7 @@
     Conditional=VIDEO_TRACK,
     EventTarget,
     JSCustomMarkFunction,
-    JSCustomIsReachable,
+    CustomIsReachable,
     SkipVTableValidation
 ] interface TextTrack {
     readonly attribute DOMString kind;
index e061e63..1f868f7 100644 (file)
@@ -30,7 +30,7 @@
     CallWith=ScriptExecutionContext,
     EventTarget,
     JSCustomMarkFunction,
-    JSCustomIsReachable,
+    CustomIsReachable,
     SkipVTableValidation
 ] interface TextTrackCue {
     readonly attribute TextTrack track;
index 5e7b264..d74d949 100644 (file)
@@ -28,7 +28,7 @@
     IndexedGetter,
     EventTarget,
     JSCustomMarkFunction,
-    JSCustomIsReachable
+    CustomIsReachable
 ] interface TextTrackList {
     readonly attribute unsigned long length;
     TextTrack item(in unsigned long index);
index a848654..733075f 100644 (file)
@@ -27,7 +27,7 @@
     EventTarget,
     OmitConstructor,
     DoNotCheckConstants,
-    JSGenerateIsReachable=ImplFrame
+    GenerateIsReachable=ImplFrame
 ] interface DOMApplicationCache {
     // update status
     const unsigned short UNCACHED = 0;
index a7dc091..4a983e3 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 [
-    JSGenerateIsReachable=ImplFrame,
+    GenerateIsReachable=ImplFrame,
     OmitConstructor
 ] interface BarInfo {
     readonly attribute boolean visible;
index f3844e5..47e142f 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 [
-    JSGenerateIsReachable=ImplFrame,
+    GenerateIsReachable=ImplFrame,
     OmitConstructor
 ] interface Console {
 
index ee6979a..5a7e9ef 100644 (file)
@@ -30,7 +30,7 @@
 // This is based off of Mozilla's Selection interface
 // https://developer.mozilla.org/En/DOM/Selection
 [
-    JSGenerateIsReachable=ImplFrame,
+    GenerateIsReachable=ImplFrame,
     InterfaceName=Selection
 ] interface DOMSelection {
     readonly attribute Node anchorNode;
index cdc256c..a87cf69 100644 (file)
     [Conditional=MICRODATA] attribute HTMLPropertiesCollectionConstructor HTMLPropertiesCollection;
     attribute HTMLUnknownElementConstructor HTMLUnknownElement;
 
-    [JSCustomGetter, CustomConstructor] attribute HTMLImageElementConstructorConstructor Image; // Usable with new operator
-    [JSCustomGetter] attribute HTMLOptionElementConstructorConstructor Option; // Usable with new operator
+    [CustomGetter, CustomConstructor] attribute HTMLImageElementConstructorConstructor Image; // Usable with new operator
+    [CustomGetter] attribute HTMLOptionElementConstructorConstructor Option; // Usable with new operator
 
     [Conditional=ENCRYPTED_MEDIA] attribute MediaKeyEventConstructor MediaKeyEvent;
     attribute [Conditional=ENCRYPTED_MEDIA_V2] MediaKeysConstructor MediaKeys;
     [Conditional=VIDEO_TRACK & WEBVTT_REGIONS] attribute TextTrackRegionConstructor TextTrackRegion; // Usable with the new operator
     [Conditional=VIDEO_TRACK] attribute TrackEventConstructor TrackEvent;
 
-    [JSCustomGetter, Conditional=VIDEO] attribute HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator
+    [CustomGetter, Conditional=VIDEO] attribute HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator
     [Conditional=VIDEO] attribute HTMLAudioElementConstructor HTMLAudioElement;
     [Conditional=VIDEO] attribute HTMLMediaElementConstructor HTMLMediaElement;
     [Conditional=VIDEO] attribute HTMLVideoElementConstructor HTMLVideoElement;
     attribute ClipboardConstructor Clipboard;
 
     [Conditional=WORKERS] attribute WorkerConstructor Worker; // Usable with the new operator
-    [Conditional=SHARED_WORKERS, JSCustomGetter] attribute SharedWorkerConstructor SharedWorker; // Usable with the new operator
+    [Conditional=SHARED_WORKERS, CustomGetter] attribute SharedWorkerConstructor SharedWorker; // Usable with the new operator
 
     attribute FileConstructor File;
     attribute FileListConstructor FileList;
index 83e88bc..b7c8e8a 100644 (file)
@@ -26,7 +26,7 @@
 [
     JSCustomGetOwnPropertySlotAndDescriptor,
     CustomNamedSetter,
-    JSGenerateIsReachable=ImplFrame,
+    GenerateIsReachable=ImplFrame,
     CustomDeleteProperty,
     CustomEnumerateProperty,
     OmitConstructor
index 9777703..3f9c2e8 100644 (file)
@@ -29,7 +29,7 @@
 [
     JSCustomGetOwnPropertySlotAndDescriptor,
     CustomNamedSetter,
-    JSGenerateIsReachable=ImplFrame,
+    GenerateIsReachable=ImplFrame,
     CustomDeleteProperty,
     CustomEnumerateProperty,
     JSCustomDefineOwnProperty,
index 4e31749..fa01374 100644 (file)
@@ -35,7 +35,7 @@
 
     readonly attribute unsigned long totalJSHeapSize;
     readonly attribute unsigned long usedJSHeapSize;
-    [JSCustomGetter] readonly attribute unsigned long jsHeapSizeLimit;
+    [CustomGetter] readonly attribute unsigned long jsHeapSizeLimit;
 
 };
 
index 0c676eb..0e6d39c 100644 (file)
@@ -18,7 +18,7 @@
 */
 
 [
-    JSGenerateIsReachable=ImplFrame,
+    GenerateIsReachable=ImplFrame,
     OmitConstructor
 ] interface Navigator {
     readonly attribute DOMString appCodeName;
index ee3cc30..221c077 100644 (file)
@@ -28,7 +28,7 @@
 
 
 [
-    JSGenerateIsReachable=ImplFrame,
+    GenerateIsReachable=ImplFrame,
     OmitConstructor
 ] interface Screen {
     readonly attribute unsigned long height;
index c37e200..abc0a35 100644 (file)
@@ -28,7 +28,7 @@
 
 [
     Conditional=WORKERS,
-    JSGenerateIsReachable=Impl,
+    GenerateIsReachable=Impl,
     JSNoStaticTables,
     OmitConstructor
 ] interface WorkerNavigator {
index 0c24c5b..2addf8b 100644 (file)
@@ -19,7 +19,7 @@
 */
 
 [
-    JSGenerateIsReachable=ImplFrame,
+    GenerateIsReachable=ImplFrame,
     NamedGetter,
     IndexedGetter,
     InterfaceName=MimeTypeArray
index ef4708b..480ddcf 100644 (file)
@@ -19,7 +19,7 @@
 */
 
 [
-    JSGenerateIsReachable=ImplFrame,
+    GenerateIsReachable=ImplFrame,
     NamedGetter,
     IndexedGetter,
     InterfaceName=PluginArray
index f4ada08..d578050 100644 (file)
@@ -25,7 +25,7 @@
 
 [
     NamedGetter,
-    JSGenerateIsReachable=ImplFrame,
+    GenerateIsReachable=ImplFrame,
     CustomDeleteProperty,
     CustomEnumerateProperty,
     CustomNamedSetter,
index 643fa95..67d5a77 100644 (file)
@@ -32,7 +32,7 @@
 [
     Conditional=WORKERS,
     ActiveDOMObject,
-    JSCustomToJSObject,
+    CustomToJSObject,
     EventTarget
 ] interface AbstractWorker {
 
index 3680ec1..c4a8c4f 100644 (file)
@@ -31,7 +31,7 @@
 
 [
     Conditional=SHARED_WORKERS,
-    JSCustomConstructor,
+    CustomConstructor,
     Constructor(in DOMString scriptURL, in [Optional=DefaultIsNullString] DOMString name),
     CallWith=ScriptExecutionContext,
     ConstructorRaisesException,
index 09ba5c0..5335ffd 100644 (file)
@@ -27,7 +27,7 @@
 
 [
     Conditional=WORKERS,
-    JSCustomConstructor,
+    CustomConstructor,
     Constructor(in DOMString scriptUrl),
     CallWith=ScriptExecutionContext,
     ConstructorRaisesException,
index ac3a992..8969d7c 100644 (file)
@@ -70,9 +70,9 @@
     attribute MessageEventConstructor MessageEvent;
     attribute WorkerLocationConstructor WorkerLocation;
 
-    [Conditional=CHANNEL_MESSAGING, JSCustomGetter] attribute MessageChannelConstructor MessageChannel;
-    [JSCustomGetter] attribute EventSourceConstructor EventSource;
-    [JSCustomGetter] attribute XMLHttpRequestConstructor XMLHttpRequest;
+    [Conditional=CHANNEL_MESSAGING, CustomGetter] attribute MessageChannelConstructor MessageChannel;
+    [CustomGetter] attribute EventSourceConstructor EventSource;
+    [CustomGetter] attribute XMLHttpRequestConstructor XMLHttpRequest;
 #endif
 
 #if defined(ENABLE_BLOB) && ENABLE_BLOB
index 5c9ddfa..9f032fb 100644 (file)
@@ -28,7 +28,7 @@
 
 [
     Conditional=WORKERS,
-    JSGenerateIsReachable=Impl,
+    GenerateIsReachable=Impl,
     JSNoStaticTables,
     ImplementationLacksVTable
 ] interface WorkerLocation {
index 61031df..34be899 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 [
-    JSGenerateIsReachable=Impl,
+    GenerateIsReachable=Impl,
     EventTarget,
     JSNoStaticTables
 ] interface XMLHttpRequestUpload {