Changeset 99732 in webkit
- Timestamp:
- Nov 9, 2011 10:07:12 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 42 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r99731 r99732 1 2011-11-09 Kentaro Hara <haraken@chromium.org> 2 3 Remove redundant [CanBeConstructed] IDLs 4 https://bugs.webkit.org/show_bug.cgi?id=71868 5 6 Reviewed by Adam Barth. 7 8 If a class has [Constructor] or [CustomConstructor], 9 then [CanBeConstructed] is not necessary. 10 This patch just removes [CanBeConstructed] from all the classes 11 that already have [Constructor] or [CustomConstructor]. 12 13 No tests. No change in behavior. 14 15 * bindings/scripts/CodeGeneratorV8.pm: Corrected typo. This correction is required for this patch. 16 * bindings/scripts/test/V8/V8TestObj.cpp: Updated a run-bindings-tests result. 17 (WebCore::ConfigureV8TestObjTemplate): 18 * css/WebKitCSSMatrix.idl: 19 * dom/BeforeLoadEvent.idl: 20 * dom/CustomEvent.idl: 21 * dom/ErrorEvent.idl: 22 * dom/Event.idl: 23 * dom/HashChangeEvent.idl: 24 * dom/MessageChannel.idl: 25 * dom/MessageEvent.idl: 26 * dom/OverflowEvent.idl: 27 * dom/PageTransitionEvent.idl: 28 * dom/PopStateEvent.idl: 29 * dom/ProgressEvent.idl: 30 * dom/WebKitAnimationEvent.idl: 31 * dom/WebKitMutationObserver.idl: 32 * dom/WebKitTransitionEvent.idl: 33 * fileapi/FileReader.idl: 34 * html/DOMFormData.idl: 35 * html/TextTrackCue.idl: 36 * html/canvas/ArrayBuffer.idl: 37 * html/canvas/DataView.idl: 38 * html/canvas/Float32Array.idl: 39 * html/canvas/Float64Array.idl: 40 * html/canvas/Int16Array.idl: 41 * html/canvas/Int32Array.idl: 42 * html/canvas/Int8Array.idl: 43 * html/canvas/Uint16Array.idl: 44 * html/canvas/Uint32Array.idl: 45 * html/canvas/Uint8Array.idl: 46 * html/track/TrackEvent.idl: 47 * mediastream/PeerConnection.idl: 48 * page/EventSource.idl: 49 * page/WebKitPoint.idl: 50 * webaudio/AudioContext.idl: 51 * websockets/CloseEvent.idl: 52 * websockets/WebSocket.idl: 53 * workers/SharedWorker.idl: 54 * workers/Worker.idl: 55 * xml/XMLHttpRequest.idl: 56 * xml/XSLTProcessor.idl: 57 1 58 2011-11-09 Ken Buchanan <kenrb@chromium.org> 2 59 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
r99673 r99732 2380 2380 END 2381 2381 2382 if ($dataNode->extendedAttributes->{"CanBeConstructed"} || $dataNode->extendedAttributes->{"CustomConstructor"} || $dataNode->extendedAttributes->{"V8CustomConstructor"} || $dataNode->extendedAttributes->{"Construct er"}) {2382 if ($dataNode->extendedAttributes->{"CanBeConstructed"} || $dataNode->extendedAttributes->{"CustomConstructor"} || $dataNode->extendedAttributes->{"V8CustomConstructor"} || $dataNode->extendedAttributes->{"Constructor"}) { 2383 2383 push(@implContent, <<END); 2384 2384 desc->SetCallHandler(V8${interfaceName}::constructorCallback); -
trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.cpp
r99673 r99732 1517 1517 TestObjCallbacks, WTF_ARRAY_LENGTH(TestObjCallbacks)); 1518 1518 UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. 1519 desc->SetCallHandler(V8TestObj::constructorCallback); 1519 1520 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); 1520 1521 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); -
trunk/Source/WebCore/css/WebKitCSSMatrix.idl
r98679 r99732 28 28 // Introduced in DOM Level ?: 29 29 interface [ 30 CanBeConstructed,31 30 ConstructorParameters=1, 32 31 Constructor(in [Optional=CallWithNullValue] DOMString cssValue), -
trunk/Source/WebCore/dom/BeforeLoadEvent.idl
r99389 r99732 28 28 29 29 interface [ 30 CanBeConstructed,31 30 CustomConstructor 32 31 ] BeforeLoadEvent : Event { -
trunk/Source/WebCore/dom/CustomEvent.idl
r96788 r99732 29 29 // Introduced in DOM Level 3: 30 30 interface [ 31 CanBeConstructed,32 31 CustomConstructor 33 32 ] CustomEvent : Event { -
trunk/Source/WebCore/dom/ErrorEvent.idl
r99021 r99732 33 33 interface [ 34 34 NoStaticTables, 35 CanBeConstructed,36 35 CustomConstructor 37 36 ] ErrorEvent : Event { -
trunk/Source/WebCore/dom/Event.idl
r98146 r99732 24 24 interface [ 25 25 CustomToJS, 26 CanBeConstructed,27 26 CustomConstructor, 28 27 NoStaticTables, -
trunk/Source/WebCore/dom/HashChangeEvent.idl
r96788 r99732 22 22 // Introduced in http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-hashchange 23 23 interface [ 24 CanBeConstructed,25 24 CustomConstructor 26 25 ] HashChangeEvent : Event { -
trunk/Source/WebCore/dom/MessageChannel.idl
r97586 r99732 28 28 29 29 interface [ 30 CanBeConstructed,31 30 Constructor, 32 31 CallWith=ScriptExecutionContext, -
trunk/Source/WebCore/dom/MessageEvent.idl
r97955 r99732 30 30 interface [ 31 31 NoStaticTables, 32 CanBeConstructed,33 32 CustomConstructor 34 33 ] MessageEvent : Event { -
trunk/Source/WebCore/dom/OverflowEvent.idl
r99435 r99732 27 27 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor 31 30 ] OverflowEvent : Event { -
trunk/Source/WebCore/dom/PageTransitionEvent.idl
r99431 r99732 27 27 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor 31 30 ] PageTransitionEvent : Event { -
trunk/Source/WebCore/dom/PopStateEvent.idl
r99471 r99732 29 29 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP 30 30 interface [ 31 CanBeConstructed, 32 CustomConstructor, 31 CustomConstructor 33 32 ] PopStateEvent : Event { 34 33 readonly attribute [CustomGetter] DOMObject state; -
trunk/Source/WebCore/dom/ProgressEvent.idl
r96788 r99732 27 27 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor 31 30 ] ProgressEvent : Event { -
trunk/Source/WebCore/dom/WebKitAnimationEvent.idl
r96788 r99732 27 27 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor 31 30 ] WebKitAnimationEvent : Event { -
trunk/Source/WebCore/dom/WebKitMutationObserver.idl
r99611 r99732 32 32 interface [ 33 33 Conditional=MUTATION_OBSERVERS, 34 CanBeConstructed,35 34 CustomConstructor 36 35 ] WebKitMutationObserver { -
trunk/Source/WebCore/dom/WebKitTransitionEvent.idl
r97326 r99732 27 27 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor 31 30 ] WebKitTransitionEvent : Event { -
trunk/Source/WebCore/fileapi/FileReader.idl
r98695 r99732 34 34 Conditional=BLOB, 35 35 ActiveDOMObject, 36 C anBeConstructed,36 Constructor, 37 37 CallWith=ScriptExecutionContext, 38 38 EventTarget, 39 NoStaticTables, 40 Constructor 39 NoStaticTables 41 40 ] FileReader { 42 41 // ready states -
trunk/Source/WebCore/html/DOMFormData.idl
r97274 r99732 32 32 33 33 interface [ 34 CanBeConstructed,35 34 CustomConstructor, 36 35 GenerateNativeConverter, -
trunk/Source/WebCore/html/TextTrackCue.idl
r97926 r99732 29 29 Conditional=VIDEO_TRACK, 30 30 EnabledAtRuntime=webkitVideoTrack, 31 CanBeConstructed,32 31 GenerateNativeConverter, 33 32 Constructor(in DOMString id, in double startTime, in double endTime, in DOMString text, in [Optional=CallWithDefaultValue] DOMString settings, in [Optional=CallWithDefaultValue] boolean pauseOnExit), -
trunk/Source/WebCore/html/canvas/ArrayBuffer.idl
r97893 r99732 28 28 interface [ 29 29 GenerateIsReachable=Impl, 30 CanBeConstructed,31 30 CustomConstructor, 32 31 NoStaticTables -
trunk/Source/WebCore/html/canvas/DataView.idl
r96788 r99732 27 27 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor, 31 30 CustomToJS, 32 NoStaticTables ,31 NoStaticTables 33 32 ] DataView : ArrayBufferView { 34 33 // All these methods raise an exception if they would read or write beyond the end of the view. -
trunk/Source/WebCore/html/canvas/Float32Array.idl
r96788 r99732 27 27 module html { 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor, 31 30 HasNumericIndexGetter, -
trunk/Source/WebCore/html/canvas/Float64Array.idl
r96788 r99732 27 27 module html { 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor, 31 30 HasNumericIndexGetter, -
trunk/Source/WebCore/html/canvas/Int16Array.idl
r96788 r99732 26 26 module html { 27 27 interface [ 28 CanBeConstructed,29 28 CustomConstructor, 30 29 HasNumericIndexGetter, -
trunk/Source/WebCore/html/canvas/Int32Array.idl
r96788 r99732 27 27 module html { 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor, 31 30 HasNumericIndexGetter, -
trunk/Source/WebCore/html/canvas/Int8Array.idl
r96788 r99732 27 27 module html { 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor, 31 30 HasNumericIndexGetter, -
trunk/Source/WebCore/html/canvas/Uint16Array.idl
r96788 r99732 27 27 module html { 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor, 31 30 HasNumericIndexGetter, -
trunk/Source/WebCore/html/canvas/Uint32Array.idl
r96788 r99732 27 27 module html { 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor, 31 30 HasNumericIndexGetter, -
trunk/Source/WebCore/html/canvas/Uint8Array.idl
r96788 r99732 27 27 module html { 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor, 31 30 HasNumericIndexGetter, -
trunk/Source/WebCore/html/track/TrackEvent.idl
r99261 r99732 29 29 Conditional=VIDEO_TRACK, 30 30 EnabledAtRuntime=webkitVideoTrack, 31 CanBeConstructed, 32 CustomConstructor, 31 CustomConstructor 33 32 ] TrackEvent : Event { 34 33 -
trunk/Source/WebCore/mediastream/PeerConnection.idl
r98695 r99732 28 28 Conditional=MEDIA_STREAM, 29 29 ActiveDOMObject, 30 CanBeConstructed,31 30 ConstructorParameters=2, 32 31 Constructor(in DOMString serverConfiguration, in [Callback=FunctionOnly] SignalingCallback signalingCallback), -
trunk/Source/WebCore/page/EventSource.idl
r98695 r99732 34 34 interface [ 35 35 ActiveDOMObject, 36 CanBeConstructed,37 36 ConstructorParameters=1, 38 37 Constructor(in DOMString scriptUrl), -
trunk/Source/WebCore/page/WebKitPoint.idl
r96788 r99732 27 27 28 28 interface [ 29 CanBeConstructed,30 29 CustomConstructor, 31 ConstructorParameters=2 ,30 ConstructorParameters=2 32 31 ] WebKitPoint { 33 32 attribute float x; -
trunk/Source/WebCore/webaudio/AudioContext.idl
r96788 r99732 28 28 Conditional=WEB_AUDIO, 29 29 ActiveDOMObject, 30 CanBeConstructed,31 30 CustomConstructor, 32 31 CustomMarkFunction, -
trunk/Source/WebCore/websockets/CloseEvent.idl
r99438 r99732 33 33 interface [ 34 34 NoStaticTables, 35 CanBeConstructed,36 35 CustomConstructor 37 36 ] CloseEvent : Event { -
trunk/Source/WebCore/websockets/WebSocket.idl
r96788 r99732 35 35 Conditional=WEB_SOCKETS, 36 36 ActiveDOMObject, 37 CanBeConstructed,38 37 CustomConstructor, 39 38 ConstructorParameters=1, -
trunk/Source/WebCore/workers/SharedWorker.idl
r98695 r99732 35 35 Conditional=SHARED_WORKERS, 36 36 ActiveDOMObject, 37 CanBeConstructed,38 37 JSCustomConstructor, 39 38 ConstructorParameters=2, -
trunk/Source/WebCore/workers/Worker.idl
r98695 r99732 31 31 Conditional=WORKERS, 32 32 ActiveDOMObject, 33 CanBeConstructed,34 33 JSCustomConstructor, 35 34 ConstructorParameters=1, -
trunk/Source/WebCore/xml/XMLHttpRequest.idl
r98893 r99732 31 31 interface [ 32 32 ActiveDOMObject, 33 CanBeConstructed,34 33 Constructor, 35 34 CallWith=ScriptExecutionContext, -
trunk/Source/WebCore/xml/XSLTProcessor.idl
r97580 r99732 35 35 interface [ 36 36 Conditional=XSLT, 37 CanBeConstructed,38 37 Constructor 39 38 ] XSLTProcessor {
Note: See TracChangeset
for help on using the changeset viewer.