Changeset 106666 in webkit
- Timestamp:
- Feb 3, 2012 8:53:10 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 27 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r106665 r106666 1 2012-02-03 Kentaro Hara <haraken@chromium.org> 2 3 Add the "V8" prefix to V8 specific IDL attributes 4 https://bugs.webkit.org/show_bug.cgi?id=77713 5 6 Reviewed by Adam Barth. 7 8 This patch adds the "V8" prefix to a V8 specific IDL attribute: 9 [EnabledAtRuntime] => [V8EnabledAtRuntime] 10 11 No tests. No change in behavior. 12 13 * bindings/scripts/CodeGeneratorV8.pm: 14 (GenerateHeader): 15 (GenerateImplementation): 16 (GetRuntimeEnableFunctionName): 17 18 * bindings/scripts/test/TestObj.idl: 19 * bindings/scripts/test/V8/V8TestObj.cpp: Updated the run-bindings-tests results. 20 (WebCore::ConfigureV8TestObjTemplate): 21 22 * Modules/gamepad/NavigatorGamepad.idl: 23 * dom/Clipboard.idl: 24 * dom/Document.idl: 25 * dom/Element.idl: 26 * dom/MouseEvent.idl: 27 * dom/ShadowRoot.idl: 28 * html/HTMLInputElement.idl: 29 * html/HTMLMediaElement.idl: 30 * html/HTMLTrackElement.idl: 31 * html/TextTrack.idl: 32 * html/TextTrackCue.idl: 33 * html/TextTrackCueList.idl: 34 * html/shadow/HTMLContentElement.idl: 35 * html/track/TextTrackList.idl: 36 * html/track/TrackEvent.idl: 37 * page/DOMWindow.idl: 38 * page/History.idl: 39 * page/Navigator.idl: 40 * storage/DOMWindowSQLDatabase.idl: 41 * webaudio/DOMWindowWebAudio.idl: 42 * websockets/DOMWindowWebSocket.idl: 43 * workers/WorkerContext.idl: 44 * xml/XMLHttpRequest.idl: 45 1 46 2012-02-03 Alexei Filippov <alexeif@chromium.org> 2 47 -
trunk/Source/WebCore/Modules/gamepad/NavigatorGamepad.idl
r104146 r106666 24 24 Supplemental=Navigator 25 25 ] NavigatorGamepad { 26 readonly attribute [ EnabledAtRuntime] GamepadList webkitGamepads;26 readonly attribute [V8EnabledAtRuntime] GamepadList webkitGamepads; 27 27 }; 28 28 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
r106645 r106666 371 371 } 372 372 373 if ($attrExt->{" EnabledAtRuntime"}) {373 if ($attrExt->{"V8EnabledAtRuntime"}) { 374 374 push(@enabledAtRuntime, $function); 375 375 } … … 399 399 END 400 400 } 401 if ($attrExt->{" EnabledAtRuntime"}) {401 if ($attrExt->{"V8EnabledAtRuntime"}) { 402 402 push(@enabledAtRuntime, $attribute); 403 403 } … … 2350 2350 if ($interfaceName eq "DOMWindow" && $attribute->signature->extendedAttributes->{"V8Unforgeable"}) { 2351 2351 push(@disallowsShadowing, $attribute); 2352 } elsif ($attribute->signature->extendedAttributes->{" EnabledAtRuntime"}) {2352 } elsif ($attribute->signature->extendedAttributes->{"V8EnabledAtRuntime"}) { 2353 2353 push(@enabledAtRuntime, $attribute); 2354 2354 } else { … … 2387 2387 next; 2388 2388 } 2389 if ($attrExt->{" EnabledAtRuntime"} || RequiresCustomSignature($function) || $attrExt->{"V8DoNotCheckSignature"}) {2389 if ($attrExt->{"V8EnabledAtRuntime"} || RequiresCustomSignature($function) || $attrExt->{"V8DoNotCheckSignature"}) { 2390 2390 next; 2391 2391 } … … 2425 2425 my $attrExt = $constant->extendedAttributes; 2426 2426 my $conditional = $attrExt->{"Conditional"}; 2427 if ($attrExt->{" EnabledAtRuntime"}) {2427 if ($attrExt->{"V8EnabledAtRuntime"}) { 2428 2428 push(@constantsEnabledAtRuntime, $constant); 2429 2429 } else { … … 2489 2489 v8::Local<v8::Signature> defaultSignature; 2490 2490 END 2491 if ($dataNode->extendedAttributes->{" EnabledAtRuntime"}) {2491 if ($dataNode->extendedAttributes->{"V8EnabledAtRuntime"}) { 2492 2492 my $enable_function = GetRuntimeEnableFunctionName($dataNode); 2493 2493 push(@implContent, <<END); … … 2608 2608 2609 2609 my $conditional = ""; 2610 if ($attrExt->{" EnabledAtRuntime"}) {2610 if ($attrExt->{"V8EnabledAtRuntime"}) { 2611 2611 # Only call Set()/SetAccessor() if this method should be enabled 2612 2612 my $enable_function = GetRuntimeEnableFunctionName($function->signature); … … 3862 3862 my $signature = shift; 3863 3863 3864 # If a parameter is given (e.g. " EnabledAtRuntime=FeatureName") return the RuntimeEnabledFeatures::{FeatureName}Enabled() method.3865 return "RuntimeEnabledFeatures::" . $codeGenerator->WK_lcfirst($signature->extendedAttributes->{" EnabledAtRuntime"}) . "Enabled" if ($signature->extendedAttributes->{"EnabledAtRuntime"} && $signature->extendedAttributes->{"EnabledAtRuntime"} ne "1");3864 # If a parameter is given (e.g. "V8EnabledAtRuntime=FeatureName") return the RuntimeEnabledFeatures::{FeatureName}Enabled() method. 3865 return "RuntimeEnabledFeatures::" . $codeGenerator->WK_lcfirst($signature->extendedAttributes->{"V8EnabledAtRuntime"}) . "Enabled" if ($signature->extendedAttributes->{"V8EnabledAtRuntime"} && $signature->extendedAttributes->{"V8EnabledAtRuntime"} ne "1"); 3866 3866 3867 3867 # Otherwise return a function named RuntimeEnabledFeatures::{methodName}Enabled(). -
trunk/Source/WebCore/bindings/scripts/test/TestObj.idl
r106575 r106666 172 172 173 173 #if defined(TESTING_V8) 174 // ' EnabledAtRuntime' methods and attributes.175 [ EnabledAtRuntime] void enabledAtRuntimeMethod1(in int intArg);176 [ EnabledAtRuntime=FeatureName] void enabledAtRuntimeMethod2(in int intArg);177 attribute [ EnabledAtRuntime] long enabledAtRuntimeAttr1;178 attribute [ EnabledAtRuntime=FeatureName] long enabledAtRuntimeAttr2;174 // 'V8EnabledAtRuntime' methods and attributes. 175 [V8EnabledAtRuntime] void enabledAtRuntimeMethod1(in int intArg); 176 [V8EnabledAtRuntime=FeatureName] void enabledAtRuntimeMethod2(in int intArg); 177 attribute [V8EnabledAtRuntime] long enabledAtRuntimeAttr1; 178 attribute [V8EnabledAtRuntime=FeatureName] long enabledAtRuntimeAttr2; 179 179 #endif 180 180 -
trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.cpp
r106618 r106666 1768 1768 if (RuntimeEnabledFeatures::enabledAtRuntimeAttr1Enabled()) { 1769 1769 static const BatchedAttribute attrData =\ 1770 // Attribute 'enabledAtRuntimeAttr1' (Type: 'attribute' ExtAttr: ' EnabledAtRuntime')1770 // Attribute 'enabledAtRuntimeAttr1' (Type: 'attribute' ExtAttr: 'V8EnabledAtRuntime') 1771 1771 {"enabledAtRuntimeAttr1", TestObjInternal::enabledAtRuntimeAttr1AttrGetter, TestObjInternal::enabledAtRuntimeAttr1AttrSetter, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}; 1772 1772 configureAttribute(instance, proto, attrData); … … 1774 1774 if (RuntimeEnabledFeatures::featureNameEnabled()) { 1775 1775 static const BatchedAttribute attrData =\ 1776 // Attribute 'enabledAtRuntimeAttr2' (Type: 'attribute' ExtAttr: ' EnabledAtRuntime')1776 // Attribute 'enabledAtRuntimeAttr2' (Type: 'attribute' ExtAttr: 'V8EnabledAtRuntime') 1777 1777 {"enabledAtRuntimeAttr2", TestObjInternal::enabledAtRuntimeAttr2AttrGetter, TestObjInternal::enabledAtRuntimeAttr2AttrSetter, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}; 1778 1778 configureAttribute(instance, proto, attrData); -
trunk/Source/WebCore/dom/Clipboard.idl
r100163 r106666 43 43 raises(DOMException); 44 44 45 readonly attribute [Conditional=DATA_TRANSFER_ITEMS, EnabledAtRuntime=DataTransferItems] DataTransferItemList items;45 readonly attribute [Conditional=DATA_TRANSFER_ITEMS, V8EnabledAtRuntime=DataTransferItems] DataTransferItemList items; 46 46 }; 47 47 -
trunk/Source/WebCore/dom/Document.idl
r106660 r106666 242 242 243 243 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API 244 readonly attribute [ EnabledAtRuntime] boolean webkitIsFullScreen;245 readonly attribute [ EnabledAtRuntime] boolean webkitFullScreenKeyboardInputAllowed;246 readonly attribute [ EnabledAtRuntime] Element webkitCurrentFullScreenElement;247 [ EnabledAtRuntime] void webkitCancelFullScreen();244 readonly attribute [V8EnabledAtRuntime] boolean webkitIsFullScreen; 245 readonly attribute [V8EnabledAtRuntime] boolean webkitFullScreenKeyboardInputAllowed; 246 readonly attribute [V8EnabledAtRuntime] Element webkitCurrentFullScreenElement; 247 [V8EnabledAtRuntime] void webkitCancelFullScreen(); 248 248 #endif 249 249 … … 317 317 attribute [NotEnumerable] EventListener onselectstart; 318 318 attribute [NotEnumerable] EventListener onselectionchange; 319 attribute [NotEnumerable,Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchstart;320 attribute [NotEnumerable,Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchmove;321 attribute [NotEnumerable,Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchend;322 attribute [NotEnumerable,Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchcancel;319 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchstart; 320 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchmove; 321 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchend; 322 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchcancel; 323 323 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenchange; 324 324 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenerror; … … 326 326 327 327 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS 328 [ReturnsNew, EnabledAtRuntime] Touch createTouch(in [Optional=CallWithDefaultValue] DOMWindow window,328 [ReturnsNew, V8EnabledAtRuntime] Touch createTouch(in [Optional=CallWithDefaultValue] DOMWindow window, 329 329 in [Optional=CallWithDefaultValue] EventTarget target, 330 330 in [Optional=CallWithDefaultValue] long identifier, … … 338 338 in [Optional=CallWithDefaultValue] float webkitForce) 339 339 raises (DOMException); 340 [ReturnsNew, EnabledAtRuntime, Custom] TouchList createTouchList()340 [ReturnsNew, V8EnabledAtRuntime, Custom] TouchList createTouchList() 341 341 raises (DOMException); 342 342 #endif -
trunk/Source/WebCore/dom/Element.idl
r106660 r106666 131 131 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API 132 132 const unsigned short ALLOW_KEYBOARD_INPUT = 1; 133 [ EnabledAtRuntime] void webkitRequestFullScreen(in [Optional=CallWithDefaultValue] unsigned short flags);133 [V8EnabledAtRuntime] void webkitRequestFullScreen(in [Optional=CallWithDefaultValue] unsigned short flags); 134 134 #endif 135 135 … … 200 200 attribute [NotEnumerable] EventListener onsearch; 201 201 attribute [NotEnumerable] EventListener onselectstart; 202 attribute [NotEnumerable,Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchstart;203 attribute [NotEnumerable,Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchmove;204 attribute [NotEnumerable,Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchend;205 attribute [NotEnumerable,Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchcancel;202 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchstart; 203 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchmove; 204 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchend; 205 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchcancel; 206 206 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenchange; 207 207 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenerror; -
trunk/Source/WebCore/dom/MouseEvent.idl
r106660 r106666 26 26 readonly attribute long clientX; 27 27 readonly attribute long clientY; 28 readonly attribute [Conditional=POINTER_LOCK, EnabledAtRuntime] long webkitMovementX;29 readonly attribute [Conditional=POINTER_LOCK, EnabledAtRuntime] long webkitMovementY;28 readonly attribute [Conditional=POINTER_LOCK, V8EnabledAtRuntime] long webkitMovementX; 29 readonly attribute [Conditional=POINTER_LOCK, V8EnabledAtRuntime] long webkitMovementY; 30 30 readonly attribute boolean ctrlKey; 31 31 readonly attribute boolean shiftKey; -
trunk/Source/WebCore/dom/ShadowRoot.idl
r106622 r106666 29 29 interface [ 30 30 Conditional=SHADOW_DOM, 31 EnabledAtRuntime=shadowDOM,31 V8EnabledAtRuntime=shadowDOM, 32 32 Constructor(in Element host), 33 33 ConstructorRaisesException -
trunk/Source/WebCore/html/HTMLInputElement.idl
r106645 r106666 106 106 readonly attribute NodeList labels; 107 107 108 attribute [Conditional=INPUT_SPEECH, Reflect, EnabledAtRuntime] boolean webkitSpeech;109 attribute [Conditional=INPUT_SPEECH, Reflect, EnabledAtRuntime] boolean webkitGrammar;108 attribute [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] boolean webkitSpeech; 109 attribute [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] boolean webkitGrammar; 110 110 attribute [Conditional=INPUT_SPEECH, NotEnumerable] EventListener onwebkitspeechchange; 111 111 }; -
trunk/Source/WebCore/html/HTMLMediaElement.idl
r106534 r106666 94 94 #if defined(ENABLE_MEDIA_SOURCE) && ENABLE_MEDIA_SOURCE 95 95 // URL passed to src attribute to enable the media source logic. 96 readonly attribute [ EnabledAtRuntime=webkitMediaSource, URL] DOMString webkitMediaSourceURL;96 readonly attribute [V8EnabledAtRuntime=webkitMediaSource, URL] DOMString webkitMediaSourceURL; 97 97 98 98 // Appends media to to the source. 99 [ EnabledAtRuntime=webkitMediaSource] void webkitSourceAppend(in Uint8Array data) raises (DOMException);99 [V8EnabledAtRuntime=webkitMediaSource] void webkitSourceAppend(in Uint8Array data) raises (DOMException); 100 100 101 101 // Signals the end of stream. 102 const [ EnabledAtRuntime=webkitMediaSource] unsigned short EOS_NO_ERROR = 0; // End of stream reached w/o error.103 const [ EnabledAtRuntime=webkitMediaSource] unsigned short EOS_NETWORK_ERR = 1; // A network error triggered end of stream.104 const [ EnabledAtRuntime=webkitMediaSource] unsigned short EOS_DECODE_ERR = 2; // A decode error triggered end of stream.105 [ EnabledAtRuntime=webkitMediaSource] void webkitSourceEndOfStream(in unsigned short status) raises (DOMException);102 const [V8EnabledAtRuntime=webkitMediaSource] unsigned short EOS_NO_ERROR = 0; // End of stream reached w/o error. 103 const [V8EnabledAtRuntime=webkitMediaSource] unsigned short EOS_NETWORK_ERR = 1; // A network error triggered end of stream. 104 const [V8EnabledAtRuntime=webkitMediaSource] unsigned short EOS_DECODE_ERR = 2; // A decode error triggered end of stream. 105 [V8EnabledAtRuntime=webkitMediaSource] void webkitSourceEndOfStream(in unsigned short status) raises (DOMException); 106 106 107 107 // Indicates the current state of the media source. 108 const [ EnabledAtRuntime=webkitMediaSource] unsigned short SOURCE_CLOSED = 0;109 const [ EnabledAtRuntime=webkitMediaSource] unsigned short SOURCE_OPEN = 1;110 const [ EnabledAtRuntime=webkitMediaSource] unsigned short SOURCE_ENDED = 2;111 readonly attribute [ EnabledAtRuntime=webkitMediaSource] unsigned short webkitSourceState;108 const [V8EnabledAtRuntime=webkitMediaSource] unsigned short SOURCE_CLOSED = 0; 109 const [V8EnabledAtRuntime=webkitMediaSource] unsigned short SOURCE_OPEN = 1; 110 const [V8EnabledAtRuntime=webkitMediaSource] unsigned short SOURCE_ENDED = 2; 111 readonly attribute [V8EnabledAtRuntime=webkitMediaSource] unsigned short webkitSourceState; 112 112 #endif 113 113 114 114 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK 115 [ EnabledAtRuntime=webkitVideoTrack] TextTrack addTextTrack(in DOMString kind, in [Optional] DOMString label, in [Optional] DOMString language)115 [V8EnabledAtRuntime=webkitVideoTrack] TextTrack addTextTrack(in DOMString kind, in [Optional] DOMString label, in [Optional] DOMString language) 116 116 raises (DOMException); 117 readonly attribute [ EnabledAtRuntime=webkitVideoTrack] TextTrackList textTracks;117 readonly attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackList textTracks; 118 118 #endif 119 119 -
trunk/Source/WebCore/html/HTMLTrackElement.idl
r101213 r106666 27 27 interface [ 28 28 Conditional=VIDEO_TRACK, 29 EnabledAtRuntime=webkitVideoTrack29 V8EnabledAtRuntime=webkitVideoTrack 30 30 ] HTMLTrackElement : HTMLElement { 31 31 attribute [Reflect, URL] DOMString src; -
trunk/Source/WebCore/html/TextTrack.idl
r102471 r106666 28 28 interface [ 29 29 Conditional=VIDEO_TRACK, 30 EnabledAtRuntime=webkitVideoTrack,30 V8EnabledAtRuntime=webkitVideoTrack, 31 31 EventTarget, 32 32 CustomMarkFunction, -
trunk/Source/WebCore/html/TextTrackCue.idl
r104624 r106666 28 28 interface [ 29 29 Conditional=VIDEO_TRACK, 30 EnabledAtRuntime=webkitVideoTrack,30 V8EnabledAtRuntime=webkitVideoTrack, 31 31 GenerateNativeConverter, 32 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/TextTrackCueList.idl
r97926 r106666 28 28 interface [ 29 29 Conditional=VIDEO_TRACK, 30 EnabledAtRuntime=webkitVideoTrack,30 V8EnabledAtRuntime=webkitVideoTrack, 31 31 HasIndexGetter 32 32 ] TextTrackCueList { -
trunk/Source/WebCore/html/shadow/HTMLContentElement.idl
r105917 r106666 28 28 interface [ 29 29 Conditional=SHADOW_DOM, 30 EnabledAtRuntime=shadowDOM30 V8EnabledAtRuntime=shadowDOM 31 31 ] HTMLContentElement : HTMLElement { 32 32 attribute [Reflect] DOMString select; -
trunk/Source/WebCore/html/track/TextTrackList.idl
r102471 r106666 28 28 interface [ 29 29 Conditional=VIDEO_TRACK, 30 EnabledAtRuntime=webkitVideoTrack,30 V8EnabledAtRuntime=webkitVideoTrack, 31 31 HasIndexGetter, 32 32 EventTarget, -
trunk/Source/WebCore/html/track/TrackEvent.idl
r106644 r106666 28 28 interface [ 29 29 Conditional=VIDEO_TRACK, 30 EnabledAtRuntime=webkitVideoTrack,30 V8EnabledAtRuntime=webkitVideoTrack, 31 31 ConstructorTemplate=Event 32 32 ] TrackEvent : Event { -
trunk/Source/WebCore/page/DOMWindow.idl
r106645 r106666 163 163 in [Optional=CallWithDefaultValue] WebKitPoint p); 164 164 165 readonly attribute [ EnabledAtRuntime] DOMApplicationCache applicationCache;166 167 readonly attribute [ EnabledAtRuntime] Storage sessionStorage165 readonly attribute [V8EnabledAtRuntime] DOMApplicationCache applicationCache; 166 167 readonly attribute [V8EnabledAtRuntime] Storage sessionStorage 168 168 getter raises(DOMException); 169 readonly attribute [ EnabledAtRuntime] Storage localStorage169 readonly attribute [V8EnabledAtRuntime] Storage localStorage 170 170 getter raises(DOMException); 171 171 172 172 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS 173 readonly attribute [ EnabledAtRuntime] NotificationCenter webkitNotifications;173 readonly attribute [V8EnabledAtRuntime] NotificationCenter webkitNotifications; 174 174 #endif 175 175 #if defined(ENABLE_FILE_SYSTEM) && ENABLE_FILE_SYSTEM 176 176 const unsigned short TEMPORARY = 0; 177 177 const unsigned short PERSISTENT = 1; 178 [ EnabledAtRuntime=FileSystem] void webkitRequestFileSystem(in unsigned short type, in long long size, in [Callback] FileSystemCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);179 [ EnabledAtRuntime=FileSystem] void webkitResolveLocalFileSystemURL(in DOMString url, in [Callback, Optional] EntryCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);178 [V8EnabledAtRuntime=FileSystem] void webkitRequestFileSystem(in unsigned short type, in long long size, in [Callback] FileSystemCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback); 179 [V8EnabledAtRuntime=FileSystem] void webkitResolveLocalFileSystemURL(in DOMString url, in [Callback, Optional] EntryCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback); 180 180 #endif 181 181 … … 315 315 attribute EventListener onorientationchange; 316 316 #endif 317 attribute [Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchstart;318 attribute [Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchmove;319 attribute [Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchend;320 attribute [Conditional=TOUCH_EVENTS, EnabledAtRuntime] EventListener ontouchcancel;321 322 attribute [Conditional=DEVICE_ORIENTATION, EnabledAtRuntime] EventListener ondevicemotion;323 attribute [Conditional=DEVICE_ORIENTATION, EnabledAtRuntime] EventListener ondeviceorientation;324 325 attribute [Conditional=MEDIA_STREAM, EnabledAtRuntime] PeerConnectionConstructor webkitPeerConnection;317 attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchstart; 318 attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchmove; 319 attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchend; 320 attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchcancel; 321 322 attribute [Conditional=DEVICE_ORIENTATION,V8EnabledAtRuntime] EventListener ondevicemotion; 323 attribute [Conditional=DEVICE_ORIENTATION,V8EnabledAtRuntime] EventListener ondeviceorientation; 324 325 attribute [Conditional=MEDIA_STREAM,V8EnabledAtRuntime] PeerConnectionConstructor webkitPeerConnection; 326 326 327 327 // EventTarget interface … … 399 399 attribute EntityReferenceConstructor EntityReference; 400 400 attribute ProcessingInstructionConstructor ProcessingInstruction; 401 attribute [Conditional=SHADOW_DOM, EnabledAtRuntime=shadowDOM] ShadowRootConstructor WebKitShadowRoot;401 attribute [Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] ShadowRootConstructor WebKitShadowRoot; 402 402 403 403 attribute HTMLDocumentConstructor HTMLDocument; … … 527 527 attribute XMLHttpRequestProgressEventConstructor XMLHttpRequestProgressEvent; 528 528 attribute [Conditional=SVG] SVGZoomEventConstructor SVGZoomEvent; 529 attribute [Conditional=DEVICE_ORIENTATION, EnabledAtRuntime] DeviceMotionEventConstructor DeviceMotionEvent;530 attribute [Conditional=DEVICE_ORIENTATION, EnabledAtRuntime] DeviceOrientationEventConstructor DeviceOrientationEvent;529 attribute [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] DeviceMotionEventConstructor DeviceMotionEvent; 530 attribute [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] DeviceOrientationEventConstructor DeviceOrientationEvent; 531 531 attribute [Conditional=TOUCH_EVENTS] TouchEventConstructor TouchEvent; 532 532 attribute StorageEventConstructor StorageEvent; … … 580 580 581 581 #if defined(ENABLE_SHARED_WORKERS) && ENABLE_SHARED_WORKERS 582 attribute [JSCCustomGetter, EnabledAtRuntime] SharedWorkerConstructor SharedWorker; // Usable with the new operator582 attribute [JSCCustomGetter, V8EnabledAtRuntime] SharedWorkerConstructor SharedWorker; // Usable with the new operator 583 583 #endif 584 584 585 585 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK 586 attribute [ EnabledAtRuntime=webkitVideoTrack] HTMLTrackElementConstructor HTMLTrackElement;587 attribute [ EnabledAtRuntime=webkitVideoTrack] TextTrackConstructor TextTrack;588 attribute [ EnabledAtRuntime=webkitVideoTrack] TextTrackCueConstructor TextTrackCue; // Usable with the new operator589 attribute [ EnabledAtRuntime=webkitVideoTrack] TextTrackCueListConstructor TextTrackCueList;590 attribute [ EnabledAtRuntime=webkitVideoTrack] TextTrackListConstructor TextTrackList;591 attribute [ EnabledAtRuntime=webkitVideoTrack] TrackEventConstructor TrackEvent;586 attribute [V8EnabledAtRuntime=webkitVideoTrack] HTMLTrackElementConstructor HTMLTrackElement; 587 attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackConstructor TextTrack; 588 attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueConstructor TextTrackCue; // Usable with the new operator 589 attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueListConstructor TextTrackCueList; 590 attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackListConstructor TextTrackList; 591 attribute [V8EnabledAtRuntime=webkitVideoTrack] TrackEventConstructor TrackEvent; 592 592 #endif 593 593 … … 603 603 attribute StorageConstructor Storage; 604 604 605 attribute [JSCCustomGetter, Conditional=VIDEO, EnabledAtRuntime] HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator606 attribute [Conditional=VIDEO, EnabledAtRuntime] HTMLAudioElementConstructor HTMLAudioElement;607 attribute [Conditional=VIDEO, EnabledAtRuntime] HTMLMediaElementConstructor HTMLMediaElement;608 attribute [Conditional=VIDEO, EnabledAtRuntime] HTMLVideoElementConstructor HTMLVideoElement;609 attribute [Conditional=VIDEO, EnabledAtRuntime] MediaErrorConstructor MediaError;610 attribute [Conditional=VIDEO, EnabledAtRuntime] TimeRangesConstructor TimeRanges;611 attribute [Conditional=VIDEO, EnabledAtRuntime] HTMLSourceElementConstructor HTMLSourceElement;612 attribute [Conditional=VIDEO, EnabledAtRuntime] MediaControllerConstructor MediaController;605 attribute [JSCCustomGetter, Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator 606 attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstructor HTMLAudioElement; 607 attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLMediaElementConstructor HTMLMediaElement; 608 attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLVideoElementConstructor HTMLVideoElement; 609 attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaErrorConstructor MediaError; 610 attribute [Conditional=VIDEO, V8EnabledAtRuntime] TimeRangesConstructor TimeRanges; 611 attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLSourceElementConstructor HTMLSourceElement; 612 attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaControllerConstructor MediaController; 613 613 614 614 #if defined(ENABLE_ANIMATION_API) && ENABLE_ANIMATION_API … … 787 787 788 788 #if defined(ENABLE_QUOTA) && ENABLE_QUOTA 789 readonly attribute [ EnabledAtRuntime=Quota] StorageInfo webkitStorageInfo;789 readonly attribute [V8EnabledAtRuntime=Quota] StorageInfo webkitStorageInfo; 790 790 #endif 791 791 -
trunk/Source/WebCore/page/History.idl
r98385 r106666 43 43 [DoNotCheckDomainSecurity, CallWith=ScriptExecutionContext] void go(in [Optional=CallWithDefaultValue] long distance); 44 44 45 [Custom, EnabledAtRuntime] void pushState(in any data, in DOMString title, in [Optional] DOMString url)45 [Custom, V8EnabledAtRuntime] void pushState(in any data, in DOMString title, in [Optional] DOMString url) 46 46 raises(DOMException); 47 [Custom, EnabledAtRuntime] void replaceState(in any data, in DOMString title, in [Optional] DOMString url)47 [Custom, V8EnabledAtRuntime] void replaceState(in any data, in DOMString title, in [Optional] DOMString url) 48 48 raises(DOMException); 49 49 }; -
trunk/Source/WebCore/page/Navigator.idl
r104146 r106666 42 42 43 43 #if defined(ENABLE_GEOLOCATION) && ENABLE_GEOLOCATION 44 readonly attribute [ EnabledAtRuntime] Geolocation geolocation;44 readonly attribute [V8EnabledAtRuntime] Geolocation geolocation; 45 45 #endif 46 46 47 47 #if defined(ENABLE_POINTER_LOCK) && ENABLE_POINTER_LOCK 48 readonly attribute [ EnabledAtRuntime] PointerLock webkitPointer;48 readonly attribute [V8EnabledAtRuntime] PointerLock webkitPointer; 49 49 #endif 50 50 … … 57 57 58 58 #if defined(ENABLE_MEDIA_STREAM) && ENABLE_MEDIA_STREAM 59 [Custom, EnabledAtRuntime] void webkitGetUserMedia(in DOMString options,59 [Custom, V8EnabledAtRuntime] void webkitGetUserMedia(in DOMString options, 60 60 in [Callback=FunctionOnly] NavigatorUserMediaSuccessCallback successCallback, 61 61 in [Callback=FunctionOnly, Optional] NavigatorUserMediaErrorCallback errorCallback) -
trunk/Source/WebCore/storage/DOMWindowSQLDatabase.idl
r106091 r106666 35 35 Supplemental=DOMWindow 36 36 ] DOMWindowSQLDatabase { 37 [ EnabledAtRuntime] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)37 [V8EnabledAtRuntime] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback) 38 38 raises(DOMException); 39 39 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP -
trunk/Source/WebCore/webaudio/DOMWindowWebAudio.idl
r106091 r106666 25 25 ] DOMWindowWebAudio { 26 26 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP 27 attribute [JSCCustomGetter, EnabledAtRuntime] AudioContextConstructor webkitAudioContext;27 attribute [JSCCustomGetter, V8EnabledAtRuntime] AudioContextConstructor webkitAudioContext; 28 28 attribute AudioPannerNodeConstructor webkitAudioPannerNode; 29 29 attribute AudioProcessingEventConstructor AudioProcessingEvent; -
trunk/Source/WebCore/websockets/DOMWindowWebSocket.idl
r106091 r106666 37 37 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP 38 38 attribute CloseEventConstructor CloseEvent; 39 attribute [JSCCustomGetter, EnabledAtRuntime] WebSocketConstructor WebSocket; // Usable with the new operator39 attribute [JSCCustomGetter, V8EnabledAtRuntime] WebSocketConstructor WebSocket; // Usable with the new operator 40 40 #endif 41 41 }; -
trunk/Source/WebCore/workers/WorkerContext.idl
r106639 r106666 51 51 attribute [Replaceable] WorkerNavigator navigator; 52 52 #if defined(ENABLE_SQL_DATABASE) && ENABLE_SQL_DATABASE 53 [ EnabledAtRuntime] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)53 [V8EnabledAtRuntime] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback) 54 54 raises(DOMException); 55 [ EnabledAtRuntime] DatabaseSync openDatabaseSync(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)55 [V8EnabledAtRuntime] DatabaseSync openDatabaseSync(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback) 56 56 raises(DOMException); 57 57 #endif … … 78 78 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS 79 79 // Notification interface 80 readonly attribute [ EnabledAtRuntime] NotificationCenter webkitNotifications;80 readonly attribute [V8EnabledAtRuntime] NotificationCenter webkitNotifications; 81 81 #endif 82 82 … … 92 92 attribute [JSCCustomGetter] XMLHttpRequestConstructor XMLHttpRequest; 93 93 #if defined(ENABLE_WEB_SOCKETS) && ENABLE_WEB_SOCKETS 94 attribute [JSCCustomGetter, EnabledAtRuntime] WebSocketConstructor WebSocket; // Usable with the new operator94 attribute [JSCCustomGetter,V8EnabledAtRuntime] WebSocketConstructor WebSocket; // Usable with the new operator 95 95 #endif 96 96 #endif … … 107 107 const unsigned short TEMPORARY = 0; 108 108 const unsigned short PERSISTENT = 1; 109 [ EnabledAtRuntime=FileSystem] void webkitRequestFileSystem(in unsigned short type, in long long size, in [Callback, Optional] FileSystemCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);110 [ EnabledAtRuntime=FileSystem] DOMFileSystemSync webkitRequestFileSystemSync(in unsigned short type, in long long size) raises (FileException);111 [ EnabledAtRuntime=FileSystem] void webkitResolveLocalFileSystemURL(in DOMString url, in [Callback, Optional] EntryCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);112 [ EnabledAtRuntime=FileSystem] EntrySync webkitResolveLocalFileSystemSyncURL(in DOMString url) raises (FileException);109 [V8EnabledAtRuntime=FileSystem] void webkitRequestFileSystem(in unsigned short type, in long long size, in [Callback, Optional] FileSystemCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback); 110 [V8EnabledAtRuntime=FileSystem] DOMFileSystemSync webkitRequestFileSystemSync(in unsigned short type, in long long size) raises (FileException); 111 [V8EnabledAtRuntime=FileSystem] void webkitResolveLocalFileSystemURL(in DOMString url, in [Callback, Optional] EntryCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback); 112 [V8EnabledAtRuntime=FileSystem] EntrySync webkitResolveLocalFileSystemSyncURL(in DOMString url) raises (FileException); 113 113 114 attribute [ EnabledAtRuntime=FileSystem] FileErrorConstructor FileError;115 attribute [ EnabledAtRuntime=FileSystem] FileExceptionConstructor FileException;114 attribute [V8EnabledAtRuntime=FileSystem] FileErrorConstructor FileError; 115 attribute [V8EnabledAtRuntime=FileSystem] FileExceptionConstructor FileException; 116 116 #endif 117 117 … … 128 128 attribute DataViewConstructor DataView; // Usable with new operator 129 129 #if defined(ENABLE_INDEXED_DATABASE) && ENABLE_INDEXED_DATABASE 130 readonly attribute [ EnabledAtRuntime] IDBFactory webkitIndexedDB;130 readonly attribute [V8EnabledAtRuntime] IDBFactory webkitIndexedDB; 131 131 132 attribute [ EnabledAtRuntime] IDBCursorConstructor webkitIDBCursor;133 attribute [ EnabledAtRuntime] IDBDatabaseConstructor webkitIDBDatabase;134 attribute [ EnabledAtRuntime] IDBDatabaseErrorConstructor webkitIDBDatabaseError;135 attribute [ EnabledAtRuntime] IDBDatabaseExceptionConstructor webkitIDBDatabaseException;136 attribute [ EnabledAtRuntime] IDBFactoryConstructor webkitIDBFactory;137 attribute [ EnabledAtRuntime] IDBIndexConstructor webkitIDBIndex;138 attribute [ EnabledAtRuntime] IDBKeyRangeConstructor webkitIDBKeyRange;139 attribute [ EnabledAtRuntime] IDBObjectStoreConstructor webkitIDBObjectStore;140 attribute [ EnabledAtRuntime] IDBRequestConstructor webkitIDBRequest;141 attribute [ EnabledAtRuntime] IDBTransactionConstructor webkitIDBTransaction;132 attribute [V8EnabledAtRuntime] IDBCursorConstructor webkitIDBCursor; 133 attribute [V8EnabledAtRuntime] IDBDatabaseConstructor webkitIDBDatabase; 134 attribute [V8EnabledAtRuntime] IDBDatabaseErrorConstructor webkitIDBDatabaseError; 135 attribute [V8EnabledAtRuntime] IDBDatabaseExceptionConstructor webkitIDBDatabaseException; 136 attribute [V8EnabledAtRuntime] IDBFactoryConstructor webkitIDBFactory; 137 attribute [V8EnabledAtRuntime] IDBIndexConstructor webkitIDBIndex; 138 attribute [V8EnabledAtRuntime] IDBKeyRangeConstructor webkitIDBKeyRange; 139 attribute [V8EnabledAtRuntime] IDBObjectStoreConstructor webkitIDBObjectStore; 140 attribute [V8EnabledAtRuntime] IDBRequestConstructor webkitIDBRequest; 141 attribute [V8EnabledAtRuntime] IDBTransactionConstructor webkitIDBTransaction; 142 142 #endif 143 143 }; -
trunk/Source/WebCore/xml/XMLHttpRequest.idl
r103502 r106666 60 60 61 61 // request 62 attribute [Conditional=XHR_RESPONSE_BLOB, EnabledAtRuntime] boolean asBlob62 attribute [Conditional=XHR_RESPONSE_BLOB, V8EnabledAtRuntime] boolean asBlob 63 63 setter raises(DOMException); 64 64 … … 98 98 readonly attribute Document responseXML 99 99 getter raises(DOMException); 100 readonly attribute [Conditional=XHR_RESPONSE_BLOB, EnabledAtRuntime] Blob responseBlob100 readonly attribute [Conditional=XHR_RESPONSE_BLOB, V8EnabledAtRuntime] Blob responseBlob 101 101 getter raises(DOMException); 102 102
Note: See TracChangeset
for help on using the changeset viewer.