1. 11 Nov, 2013 1 commit
    • zandobersek@gmail.com's avatar
      Remove the OperationsNotDeletable attribute from most of the WebIDL interfaces · d5961560
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124151
      
      Reviewed by Geoffrey Garen.
      
      The OperationsNotDeletable attribute currently doesn't have any effect, but will soon enforce
      non-configurability of operations on the interface that uses the attribute. Non-configurability
      of operations is the default behavior at the moment, but will be changed to follow the WebIDL
      specification which requires that the operations are configurable (i.e. -- in JSC terms -- deletable).
      IE and Firefox already exhibit this behavior in the majority of cases, while Chrome and Opera don't.
      
      The attribute remains in use on the Location interface to mimic the Unforgeable attribute which
      also makes operations of an interface non-configurable. Unforgeable attribute will be used instead
      when support for it will be added to the JSC bindings generator.
      
      * Modules/battery/BatteryManager.idl:
      * Modules/encryptedmedia/MediaKeySession.idl:
      * Modules/encryptedmedia/MediaKeys.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/geolocation/Geolocation.idl:
      * Modules/indexeddb/IDBCursor.idl:
      * Modules/indexeddb/IDBDatabase.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/indexeddb/IDBTransaction.idl:
      * Modules/indexeddb/IDBVersionChangeEvent.idl:
      * Modules/mediacontrols/MediaControlsHost.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBuffer.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamTrack.idl:
      * Modules/mediastream/RTCDTMFSender.idl:
      * Modules/mediastream/RTCDataChannel.idl:
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/mediastream/RTCStatsResponse.idl:
      * Modules/networkinfo/NetworkInfoConnection.idl:
      * Modules/notifications/Notification.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/proximity/DeviceProximityEvent.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/quota/StorageQuota.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechRecognitionResult.idl:
      * Modules/speech/SpeechRecognitionResultList.idl:
      * Modules/speech/SpeechSynthesis.idl:
      * Modules/webaudio/AnalyserNode.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioBufferSourceNode.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioListener.idl:
      * Modules/webaudio/AudioNode.idl:
      * Modules/webaudio/AudioParam.idl:
      * Modules/webaudio/BiquadFilterNode.idl:
      * Modules/webaudio/OscillatorNode.idl:
      * Modules/webaudio/PannerNode.idl:
      * Modules/webdatabase/Database.idl:
      * Modules/webdatabase/DatabaseSync.idl:
      * Modules/webdatabase/SQLResultSetRowList.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/SQLTransactionSync.idl:
      * Modules/websockets/WebSocket.idl:
      * crypto/CryptoKey.idl:
      * crypto/SubtleCrypto.idl:
      * css/CSSHostRule.idl:
      * css/CSSMediaRule.idl:
      * css/CSSPrimitiveValue.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSSupportsRule.idl:
      * css/CSSValueList.idl:
      * css/DOMWindowCSS.idl:
      * css/FontLoader.idl:
      * css/MediaList.idl:
      * css/MediaQueryList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * css/StyleSheet.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSFilterValue.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * css/WebKitCSSTransformValue.idl:
      * dom/CharacterData.idl:
      * dom/ChildNode.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.idl:
      * dom/CompositionEvent.idl:
      * dom/CustomEvent.idl:
      * dom/DOMCoreException.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMNamedFlowCollection.idl:
      * dom/DOMStringList.idl:
      * dom/DOMStringMap.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/DocumentFragment.idl:
      * dom/DocumentType.idl:
      * dom/Element.idl:
      * dom/Event.idl:
      * dom/EventException.idl:
      * dom/EventListener.idl:
      * dom/EventTarget.idl:
      * dom/HashChangeEvent.idl:
      * dom/KeyboardEvent.idl:
      * dom/MessageEvent.idl:
      * dom/MessagePort.idl:
      * dom/MouseEvent.idl:
      * dom/MutationEvent.idl:
      * dom/MutationObserver.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeIterator.idl:
      * dom/NodeList.idl:
      * dom/Range.idl:
      * dom/RangeException.idl:
      * dom/ShadowRoot.idl:
      * dom/Text.idl:
      * dom/TextEvent.idl:
      * dom/TouchEvent.idl:
      * dom/TouchList.idl:
      * dom/TreeWalker.idl:
      * dom/UIEvent.idl:
      * dom/WebKitNamedFlow.idl:
      * dom/WheelEvent.idl:
      * fileapi/Blob.idl:
      * fileapi/FileException.idl:
      * fileapi/FileList.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * html/DOMFormData.idl:
      * html/DOMSettableTokenList.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAnchorElement.idl:
      * html/HTMLButtonElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLFieldSetElement.idl:
      * html/HTMLFormControlsCollection.idl:
      * html/HTMLFormElement.idl:
      * html/HTMLFrameElement.idl:
      * html/HTMLIFrameElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLKeygenElement.idl:
      * html/HTMLMarqueeElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLObjectElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLOutputElement.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/HTMLVideoElement.idl:
      * html/MediaController.idl:
      * html/RadioNodeList.idl:
      * html/TimeRanges.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/DOMPath.idl:
      * html/canvas/EXTDrawBuffers.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLLoseContext.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * html/track/AudioTrackList.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackCueList.idl:
      * html/track/TextTrackList.idl:
      * html/track/TextTrackRegionList.idl:
      * html/track/VideoTrackList.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * page/Console.idl:
      * page/Crypto.idl:
      * page/DOMSecurityPolicy.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/EventSource.idl:
      * page/History.idl:
      * page/Navigator.idl:
      * page/Performance.idl:
      * page/PerformanceEntryList.idl:
      * page/SpeechInputResultList.idl:
      * page/WindowBase64.idl:
      * page/WindowTimers.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/Storage.idl:
      * storage/StorageEvent.idl:
      * svg/SVGAngle.idl:
      * svg/SVGAnimationElement.idl:
      * svg/SVGColor.idl:
      * svg/SVGCursorElement.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElement.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGException.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGGraphicsElement.idl:
      * svg/SVGLength.idl:
      * svg/SVGLengthList.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGMaskElement.idl:
      * svg/SVGMatrix.idl:
      * svg/SVGNumberList.idl:
      * svg/SVGPaint.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGPathSegList.idl:
      * svg/SVGPatternElement.idl:
      * svg/SVGPoint.idl:
      * svg/SVGPointList.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGStringList.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * svg/SVGTransform.idl:
      * svg/SVGTransformList.idl:
      * workers/DedicatedWorkerGlobalScope.idl:
      * workers/Worker.idl:
      * workers/WorkerGlobalScope.idl:
      * workers/WorkerLocation.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestException.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathException.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5961560
  2. 06 Oct, 2013 1 commit
    • zandobersek@gmail.com's avatar
      [WebIDL] Annotate IDL interfaces under Source/WebCore/page/ with the... · 71163cda
      zandobersek@gmail.com authored
      [WebIDL] Annotate IDL interfaces under Source/WebCore/page/ with the OperationsNotDeletable attribute
      https://bugs.webkit.org/show_bug.cgi?id=122278
      
      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/page/.
      
      * page/Console.idl:
      * page/Crypto.idl:
      * page/DOMSecurityPolicy.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/EventSource.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/Navigator.idl:
      * page/Performance.idl:
      * page/PerformanceEntryList.idl:
      * page/SpeechInputResultList.idl:
      * page/WindowBase64.idl:
      * page/WindowTimers.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71163cda
  3. 07 Jun, 2013 1 commit
    • ch.dumez@sisa.samsung.com's avatar
      Get rid of outdated raises() from Web IDL · b70b767c
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=117350
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Stop using "raises()" in the IDL as this is no longer part of the Web IDL
      specification. Web IDL no longer specifies exceptions for operations. Instead
      it is now explained in prose.
      
      WebKit still needs to know if the method can throw an exception (but does not
      need the exception name) so this patch adds a WebKit specific IDL extended
      attribute: [RaisesException]. The naming is consistent with Blink.
      
      This results in more standard and concise IDL. This also simplifies a lot
      the code of the IDL parser.
      
      No new tests, no behavior change.
      
      * Modules/battery/BatteryManager.idl:
      * Modules/encryptedmedia/MediaKeySession.idl:
      * Modules/encryptedmedia/MediaKeys.idl:
      * Modules/filesystem/DirectoryEntrySync.idl:
      * Modules/filesystem/DirectoryReaderSync.idl:
      * Modules/filesystem/EntrySync.idl:
      * Modules/filesystem/FileEntrySync.idl:
      * Modules/filesystem/FileWriter.idl:
      * Modules/filesystem/FileWriterSync.idl:
      * Modules/filesystem/WorkerContextFileSystem.idl:
      * Modules/indexeddb/IDBCursor.idl:
      * Modules/indexeddb/IDBDatabase.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/indexeddb/IDBRequest.idl:
      * Modules/indexeddb/IDBTransaction.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBuffer.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamTrack.idl:
      * Modules/mediastream/NavigatorMediaStream.idl:
      * Modules/mediastream/RTCDTMFSender.idl:
      * Modules/mediastream/RTCDataChannel.idl:
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
      * Modules/networkinfo/NetworkInfoConnection.idl:
      * Modules/notifications/Notification.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/speech/SpeechRecognition.idl:
      * Modules/vibration/NavigatorVibration.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioNode.idl:
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * Modules/webdatabase/DatabaseSync.idl:
      * Modules/webdatabase/WorkerContextWebDatabase.idl:
      * Modules/websockets/WebSocket.idl:
      * bindings/scripts/CodeGeneratorCPP.pm:
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorGObject.pm:
      (GenerateFunction):
      (GenerateFunctions):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateImplementation):
      (GenerateParametersCheck):
      (GenerateImplementationFunctionCall):
      (GenerateConstructorDefinition):
      * bindings/scripts/CodeGeneratorObjC.pm:
      (GenerateImplementation):
      * bindings/scripts/IDLAttributes.txt:
      * bindings/scripts/IDLParser.pm:
      (parseOperationRest):
      * bindings/scripts/test/TestEventTarget.idl:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/TestSupplemental.idl:
      * bindings/scripts/test/TestTypedefs.idl:
      * css/CSSHostRule.idl:
      * css/CSSMediaRule.idl:
      * css/CSSPrimitiveValue.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSSupportsRule.idl:
      * css/FontLoader.idl:
      * css/MediaList.idl:
      * css/WebKitCSSMatrix.idl:
      * dom/CharacterData.idl:
      * dom/DOMImplementation.idl:
      * dom/DataTransferItemList.idl:
      * dom/Document.idl:
      * dom/DocumentFragment.idl:
      * dom/DocumentType.idl:
      * dom/Element.idl:
      * dom/EventTarget.idl:
      * dom/MessagePort.idl:
      * dom/MutationObserver.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeIterator.idl:
      * dom/Range.idl:
      * dom/ShadowRoot.idl:
      * dom/Text.idl:
      * dom/WebKitNamedFlow.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * html/DOMTokenList.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLDialogElement.idl:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLFrameElement.idl:
      * html/HTMLIFrameElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLObjectElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/HTMLVideoElement.idl:
      * html/MediaController.idl:
      * html/TimeRanges.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/DOMPath.idl:
      * html/canvas/DataView.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * html/track/AudioTrackList.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackList.idl:
      * html/track/VideoTrackList.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * page/Crypto.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/EventSource.idl:
      * page/History.idl:
      * page/Performance.idl:
      * storage/Storage.idl:
      * svg/SVGAngle.idl:
      * svg/SVGAnimationElement.idl:
      * svg/SVGColor.idl:
      * svg/SVGDocument.idl:
      * svg/SVGLength.idl:
      * svg/SVGLengthList.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMatrix.idl:
      * svg/SVGNumberList.idl:
      * svg/SVGPaint.idl:
      * svg/SVGPathSegList.idl:
      * svg/SVGPointList.idl:
      * svg/SVGStringList.idl:
      * svg/SVGTextContentElement.idl:
      * svg/SVGTransformList.idl:
      * testing/InternalSettings.idl:
      * testing/Internals.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathExpression.idl:
      * xml/XPathResult.idl:
      
      Source/WebKit/win:
      
      Replace raises() by [RaisesException].
      
      * Interfaces/DOMEvents.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b70b767c
  4. 09 May, 2013 2 commits
    • ch.dumez@sisa.samsung.com's avatar
      [NoInterfaceObject] extended attribute should be removed for several interfaces · b973ffd0
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115852
      
      Reviewed by Benjamin Poulain.
      
      Source/WebCore:
      
      Remove [NoInterfaceObject] extended attribute from the following Web IDL
      interfaces: SecurityPolicy, History, Location, Navigator, Performance,
      PerformanceEntry, PerformanceMark, PerformanceMeasure, PerformanceNavigation,
      PerformanceResourceTiming, PerformanceTiming and Screen.
      
      These interfaces should not have the [NoInterfaceObject] extended attribute
      according to their respective specifications:
      - http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-history-interface
      - http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-location-interface
      - https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#securitypolicy
      - http://www.w3.org/html/wg/drafts/html/master/webappapis.html#the-navigator-object
      - http://www.w3.org/TR/navigation-timing/#performance
      - https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PerformanceTimeline/Overview.html#sec-PerformanceEntry-interface
      - http://www.w3.org/TR/navigation-timing/#performancenavigation
      - http://www.w3.org/TR/navigation-timing/#performancetiming
      - http://www.w3.org/TR/user-timing/#performancemark
      - http://www.w3.org/TR/user-timing/#performancemeasure
      - http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetiming
      - http://dev.w3.org/csswg/cssom-view/#the-screen-interface
      
      The new behavior is consistent with the specifications, Firefox and soon Blink.
      
      No new tests, already covered by existing tests.
      
      * page/DOMSecurityPolicy.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/Navigator.idl:
      * page/Performance.idl:
      * page/PerformanceEntry.idl:
      * page/PerformanceMark.idl:
      * page/PerformanceMeasure.idl:
      * page/PerformanceNavigation.idl:
      * page/PerformanceResourceTiming.idl:
      * page/PerformanceTiming.idl:
      * page/Screen.idl:
      
      LayoutTests:
      
      Rebaseline several layout tests whose output has changed now that a few more
      global constructors are exposed.
      
      * fast/dom/dom-constructors-expected.txt:
      * fast/js/global-constructors-attributes-expected.txt:
      * platform/efl/fast/js/global-constructors-attributes-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b973ffd0
    • ch.dumez@sisa.samsung.com's avatar
      Add support for [NoInterfaceObject] Web IDL extended attribute · 077c4e77
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115714
      
      Reviewed by Kentaro Hara.
      
      .:
      
      Update GENERATE_BINDINGS macro to take an additional _window_constructors_file
      optional argument.
      
      * Source/cmake/WebKitMacros.cmake:
      
      Source/WebCore:
      
      *Constructor attributes on the global DOMWindow object are now automatically
      generated for each non-callback interface that is not declared with the
      [NoInterfaceObject] extended attribute. It is thus no longer needed for
      developers to manually add *Constructor attributes for their new interfaces
      unless they wish to register an "extra" constructor for their interface.
      
      This patch does not modify at all the behavior on JS side. To achieve this,
      [NoInterfaceObject] extended attribute is added to interfaces that should
      not have it according to specification (e.g. History, Location, ...).
      This can be improved later as the behavior should not change with this
      patch.
      
      No new tests, no behavior change.
      
      * CMakeLists.txt:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.am:
      * GNUmakefile.list.am:
      * Modules/battery/BatteryManager.idl:
      * Modules/encryptedmedia/MediaKeyMessageEvent.idl:
      * Modules/encryptedmedia/MediaKeyNeededEvent.idl:
      * Modules/encryptedmedia/MediaKeySession.idl:
      * Modules/encryptedmedia/MediaKeys.idl:
      * Modules/filesystem/DOMFileSystem.idl:
      * Modules/filesystem/DOMFileSystemSync.idl:
      * Modules/filesystem/DirectoryEntry.idl:
      * Modules/filesystem/DirectoryEntrySync.idl:
      * Modules/filesystem/DirectoryReader.idl:
      * Modules/filesystem/DirectoryReaderSync.idl:
      * Modules/filesystem/Entry.idl:
      * Modules/filesystem/EntryArray.idl:
      * Modules/filesystem/EntryArraySync.idl:
      * Modules/filesystem/EntrySync.idl:
      * Modules/filesystem/FileEntry.idl:
      * Modules/filesystem/FileEntrySync.idl:
      * Modules/filesystem/FileWriter.idl:
      * Modules/filesystem/FileWriterSync.idl:
      * Modules/filesystem/Metadata.idl:
      * Modules/gamepad/Gamepad.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/geolocation/Coordinates.idl:
      * Modules/geolocation/Geolocation.idl:
      * Modules/geolocation/Geoposition.idl:
      * Modules/geolocation/PositionError.idl:
      * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
      * Modules/indexeddb/IDBAny.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBuffer.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/DOMWindowMediaStream.idl: Removed.
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamTrack.idl:
      * Modules/mediastream/MediaStreamTrackEvent.idl:
      * Modules/mediastream/NavigatorUserMediaError.idl:
      * Modules/mediastream/RTCDTMFSender.idl:
      * Modules/mediastream/RTCDTMFToneChangeEvent.idl:
      * Modules/mediastream/RTCDataChannel.idl:
      * Modules/mediastream/RTCDataChannelEvent.idl:
      * Modules/mediastream/RTCIceCandidateEvent.idl:
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/mediastream/RTCStatsResponse.idl:
      * Modules/networkinfo/NetworkInfoConnection.idl:
      * Modules/notifications/DOMWindowNotifications.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/quota/StorageQuota.idl:
      * Modules/speech/DOMWindowSpeech.idl: Removed.
      * Modules/speech/DOMWindowSpeechSynthesis.idl:
      * Modules/speech/SpeechGrammar.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechRecognitionAlternative.idl:
      * Modules/speech/SpeechRecognitionError.idl:
      * Modules/speech/SpeechRecognitionEvent.idl:
      * Modules/speech/SpeechRecognitionResult.idl:
      * Modules/speech/SpeechRecognitionResultList.idl:
      * Modules/speech/SpeechSynthesis.idl:
      * Modules/speech/SpeechSynthesisVoice.idl:
      * Modules/webaudio/AnalyserNode.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioBufferSourceNode.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioDestinationNode.idl:
      * Modules/webaudio/AudioListener.idl:
      * Modules/webaudio/AudioNode.idl:
      * Modules/webaudio/AudioParam.idl:
      * Modules/webaudio/AudioSourceNode.idl:
      * Modules/webaudio/BiquadFilterNode.idl:
      * Modules/webaudio/ChannelMergerNode.idl:
      * Modules/webaudio/ChannelSplitterNode.idl:
      * Modules/webaudio/ConvolverNode.idl:
      * Modules/webaudio/DOMWindowWebAudio.idl: Removed.
      * Modules/webaudio/DelayNode.idl:
      * Modules/webaudio/DynamicsCompressorNode.idl:
      * Modules/webaudio/GainNode.idl:
      * Modules/webaudio/MediaElementAudioSourceNode.idl:
      * Modules/webaudio/MediaStreamAudioDestinationNode.idl:
      * Modules/webaudio/MediaStreamAudioSourceNode.idl:
      * Modules/webaudio/OfflineAudioContext.idl:
      * Modules/webaudio/OscillatorNode.idl:
      * Modules/webaudio/PannerNode.idl:
      * Modules/webaudio/ScriptProcessorNode.idl:
      * Modules/webaudio/WaveShaperNode.idl:
      * Modules/webaudio/WaveTable.idl:
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * Modules/webdatabase/Database.idl:
      * Modules/webdatabase/DatabaseSync.idl:
      * Modules/webdatabase/SQLError.idl:
      * Modules/webdatabase/SQLResultSet.idl:
      * Modules/webdatabase/SQLResultSetRowList.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/SQLTransactionSync.idl:
      * Modules/websockets/DOMWindowWebSocket.idl: Removed.
      * Modules/websockets/WebSocket.idl:
      * PlatformBlackBerry.cmake:
      * UseJSC.cmake:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/scripts/IDLAttributes.txt:
      * bindings/scripts/IDLParser.pm:
      (parseTypedef):
      * bindings/scripts/preprocess-idls.pl:
      (GenerateConstructorAttribute):
      (getFileContents):
      (getPartialInterfaceNameFromIDL):
      (isCallbackInterfaceFromIDL):
      (trim):
      (getInterfaceExtendedAttributesFromIDL):
      * css/CSSFontFaceLoadEvent.idl:
      * css/CSSFontFaceRule.idl:
      * css/CSSSupportsRule.idl:
      * css/CSSUnknownRule.idl:
      * css/DOMWindowCSS.idl:
      * css/FontLoader.idl:
      * css/MediaQueryList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * dom/CustomElementConstructor.idl:
      * dom/DOMError.idl:
      * dom/DOMNamedFlowCollection.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/EventListener.idl:
      * dom/EventTarget.idl:
      * dom/NodeIterator.idl:
      * dom/ShadowRoot.idl:
      * dom/TreeWalker.idl:
      * dom/WebKitNamedFlow.idl:
      * fileapi/FileException.idl:
      * fileapi/FileReaderSync.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLDetailsElement.idl:
      * html/HTMLOptionElement.idl:
      * html/MediaError.idl:
      * html/MediaKeyError.idl:
      * html/MicroDataItemValue.idl:
      * html/RadioNodeList.idl:
      * html/ValidityState.idl:
      * html/canvas/CanvasRenderingContext.idl:
      * html/canvas/DOMPath.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/WebGLContextAttributes.idl:
      * html/canvas/WebGLDebugRendererInfo.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLDepthTexture.idl:
      * html/canvas/WebGLLoseContext.idl:
      * html/canvas/WebGLVertexArrayObjectOES.idl:
      * html/track/AudioTrack.idl:
      * html/track/AudioTrackList.idl:
      * html/track/TextTrackRegionList.idl:
      * html/track/VideoTrack.idl:
      * html/track/VideoTrackList.idl:
      * inspector/InjectedScriptHost.idl:
      * inspector/InspectorFrontendHost.idl:
      * inspector/JavaScriptCallFrame.idl:
      * inspector/ScriptProfile.idl:
      * inspector/ScriptProfileNode.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * page/AbstractView.idl:
      * page/BarInfo.idl:
      * page/Console.idl:
      * page/Crypto.idl:
      * page/DOMSecurityPolicy.idl:
      * page/DOMWindow.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/MemoryInfo.idl:
      * page/Navigator.idl:
      * page/PagePopupController.idl:
      * page/Performance.idl:
      * page/PerformanceEntry.idl:
      * page/PerformanceEntryList.idl:
      * page/PerformanceMark.idl:
      * page/PerformanceMeasure.idl:
      * page/PerformanceNavigation.idl:
      * page/PerformanceResourceTiming.idl:
      * page/PerformanceTiming.idl:
      * page/Screen.idl:
      * page/SpeechInputResult.idl:
      * page/SpeechInputResultList.idl:
      * page/WorkerNavigator.idl:
      * page/make_settings.pl:
      (generateInternalSettingsIdlFile):
      * svg/ElementTimeControl.idl:
      * svg/SVGAnimationElement.idl:
      * svg/SVGExternalResourcesRequired.idl:
      * svg/SVGFilterPrimitiveStandardAttributes.idl:
      * svg/SVGFitToViewBox.idl:
      * svg/SVGLangSpace.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGStyledElement.idl:
      * svg/SVGTests.idl:
      * svg/SVGTransformable.idl:
      * svg/SVGURIReference.idl:
      * testing/InternalSettings.idl:
      * testing/Internals.idl:
      * testing/MallocStatistics.idl:
      * testing/TypeConversions.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/SharedWorkerContext.idl:
      * workers/WorkerContext.idl:
      * workers/WorkerLocation.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      
      Tools:
      
      Update BindingsTests.generate_supplemental_dependency() to pass an
      additional windowConstructorsFile argument to preprocess-idls.pl.
      
      * Scripts/webkitpy/bindings/main.py:
      (BindingsTests.generate_supplemental_dependency):
      (BindingsTests.main):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      077c4e77
  5. 30 Apr, 2013 2 commits
    • ch.dumez@sisa.samsung.com's avatar
      Stop using "in" keyword in IDL files · b2986f1d
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115418
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      Stop using "in" keyword in IDL files as this is no longer part of the
      Web IDL specification and it brings no additional information.
      
      For now, the IDL parser will still accept the "in" keyword for operation
      argument to not break anything. However, we should remove support for it
      later on.
      
      No new tests, no behavior change.
      
      * Modules/battery/BatteryManager.idl:
      * Modules/encryptedmedia/MediaKeySession.idl:
      * Modules/encryptedmedia/MediaKeys.idl:
      * Modules/filesystem/DOMWindowFileSystem.idl:
      * Modules/filesystem/DirectoryEntry.idl:
      * Modules/filesystem/DirectoryEntrySync.idl:
      * Modules/filesystem/DirectoryReader.idl:
      * Modules/filesystem/EntriesCallback.idl:
      * Modules/filesystem/Entry.idl:
      * Modules/filesystem/EntryArray.idl:
      * Modules/filesystem/EntryArraySync.idl:
      * Modules/filesystem/EntryCallback.idl:
      * Modules/filesystem/EntrySync.idl:
      * Modules/filesystem/ErrorCallback.idl:
      * Modules/filesystem/FileCallback.idl:
      * Modules/filesystem/FileEntry.idl:
      * Modules/filesystem/FileSystemCallback.idl:
      * Modules/filesystem/FileWriter.idl:
      * Modules/filesystem/FileWriterCallback.idl:
      * Modules/filesystem/FileWriterSync.idl:
      * Modules/filesystem/MetadataCallback.idl:
      * Modules/filesystem/WorkerContextFileSystem.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/geolocation/Geolocation.idl:
      * Modules/geolocation/PositionCallback.idl:
      * Modules/geolocation/PositionErrorCallback.idl:
      * Modules/indexeddb/IDBCursor.idl:
      * Modules/indexeddb/IDBDatabase.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/indexeddb/IDBRequest.idl:
      * Modules/indexeddb/IDBTransaction.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBuffer.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamTrack.idl:
      * Modules/mediastream/NavigatorMediaStream.idl:
      * Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
      * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
      * Modules/mediastream/RTCDTMFSender.idl:
      * Modules/mediastream/RTCDataChannel.idl:
      * Modules/mediastream/RTCErrorCallback.idl:
      * Modules/mediastream/RTCIceCandidate.idl:
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCSessionDescription.idl:
      * Modules/mediastream/RTCSessionDescriptionCallback.idl:
      * Modules/mediastream/RTCStatsCallback.idl:
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/mediastream/RTCStatsResponse.idl:
      * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
      * Modules/networkinfo/NetworkInfoConnection.idl:
      * Modules/notifications/Notification.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/notifications/NotificationPermissionCallback.idl:
      * Modules/quota/StorageErrorCallback.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/quota/StorageQuota.idl:
      * Modules/quota/StorageQuotaCallback.idl:
      * Modules/quota/StorageUsageCallback.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechRecognitionResult.idl:
      * Modules/speech/SpeechRecognitionResultList.idl:
      * Modules/speech/SpeechSynthesisUtterance.idl:
      * Modules/vibration/NavigatorVibration.idl:
      * Modules/webaudio/AnalyserNode.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioBufferCallback.idl:
      * Modules/webaudio/AudioBufferSourceNode.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioListener.idl:
      * Modules/webaudio/AudioNode.idl:
      * Modules/webaudio/AudioParam.idl:
      * Modules/webaudio/BiquadFilterNode.idl:
      * Modules/webaudio/OfflineAudioContext.idl:
      * Modules/webaudio/OscillatorNode.idl:
      * Modules/webaudio/PannerNode.idl:
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * Modules/webdatabase/Database.idl:
      * Modules/webdatabase/DatabaseCallback.idl:
      * Modules/webdatabase/DatabaseSync.idl:
      * Modules/webdatabase/SQLResultSetRowList.idl:
      * Modules/webdatabase/SQLStatementCallback.idl:
      * Modules/webdatabase/SQLStatementErrorCallback.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/SQLTransactionCallback.idl:
      * Modules/webdatabase/SQLTransactionErrorCallback.idl:
      * Modules/webdatabase/SQLTransactionSync.idl:
      * Modules/webdatabase/SQLTransactionSyncCallback.idl:
      * Modules/webdatabase/WorkerContextWebDatabase.idl:
      * Modules/websockets/WebSocket.idl:
      * bindings/scripts/test/TestCallback.idl:
      * bindings/scripts/test/TestCustomNamedGetter.idl:
      * bindings/scripts/test/TestDomainSecurity.idl:
      * bindings/scripts/test/TestEventTarget.idl:
      * bindings/scripts/test/TestInterface.idl:
      * bindings/scripts/test/TestMediaQueryListListener.idl:
      * bindings/scripts/test/TestNamedConstructor.idl:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/TestOverloadedConstructors.idl:
      * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
      * bindings/scripts/test/TestSupplemental.idl:
      * bindings/scripts/test/TestTypedArray.idl:
      * bindings/scripts/test/TestTypedefs.idl:
      * css/CSSHostRule.idl:
      * css/CSSMediaRule.idl:
      * css/CSSPrimitiveValue.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSSupportsRule.idl:
      * css/CSSValueList.idl:
      * css/FontLoader.idl:
      * css/MediaList.idl:
      * css/MediaQueryList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * dom/CharacterData.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.idl:
      * dom/CompositionEvent.idl:
      * dom/CustomEvent.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMNamedFlowCollection.idl:
      * dom/DOMStringList.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/DocumentFragment.idl:
      * dom/Element.idl:
      * dom/Event.idl:
      * dom/EventListener.idl:
      * dom/EventTarget.idl:
      * dom/HashChangeEvent.idl:
      * dom/KeyboardEvent.idl:
      * dom/MessageEvent.idl:
      * dom/MessagePort.idl:
      * dom/MouseEvent.idl:
      * dom/MutationEvent.idl:
      * dom/MutationObserver.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeList.idl:
      * dom/OverflowEvent.idl:
      * dom/PropertyNodeList.idl:
      * dom/Range.idl:
      * dom/RequestAnimationFrameCallback.idl:
      * dom/ShadowRoot.idl:
      * dom/StringCallback.idl:
      * dom/Text.idl:
      * dom/TextEvent.idl:
      * dom/TouchEvent.idl:
      * dom/TouchList.idl:
      * dom/UIEvent.idl:
      * dom/WebKitNamedFlow.idl:
      * dom/WheelEvent.idl:
      * fileapi/Blob.idl:
      * fileapi/FileList.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * html/DOMFormData.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLButtonElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLFieldSetElement.idl:
      * html/HTMLFormControlsCollection.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLKeygenElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLObjectElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLOutputElement.idl:
      * html/HTMLPropertiesCollection.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/MediaController.idl:
      * html/TimeRanges.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/DOMPath.idl:
      * html/canvas/DataView.idl:
      * html/canvas/EXTDrawBuffers.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * html/track/AudioTrackList.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackCueList.idl:
      * html/track/TextTrackList.idl:
      * html/track/TextTrackRegionList.idl:
      * html/track/VideoTrackList.idl:
      * inspector/InjectedScriptHost.idl:
      * inspector/InspectorFrontendHost.idl:
      * inspector/JavaScriptCallFrame.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * page/Console.idl:
      * page/Crypto.idl:
      * page/DOMSecurityPolicy.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/EventSource.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/PagePopupController.idl:
      * page/Performance.idl:
      * page/PerformanceEntryList.idl:
      * page/SpeechInputResultList.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/Storage.idl:
      * storage/StorageEvent.idl:
      * svg/ElementTimeControl.idl:
      * svg/SVGAngle.idl:
      * svg/SVGColor.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGLength.idl:
      * svg/SVGLengthList.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGMatrix.idl:
      * svg/SVGNumberList.idl:
      * svg/SVGPaint.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGPathSegList.idl:
      * svg/SVGPoint.idl:
      * svg/SVGPointList.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGStringList.idl:
      * svg/SVGStyledElement.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * svg/SVGTransform.idl:
      * svg/SVGTransformList.idl:
      * testing/InternalSettings.idl:
      * testing/Internals.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      
      Source/WebKit/win:
      
      Remove "in" keyword from IDL files as this is no longer part of the Web
      IDL specification.
      
      * Interfaces/DOMEvents.idl:
      * Interfaces/DOMPrivate.idl:
      * Interfaces/DOMWindow.idl:
      
      Tools:
      
      Remove "in" keyword from IDL files as this is no longer part of the Web
      IDL specification.
      
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarker.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarkerRange.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/GCController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2986f1d
    • ch.dumez@sisa.samsung.com's avatar
      Replace "Optional" extended attribute by proper Web IDL "optional" keyword · 3463b187
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115380
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      Replace [Optional] with standard WebIDL optional type prefix:
      http://dev.w3.org/2006/webapi/WebIDL/#dfn-optional-argument
      
      The default behavior now matches WebIDL: [Optional] => optional
      
      Two cases where WebKit has extended bindings behavior still
      require a non-standard IDL attribute:
      [Optional=DefaultIsNullString] => [Default=NullString] optional
      [Optional=DefaultIsUndefined] => [Default=Undefined] optional
      
      Based on corresponding Blink patch from Joshua Bell for compatibility.
      
      No new tests, no behavior change.
      
      * Modules/battery/BatteryManager.idl:
      * Modules/encryptedmedia/MediaKeySession.idl:
      * Modules/encryptedmedia/MediaKeys.idl:
      * Modules/filesystem/DOMWindowFileSystem.idl:
      * Modules/filesystem/DirectoryEntry.idl:
      * Modules/filesystem/DirectoryReader.idl:
      * Modules/filesystem/Entry.idl:
      * Modules/filesystem/FileEntry.idl:
      * Modules/filesystem/FileWriter.idl:
      * Modules/filesystem/WorkerContextFileSystem.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/geolocation/Geolocation.idl:
      * Modules/indexeddb/IDBCursor.idl:
      * Modules/indexeddb/IDBDatabase.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/indexeddb/IDBRequest.idl:
      * Modules/indexeddb/IDBTransaction.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamTrack.idl:
      * Modules/mediastream/NavigatorMediaStream.idl:
      * Modules/mediastream/RTCDTMFSender.idl:
      * Modules/mediastream/RTCDataChannel.idl:
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCStatsResponse.idl:
      * Modules/networkinfo/NetworkInfoConnection.idl:
      * Modules/notifications/Notification.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/quota/StorageQuota.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechSynthesisUtterance.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioNode.idl:
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * Modules/webdatabase/Database.idl:
      * Modules/webdatabase/DatabaseSync.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/WorkerContextWebDatabase.idl:
      * Modules/websockets/WebSocket.idl:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GetFunctionLength):
      (GenerateFunctionParametersCheck):
      (GenerateArgumentsCountCheck):
      (GenerateParametersCheck):
      (GenerateConstructorDefinition):
      * bindings/scripts/IDLAttributes.txt:
      * bindings/scripts/IDLParser.pm:
      (parseOptionalOrRequiredArgument):
      * bindings/scripts/test/TestEventTarget.idl:
      * bindings/scripts/test/TestInterface.idl:
      * bindings/scripts/test/TestNamedConstructor.idl:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
      * bindings/scripts/test/TestTypedefs.idl: optional cannot be used in a typedef.
      * css/CSSHostRule.idl:
      * css/CSSMediaRule.idl:
      * css/CSSPrimitiveValue.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSSupportsRule.idl:
      * css/CSSValueList.idl:
      * css/FontLoader.idl:
      * css/MediaList.idl:
      * css/MediaQueryList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * dom/CharacterData.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.idl:
      * dom/CompositionEvent.idl:
      * dom/CustomEvent.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMStringList.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/Element.idl:
      * dom/Event.idl:
      * dom/EventTarget.idl:
      * dom/HashChangeEvent.idl:
      * dom/KeyboardEvent.idl:
      * dom/MessageEvent.idl:
      * dom/MessagePort.idl:
      * dom/MouseEvent.idl:
      * dom/MutationEvent.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeList.idl:
      * dom/OverflowEvent.idl:
      * dom/Range.idl:
      * dom/ShadowRoot.idl:
      * dom/Text.idl:
      * dom/TextEvent.idl:
      * dom/TouchEvent.idl:
      * dom/UIEvent.idl:
      * dom/WebKitNamedFlow.idl:
      * dom/WheelEvent.idl:
      * fileapi/Blob.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * html/DOMFormData.idl:
      * html/DOMTokenList.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLFormControlsCollection.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/MediaController.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/DOMPath.idl:
      * html/canvas/DataView.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/track/AudioTrackList.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackList.idl:
      * html/track/VideoTrackList.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/EventSource.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/Performance.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/StorageEvent.idl:
      * svg/ElementTimeControl.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGStyledElement.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * testing/Internals.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      
      Source/WebKit/win:
      
      Replace [Optional] by optional.
      
      * Interfaces/DOMWindow.idl:
      
      Tools:
      
      Replace WebKit-specific [Optional] extended attribute by Web IDL "optional"
      keyword.
      
      * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3463b187
  6. 17 Apr, 2013 1 commit
    • mjs@apple.com's avatar
      Replace JSC-specific IDL extended attributes with generic (JSC+V8) ones, now... · bfd58303
      mjs@apple.com authored
      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:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfd58303
  7. 06 Apr, 2013 1 commit
    • weinig@apple.com's avatar
      Removed v8 bindings hooks from IDL files · 007c2427
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114091
      
      Patch by Geoffrey Garen <ggaren@apple.com> on 2013-04-06
      Reviewed by Anders Carlsson and Sam Weinig.
      
      Source/JavaScriptCore: 
      
      * heap/HeapStatistics.h:
      
      Source/WebCore: 
      
      * Modules/encryptedmedia/MediaKeySession.idl:
      * Modules/filesystem/DOMWindowFileSystem.idl:
      * Modules/filesystem/WorkerContextFileSystem.idl:
      * Modules/gamepad/NavigatorGamepad.idl:
      * Modules/geolocation/NavigatorGeolocation.idl:
      * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
      * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
      * Modules/mediastream/DOMWindowMediaStream.idl:
      * Modules/mediastream/NavigatorMediaStream.idl:
      * Modules/notifications/DOMWindowNotifications.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/notifications/WorkerContextNotifications.idl:
      * Modules/quota/DOMWindowQuota.idl:
      * Modules/speech/DOMWindowSpeech.idl:
      * Modules/webaudio/AudioBufferSourceNode.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioParam.idl:
      * Modules/webaudio/DOMWindowWebAudio.idl:
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * Modules/webdatabase/WorkerContextWebDatabase.idl:
      * Modules/websockets/DOMWindowWebSocket.idl:
      * Modules/websockets/WorkerContextWebSocket.idl:
      * bindings/js/JSDOMBinding.cpp:
      * bindings/js/ScriptController.h:
      (ScriptController):
      * bindings/scripts/test/TestNode.idl:
      * bindings/scripts/test/TestObj.idl:
      * css/CSSFontFaceLoadEvent.idl:
      * css/CSSHostRule.idl:
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSValue.idl:
      * css/FontLoader.idl:
      * css/StyleSheet.idl:
      * css/WebKitCSSRegionRule.idl:
      * dom/Clipboard.idl:
      * dom/CustomElementConstructor.idl:
      * dom/CustomEvent.idl:
      * dom/DOMNamedFlowCollection.idl:
      * dom/DOMStringMap.idl:
      * dom/DataTransferItemList.idl:
      * dom/Document.idl:
      * dom/DocumentFragment.idl:
      * dom/Element.idl:
      * dom/Event.idl:
      * dom/EventTarget.idl:
      * dom/MessageChannel.idl:
      * dom/MouseEvent.idl:
      * dom/MutationRecord.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeList.idl:
      * dom/RequestAnimationFrameCallback.idl:
      * dom/ShadowRoot.idl:
      * dom/Text.idl:
      * history/HistoryItem.cpp:
      (WebCore::HistoryItem::encodeBackForwardTreeNode):
      (WebCore::HistoryItem::decodeBackForwardTree):
      * html/DOMSettableTokenList.idl:
      * html/DOMTokenList.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAppletElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDialogElement.idl:
      * html/HTMLDivElement.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLFormControlsCollection.idl:
      * html/HTMLFormElement.idl:
      * html/HTMLImageElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLObjectElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLSpanElement.idl:
      * html/HTMLStyleElement.idl:
      * html/HTMLTemplateElement.idl:
      * html/HTMLTrackElement.idl:
      * html/HTMLUnknownElement.idl:
      * html/MediaKeyError.idl:
      * html/MediaKeyEvent.idl:
      * html/MicroDataItemValue.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/DOMPath.idl:
      * html/shadow/HTMLContentElement.idl:
      * html/shadow/HTMLShadowElement.idl:
      * html/track/TextTrack.idl:
      * inspector/InjectedScriptHost.idl:
      * inspector/InspectorIndexedDBAgent.cpp:
      (WebCore::InspectorIndexedDBAgent::requestDatabaseNames):
      (WebCore::InspectorIndexedDBAgent::requestDatabase):
      (WebCore::InspectorIndexedDBAgent::requestData):
      (WebCore::InspectorIndexedDBAgent::clearObjectStore):
      (WebCore):
      * loader/EmptyClients.h:
      (EmptyFrameLoaderClient):
      * loader/FrameLoaderClient.h:
      (FrameLoaderClient):
      * page/Console.idl:
      * page/DOMWindow.idl:
      * page/DOMWindowPagePopup.idl:
      * page/History.idl:
      * page/Location.idl:
      * platform/graphics/skia/PatternSkia.cpp:
      (WebCore::Pattern::platformDestroy):
      (WebCore::Pattern::platformPattern):
      * testing/Internals.cpp:
      (WebCore::Internals::serializeObject):
      (WebCore::Internals::deserializeBuffer):
      
      Source/WTF: 
      
      * wtf/ArrayBuffer.h:
      (WTF):
      (WTF::ArrayBufferContents::ArrayBufferContents):
      (WTF::ArrayBufferContents::transfer):
      (ArrayBufferContents):
      (ArrayBuffer):
      (WTF::ArrayBufferContents::~ArrayBufferContents):
      * wtf/Platform.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      007c2427
  8. 24 Oct, 2012 1 commit
    • mihaip@chromium.org's avatar
      [Chromium] Allow pushState and related history APIs to be disabled per context · c23704fe
      mihaip@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99780
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Chrome Apps do not support the history API (or navigation in general).
      Since pushState is generally feature detected, it's cleanest to disable
      it via a V8 per-context feature, so that applications can have the
      appropriate fallback behavior (other history APIs are re-mapped to throw
      exceptions, since history.back() and the link are not feature detected).
      
      * dom/ContextFeatures.cpp:
      (WebCore::ContextFeatures::pushStateEnabled):
      (WebCore):
      * dom/ContextFeatures.h:
      * dom/Document.cpp:
      (WebCore::Document::enqueuePopstateEvent):
      * page/History.idl:
      
      Source/WebKit/chromium:
      
      Add pushState context feature.
      
      * public/WebPermissionClient.h:
      (WebPermissionClient):
      (WebKit::WebPermissionClient::allowPushState):
      * src/ContextFeaturesClientImpl.cpp:
      (WebKit::ContextFeaturesClientImpl::askIfIsEnabled):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132421 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c23704fe
  9. 12 Oct, 2012 2 commits
    • commit-queue@webkit.org's avatar
      [WebKit IDL] move extended attributes to left of interface, exception... · a4d60d13
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99012
      
      Patch by Takashi Sakamoto <tasak@google.com> on 2012-10-12
      Reviewed by Kentaro Hara.
      
      According to WebIDL spec, moved all extended attributes to the left
      of interface / attribute / readonly attribute / exception.
      
      No new tests. I ran run-bindings-tests and all tests passed.
      
      * Modules/battery/BatteryManager.idl:
      * Modules/battery/NavigatorBattery.idl:
      * Modules/filesystem/DOMFileSystem.idl:
      * Modules/filesystem/DOMFileSystemSync.idl:
      * Modules/filesystem/DOMWindowFileSystem.idl:
      * Modules/filesystem/DataTransferItemFileSystem.idl:
      * Modules/filesystem/DirectoryEntry.idl:
      * Modules/filesystem/DirectoryEntrySync.idl:
      * Modules/filesystem/DirectoryReader.idl:
      * Modules/filesystem/DirectoryReaderSync.idl:
      * Modules/filesystem/EntriesCallback.idl:
      * Modules/filesystem/Entry.idl:
      * Modules/filesystem/EntryArray.idl:
      * Modules/filesystem/EntryArraySync.idl:
      * Modules/filesystem/EntryCallback.idl:
      * Modules/filesystem/EntrySync.idl:
      * Modules/filesystem/ErrorCallback.idl:
      * Modules/filesystem/FileCallback.idl:
      * Modules/filesystem/FileEntry.idl:
      * Modules/filesystem/FileEntrySync.idl:
      * Modules/filesystem/FileSystemCallback.idl:
      * Modules/filesystem/FileWriter.idl:
      * Modules/filesystem/FileWriterCallback.idl:
      * Modules/filesystem/FileWriterSync.idl:
      * Modules/filesystem/HTMLInputElementFileSystem.idl:
      * Modules/filesystem/Metadata.idl:
      * Modules/filesystem/MetadataCallback.idl:
      * Modules/filesystem/WorkerContextFileSystem.idl:
      * Modules/gamepad/Gamepad.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/gamepad/NavigatorGamepad.idl:
      * Modules/geolocation/Geolocation.idl:
      * Modules/geolocation/Geoposition.idl:
      * Modules/geolocation/NavigatorGeolocation.idl:
      * Modules/geolocation/PositionCallback.idl:
      * Modules/geolocation/PositionError.idl:
      * Modules/geolocation/PositionErrorCallback.idl:
      * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
      * Modules/indexeddb/IDBAny.idl:
      * Modules/indexeddb/IDBCursor.idl:
      * Modules/indexeddb/IDBCursorWithValue.idl:
      * Modules/indexeddb/IDBDatabase.idl:
      * Modules/indexeddb/IDBDatabaseException.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKey.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/indexeddb/IDBOpenDBRequest.idl:
      * Modules/indexeddb/IDBRequest.idl:
      * Modules/indexeddb/IDBTransaction.idl:
      * Modules/indexeddb/IDBUpgradeNeededEvent.idl:
      * Modules/indexeddb/IDBVersionChangeEvent.idl:
      * Modules/indexeddb/IDBVersionChangeRequest.idl:
      * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
      * Modules/intents/DOMWindowIntents.idl:
      * Modules/intents/DeliveredIntent.idl:
      * Modules/intents/NavigatorIntents.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBuffer.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/DOMWindowMediaStream.idl:
      * Modules/mediastream/IceCallback.idl:
      * Modules/mediastream/IceCandidate.idl:
      * Modules/mediastream/LocalMediaStream.idl:
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamEvent.idl:
      * Modules/mediastream/MediaStreamList.idl:
      * Modules/mediastream/MediaStreamTrack.idl:
      * Modules/mediastream/MediaStreamTrackEvent.idl:
      * Modules/mediastream/MediaStreamTrackList.idl:
      * Modules/mediastream/NavigatorMediaStream.idl:
      * Modules/mediastream/NavigatorUserMediaError.idl:
      * Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
      * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
      * Modules/mediastream/PeerConnection00.idl:
      * Modules/mediastream/RTCErrorCallback.idl:
      * Modules/mediastream/RTCIceCandidate.idl:
      * Modules/mediastream/RTCIceCandidateEvent.idl:
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCSessionDescription.idl:
      * Modules/mediastream/RTCSessionDescriptionCallback.idl:
      * Modules/mediastream/RTCStatsCallback.idl:
      * Modules/mediastream/RTCStatsElement.idl:
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/mediastream/RTCStatsResponse.idl:
      * Modules/mediastream/SessionDescription.idl:
      * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
      * Modules/networkinfo/NavigatorNetworkInfoConnection.idl:
      * Modules/networkinfo/NetworkInfoConnection.idl:
      * Modules/notifications/DOMWindowNotifications.idl:
      * Modules/notifications/Notification.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/notifications/NotificationPermissionCallback.idl:
      * Modules/notifications/WorkerContextNotifications.idl:
      * Modules/proximity/DeviceProximityEvent.idl:
      * Modules/quota/DOMWindowQuota.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/quota/StorageInfoErrorCallback.idl:
      * Modules/quota/StorageInfoQuotaCallback.idl:
      * Modules/quota/StorageInfoUsageCallback.idl:
      * Modules/speech/DOMWindowSpeech.idl:
      * Modules/speech/SpeechGrammar.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechRecognitionAlternative.idl:
      * Modules/speech/SpeechRecognitionError.idl:
      * Modules/speech/SpeechRecognitionEvent.idl:
      * Modules/speech/SpeechRecognitionResult.idl:
      * Modules/speech/SpeechRecognitionResultList.idl:
      * Modules/vibration/NavigatorVibration.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioBufferCallback.idl:
      * Modules/webaudio/AudioBufferSourceNode.idl:
      * Modules/webaudio/AudioChannelMerger.idl:
      * Modules/webaudio/AudioChannelSplitter.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioDestinationNode.idl:
      * Modules/webaudio/AudioGain.idl:
      * Modules/webaudio/AudioGainNode.idl:
      * Modules/webaudio/AudioListener.idl:
      * Modules/webaudio/AudioNode.idl:
      * Modules/webaudio/AudioPannerNode.idl:
      * Modules/webaudio/AudioParam.idl:
      * Modules/webaudio/AudioProcessingEvent.idl:
      * Modules/webaudio/AudioSourceNode.idl:
      * Modules/webaudio/BiquadFilterNode.idl:
      * Modules/webaudio/ConvolverNode.idl:
      * Modules/webaudio/DOMWindowWebAudio.idl:
      * Modules/webaudio/DelayNode.idl:
      * Modules/webaudio/DynamicsCompressorNode.idl:
      * Modules/webaudio/JavaScriptAudioNode.idl:
      * Modules/webaudio/MediaElementAudioSourceNode.idl:
      * Modules/webaudio/MediaStreamAudioSourceNode.idl:
      * Modules/webaudio/OfflineAudioCompletionEvent.idl:
      * Modules/webaudio/Oscillator.idl:
      * Modules/webaudio/RealtimeAnalyserNode.idl:
      * Modules/webaudio/WaveShaperNode.idl:
      * Modules/webaudio/WaveTable.idl:
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * Modules/webdatabase/Database.idl:
      * Modules/webdatabase/DatabaseCallback.idl:
      * Modules/webdatabase/DatabaseSync.idl:
      * Modules/webdatabase/SQLError.idl:
      * Modules/webdatabase/SQLException.idl:
      * Modules/webdatabase/SQLResultSet.idl:
      * Modules/webdatabase/SQLResultSetRowList.idl:
      * Modules/webdatabase/SQLStatementCallback.idl:
      * Modules/webdatabase/SQLStatementErrorCallback.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/SQLTransactionCallback.idl:
      * Modules/webdatabase/SQLTransactionErrorCallback.idl:
      * Modules/webdatabase/SQLTransactionSync.idl:
      * Modules/webdatabase/SQLTransactionSyncCallback.idl:
      * Modules/webdatabase/WorkerContextWebDatabase.idl:
      * Modules/websockets/CloseEvent.idl:
      * Modules/websockets/DOMWindowWebSocket.idl:
      * Modules/websockets/WebSocket.idl:
      * Modules/websockets/WorkerContextWebSocket.idl:
      * bindings/scripts/test/TestCallback.idl:
      * bindings/scripts/test/TestCustomNamedGetter.idl:
      * bindings/scripts/test/TestDomainSecurity.idl:
      * bindings/scripts/test/TestEventConstructor.idl:
      * bindings/scripts/test/TestEventTarget.idl:
      * bindings/scripts/test/TestInterface.idl:
      * bindings/scripts/test/TestNamedConstructor.idl:
      * bindings/scripts/test/TestNode.idl:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
      * bindings/scripts/test/TestSupplemental.idl:
      * bindings/scripts/test/TestTypedArray.idl:
      * css/CSSCharsetRule.idl:
      * css/CSSImportRule.idl:
      * css/CSSPageRule.idl:
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleRule.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSUnknownRule.idl:
      * css/CSSValue.idl:
      * css/CSSValueList.idl:
      * css/MediaList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * css/StyleSheet.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSFilterValue.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * css/WebKitCSSRegionRule.idl:
      * css/WebKitCSSTransformValue.idl:
      * dom/Attr.idl:
      * dom/BeforeLoadEvent.idl:
      * dom/CharacterData.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.idl:
      * dom/CustomEvent.idl:
      * dom/DOMCoreException.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMNamedFlowCollection.idl:
      * dom/DOMStringList.idl:
      * dom/DOMStringMap.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/DocumentType.idl:
      * dom/Element.idl:
      * dom/Entity.idl:
      * dom/ErrorEvent.idl:
      * dom/Event.idl:
      * dom/EventException.idl:
      * dom/EventListener.idl:
      * dom/EventTarget.idl:
      * dom/HashChangeEvent.idl:
      * dom/MessageChannel.idl:
      * dom/MessageEvent.idl:
      * dom/MessagePort.idl:
      * dom/MouseEvent.idl:
      * dom/MutationCallback.idl:
      * dom/MutationObserver.idl:
      * dom/MutationRecord.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeIterator.idl:
      * dom/NodeList.idl:
      * dom/Notation.idl:
      * dom/OverflowEvent.idl:
      * dom/PageTransitionEvent.idl:
      * dom/PopStateEvent.idl:
      * dom/ProcessingInstruction.idl:
      * dom/ProgressEvent.idl:
      * dom/PropertyNodeList.idl:
      * dom/RangeException.idl:
      * dom/RequestAnimationFrameCallback.idl:
      * dom/ShadowRoot.idl:
      * dom/StringCallback.idl:
      * dom/Touch.idl:
      * dom/TouchEvent.idl:
      * dom/TouchList.idl:
      * dom/TreeWalker.idl:
      * dom/WebKitAnimationEvent.idl:
      * dom/WebKitNamedFlow.idl:
      * dom/WebKitTransitionEvent.idl:
      * editing/DOMTransaction.idl:
      * editing/UndoManager.idl:
      * fileapi/Blob.idl:
      * fileapi/File.idl:
      * fileapi/FileError.idl:
      * fileapi/FileException.idl:
      * fileapi/FileList.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * html/DOMFormData.idl:
      * html/DOMSettableTokenList.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAnchorElement.idl:
      * html/HTMLAppletElement.idl:
      * html/HTMLAreaElement.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLBRElement.idl:
      * html/HTMLBaseElement.idl:
      * html/HTMLBaseFontElement.idl:
      * html/HTMLBodyElement.idl:
      * html/HTMLButtonElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDListElement.idl:
      * html/HTMLDataListElement.idl:
      * html/HTMLDetailsElement.idl:
      * html/HTMLDialogElement.idl:
      * html/HTMLDirectoryElement.idl:
      * html/HTMLDivElement.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLFieldSetElement.idl:
      * html/HTMLFontElement.idl:
      * html/HTMLFormElement.idl:
      * html/HTMLFrameElement.idl:
      * html/HTMLFrameSetElement.idl:
      * html/HTMLHRElement.idl:
      * html/HTMLHeadElement.idl:
      * html/HTMLHeadingElement.idl:
      * html/HTMLHtmlElement.idl:
      * html/HTMLIFrameElement.idl:
      * html/HTMLImageElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLIntentElement.idl:
      * html/HTMLKeygenElement.idl:
      * html/HTMLLIElement.idl:
      * html/HTMLLabelElement.idl:
      * html/HTMLLegendElement.idl:
      * html/HTMLLinkElement.idl:
      * html/HTMLMapElement.idl:
      * html/HTMLMarqueeElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLMenuElement.idl:
      * html/HTMLMetaElement.idl:
      * html/HTMLMeterElement.idl:
      * html/HTMLModElement.idl:
      * html/HTMLOListElement.idl:
      * html/HTMLObjectElement.idl:
      * html/HTMLOptGroupElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLOutputElement.idl:
      * html/HTMLParagraphElement.idl:
      * html/HTMLParamElement.idl:
      * html/HTMLPreElement.idl:
      * html/HTMLProgressElement.idl:
      * html/HTMLPropertiesCollection.idl:
      * html/HTMLQuoteElement.idl:
      * html/HTMLScriptElement.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLSourceElement.idl:
      * html/HTMLStyleElement.idl:
      * html/HTMLTableCaptionElement.idl:
      * html/HTMLTableCellElement.idl:
      * html/HTMLTableColElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/HTMLTitleElement.idl:
      * html/HTMLTrackElement.idl:
      * html/HTMLUListElement.idl:
      * html/HTMLVideoElement.idl:
      * html/ImageData.idl:
      * html/MediaController.idl:
      * html/MediaError.idl:
      * html/MediaKeyError.idl:
      * html/MediaKeyEvent.idl:
      * html/MicroDataItemValue.idl:
      * html/RadioNodeList.idl:
      * html/TimeRanges.idl:
      * html/ValidityState.idl:
      * html/VoidCallback.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/CanvasRenderingContext.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/DataView.idl:
      * html/canvas/EXTTextureFilterAnisotropic.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESStandardDerivatives.idl:
      * html/canvas/OESTextureFloat.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLActiveInfo.idl:
      * html/canvas/WebGLBuffer.idl:
      * html/canvas/WebGLCompressedTextureS3TC.idl:
      * html/canvas/WebGLContextAttributes.idl:
      * html/canvas/WebGLContextEvent.idl:
      * html/canvas/WebGLDebugRendererInfo.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLDepthTexture.idl:
      * html/canvas/WebGLFramebuffer.idl:
      * html/canvas/WebGLLoseContext.idl:
      * html/canvas/WebGLProgram.idl:
      * html/canvas/WebGLRenderbuffer.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * html/canvas/WebGLShader.idl:
      * html/canvas/WebGLShaderPrecisionFormat.idl:
      * html/canvas/WebGLTexture.idl:
      * html/canvas/WebGLUniformLocation.idl:
      * html/canvas/WebGLVertexArrayObjectOES.idl:
      * html/shadow/HTMLContentElement.idl:
      * html/shadow/HTMLShadowElement.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackCueList.idl:
      * html/track/TextTrackList.idl:
      * html/track/TrackEvent.idl:
      * inspector/InjectedScriptHost.idl:
      * inspector/InspectorFrontendHost.idl:
      * inspector/JavaScriptCallFrame.idl:
      * inspector/ScriptProfile.idl:
      * inspector/ScriptProfileNode.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * page/AbstractView.idl:
      * page/BarInfo.idl:
      * page/Console.idl:
      * page/Coordinates.idl:
      * page/Crypto.idl:
      * page/DOMSecurityPolicy.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/DOMWindowPagePopup.idl:
      * page/EventSource.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/MemoryInfo.idl:
      * page/Navigator.idl:
      * page/PagePopupController.idl:
      * page/Performance.idl:
      * page/PerformanceEntry.idl:
      * page/PerformanceEntryList.idl:
      * page/PerformanceNavigation.idl:
      * page/PerformanceResourceTiming.idl:
      * page/PerformanceTiming.idl:
      * page/Screen.idl:
      * page/SpeechInputEvent.idl:
      * page/SpeechInputResult.idl:
      * page/SpeechInputResultList.idl:
      * page/WebKitAnimation.idl:
      * page/WebKitAnimationList.idl:
      * page/WebKitPoint.idl:
      * page/WorkerNavigator.idl:
      * plugins/DOMMimeType.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/Storage.idl:
      * storage/StorageEvent.idl:
      * svg/ElementTimeControl.idl:
      * svg/SVGAElement.idl:
      * svg/SVGAltGlyphDefElement.idl:
      * svg/SVGAltGlyphElement.idl:
      * svg/SVGAltGlyphItemElement.idl:
      * svg/SVGAngle.idl:
      * svg/SVGAnimateColorElement.idl:
      * svg/SVGAnimateElement.idl:
      * svg/SVGAnimateMotionElement.idl:
      * svg/SVGAnimateTransformElement.idl:
      * svg/SVGAnimatedAngle.idl:
      * svg/SVGAnimatedBoolean.idl:
      * svg/SVGAnimatedEnumeration.idl:
      * svg/SVGAnimatedInteger.idl:
      * svg/SVGAnimatedLength.idl:
      * svg/SVGAnimatedLengthList.idl:
      * svg/SVGAnimatedNumber.idl:
      * svg/SVGAnimatedNumberList.idl:
      * svg/SVGAnimatedPreserveAspectRatio.idl:
      * svg/SVGAnimatedRect.idl:
      * svg/SVGAnimatedString.idl:
      * svg/SVGAnimatedTransformList.idl:
      * svg/SVGAnimationElement.idl:
      * svg/SVGCircleElement.idl:
      * svg/SVGClipPathElement.idl:
      * svg/SVGColor.idl:
      * svg/SVGComponentTransferFunctionElement.idl:
      * svg/SVGCursorElement.idl:
      * svg/SVGDefsElement.idl:
      * svg/SVGDescElement.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElement.idl:
      * svg/SVGElementInstance.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGEllipseElement.idl:
      * svg/SVGException.idl:
      * svg/SVGExternalResourcesRequired.idl:
      * svg/SVGFEBlendElement.idl:
      * svg/SVGFEColorMatrixElement.idl:
      * svg/SVGFEComponentTransferElement.idl:
      * svg/SVGFECompositeElement.idl:
      * svg/SVGFEConvolveMatrixElement.idl:
      * svg/SVGFEDiffuseLightingElement.idl:
      * svg/SVGFEDisplacementMapElement.idl:
      * svg/SVGFEDistantLightElement.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEFloodElement.idl:
      * svg/SVGFEFuncAElement.idl:
      * svg/SVGFEFuncBElement.idl:
      * svg/SVGFEFuncGElement.idl:
      * svg/SVGFEFuncRElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEImageElement.idl:
      * svg/SVGFEMergeElement.idl:
      * svg/SVGFEMergeNodeElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFEOffsetElement.idl:
      * svg/SVGFEPointLightElement.idl:
      * svg/SVGFESpecularLightingElement.idl:
      * svg/SVGFESpotLightElement.idl:
      * svg/SVGFETileElement.idl:
      * svg/SVGFETurbulenceElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGFilterPrimitiveStandardAttributes.idl:
      * svg/SVGFitToViewBox.idl:
      * svg/SVGFontElement.idl:
      * svg/SVGFontFaceElement.idl:
      * svg/SVGFontFaceFormatElement.idl:
      * svg/SVGFontFaceNameElement.idl:
      * svg/SVGFontFaceSrcElement.idl:
      * svg/SVGFontFaceUriElement.idl:
      * svg/SVGForeignObjectElement.idl:
      * svg/SVGGElement.idl:
      * svg/SVGGlyphElement.idl:
      * svg/SVGGlyphRefElement.idl:
      * svg/SVGGradientElement.idl:
      * svg/SVGHKernElement.idl:
      * svg/SVGImageElement.idl:
      * svg/SVGLangSpace.idl:
      * svg/SVGLength.idl:
      * svg/SVGLengthList.idl:
      * svg/SVGLineElement.idl:
      * svg/SVGLinearGradientElement.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMPathElement.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGMaskElement.idl:
      * svg/SVGMatrix.idl:
      * svg/SVGMetadataElement.idl:
      * svg/SVGMissingGlyphElement.idl:
      * svg/SVGNumber.idl:
      * svg/SVGNumberList.idl:
      * svg/SVGPaint.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGPathSeg.idl:
      * svg/SVGPathSegArcAbs.idl:
      * svg/SVGPathSegArcRel.idl:
      * svg/SVGPathSegClosePath.idl:
      * svg/SVGPathSegCurvetoCubicAbs.idl:
      * svg/SVGPathSegCurvetoCubicRel.idl:
      * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
      * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
      * svg/SVGPathSegCurvetoQuadraticAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticRel.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
      * svg/SVGPathSegLinetoAbs.idl:
      * svg/SVGPathSegLinetoHorizontalAbs.idl:
      * svg/SVGPathSegLinetoHorizontalRel.idl:
      * svg/SVGPathSegLinetoRel.idl:
      * svg/SVGPathSegLinetoVerticalAbs.idl:
      * svg/SVGPathSegLinetoVerticalRel.idl:
      * svg/SVGPathSegList.idl:
      * svg/SVGPathSegMovetoAbs.idl:
      * svg/SVGPathSegMovetoRel.idl:
      * svg/SVGPatternElement.idl:
      * svg/SVGPoint.idl:
      * svg/SVGPointList.idl:
      * svg/SVGPolygonElement.idl:
      * svg/SVGPolylineElement.idl:
      * svg/SVGPreserveAspectRatio.idl:
      * svg/SVGRadialGradientElement.idl:
      * svg/SVGRect.idl:
      * svg/SVGRectElement.idl:
      * svg/SVGRenderingIntent.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGScriptElement.idl:
      * svg/SVGSetElement.idl:
      * svg/SVGStopElement.idl:
      * svg/SVGStringList.idl:
      * svg/SVGStylable.idl:
      * svg/SVGStyleElement.idl:
      * svg/SVGSwitchElement.idl:
      * svg/SVGSymbolElement.idl:
      * svg/SVGTRefElement.idl:
      * svg/SVGTSpanElement.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * svg/SVGTextElement.idl:
      * svg/SVGTextPathElement.idl:
      * svg/SVGTextPositioningElement.idl:
      * svg/SVGTitleElement.idl:
      * svg/SVGTransform.idl:
      * svg/SVGTransformList.idl:
      * svg/SVGTransformable.idl:
      * svg/SVGURIReference.idl:
      * svg/SVGUnitTypes.idl:
      * svg/SVGUseElement.idl:
      * svg/SVGVKernElement.idl:
      * svg/SVGViewElement.idl:
      * svg/SVGViewSpec.idl:
      * svg/SVGZoomAndPan.idl:
      * svg/SVGZoomEvent.idl:
      * testing/InternalSettings.idl:
      * testing/Internals.idl:
      * testing/MallocStatistics.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/SharedWorkerContext.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      * workers/WorkerLocation.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestException.idl:
      * xml/XMLHttpRequestProgressEvent.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathException.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      Moved extended attributes.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4d60d13
    • commit-queue@webkit.org's avatar
      [WebKit IDL] remove all module from idl files. · cab10cea
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99007
      
      Patch by Takashi Sakamoto <tasak@google.com> on 2012-10-11
      Reviewed by Kentaro Hara.
      
      Since current WebIDL spec doesn't support "module", remove
      module from all idl files.
      
      No new tests. I ran run-bindings-tests and no error was reported.
      
      Source/WebCore:
      
      * Modules/battery/BatteryManager.idl:
      * Modules/battery/NavigatorBattery.idl:
      * Modules/filesystem/DOMFileSystem.idl:
      * Modules/filesystem/DOMFileSystemSync.idl:
      * Modules/filesystem/DOMWindowFileSystem.idl:
      * Modules/filesystem/DataTransferItemFileSystem.idl:
      * Modules/filesystem/DirectoryEntry.idl:
      * Modules/filesystem/DirectoryEntrySync.idl:
      * Modules/filesystem/DirectoryReader.idl:
      * Modules/filesystem/DirectoryReaderSync.idl:
      * Modules/filesystem/EntriesCallback.idl:
      * Modules/filesystem/Entry.idl:
      * Modules/filesystem/EntryArray.idl:
      * Modules/filesystem/EntryArraySync.idl:
      * Modules/filesystem/EntryCallback.idl:
      * Modules/filesystem/EntrySync.idl:
      * Modules/filesystem/ErrorCallback.idl:
      * Modules/filesystem/FileCallback.idl:
      * Modules/filesystem/FileEntry.idl:
      * Modules/filesystem/FileEntrySync.idl:
      * Modules/filesystem/FileSystemCallback.idl:
      * Modules/filesystem/FileWriter.idl:
      * Modules/filesystem/FileWriterCallback.idl:
      * Modules/filesystem/FileWriterSync.idl:
      * Modules/filesystem/HTMLInputElementFileSystem.idl:
      * Modules/filesystem/Metadata.idl:
      * Modules/filesystem/MetadataCallback.idl:
      * Modules/filesystem/WorkerContextFileSystem.idl:
      * Modules/gamepad/Gamepad.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/gamepad/NavigatorGamepad.idl:
      * Modules/geolocation/Geolocation.idl:
      * Modules/geolocation/Geoposition.idl:
      * Modules/geolocation/NavigatorGeolocation.idl:
      * Modules/geolocation/PositionCallback.idl:
      * Modules/geolocation/PositionError.idl:
      * Modules/geolocation/PositionErrorCallback.idl:
      * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
      * Modules/indexeddb/IDBAny.idl:
      * Modules/indexeddb/IDBCursor.idl:
      * Modules/indexeddb/IDBCursorWithValue.idl:
      * Modules/indexeddb/IDBDatabase.idl:
      * Modules/indexeddb/IDBDatabaseException.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKey.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/indexeddb/IDBOpenDBRequest.idl:
      * Modules/indexeddb/IDBRequest.idl:
      * Modules/indexeddb/IDBTransaction.idl:
      * Modules/indexeddb/IDBUpgradeNeededEvent.idl:
      * Modules/indexeddb/IDBVersionChangeEvent.idl:
      * Modules/indexeddb/IDBVersionChangeRequest.idl:
      * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
      * Modules/intents/DOMWindowIntents.idl:
      * Modules/intents/DeliveredIntent.idl:
      * Modules/intents/Intent.idl:
      * Modules/intents/IntentResultCallback.idl:
      * Modules/intents/NavigatorIntents.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBuffer.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/DOMWindowMediaStream.idl:
      * Modules/mediastream/IceCallback.idl:
      * Modules/mediastream/IceCandidate.idl:
      * Modules/mediastream/LocalMediaStream.idl:
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamEvent.idl:
      * Modules/mediastream/MediaStreamList.idl:
      * Modules/mediastream/MediaStreamTrack.idl:
      * Modules/mediastream/MediaStreamTrackEvent.idl:
      * Modules/mediastream/MediaStreamTrackList.idl:
      * Modules/mediastream/NavigatorMediaStream.idl:
      * Modules/mediastream/NavigatorUserMediaError.idl:
      * Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
      * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
      * Modules/mediastream/PeerConnection00.idl:
      * Modules/mediastream/RTCErrorCallback.idl:
      * Modules/mediastream/RTCIceCandidate.idl:
      * Modules/mediastream/RTCIceCandidateEvent.idl:
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCSessionDescription.idl:
      * Modules/mediastream/RTCSessionDescriptionCallback.idl:
      * Modules/mediastream/RTCStatsCallback.idl:
      * Modules/mediastream/RTCStatsElement.idl:
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/mediastream/RTCStatsResponse.idl:
      * Modules/mediastream/SessionDescription.idl:
      * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
      * Modules/networkinfo/NavigatorNetworkInfoConnection.idl:
      * Modules/networkinfo/NetworkInfoConnection.idl:
      * Modules/notifications/DOMWindowNotifications.idl:
      * Modules/notifications/Notification.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/notifications/NotificationPermissionCallback.idl:
      * Modules/notifications/WorkerContextNotifications.idl:
      * Modules/proximity/DeviceProximityEvent.idl:
      * Modules/quota/DOMWindowQuota.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/quota/StorageInfoErrorCallback.idl:
      * Modules/quota/StorageInfoQuotaCallback.idl:
      * Modules/quota/StorageInfoUsageCallback.idl:
      * Modules/speech/DOMWindowSpeech.idl:
      * Modules/speech/SpeechGrammar.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechRecognitionAlternative.idl:
      * Modules/speech/SpeechRecognitionError.idl:
      * Modules/speech/SpeechRecognitionEvent.idl:
      * Modules/speech/SpeechRecognitionResult.idl:
      * Modules/speech/SpeechRecognitionResultList.idl:
      * Modules/vibration/NavigatorVibration.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioBufferCallback.idl:
      * Modules/webaudio/AudioBufferSourceNode.idl:
      * Modules/webaudio/AudioChannelMerger.idl:
      * Modules/webaudio/AudioChannelSplitter.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioDestinationNode.idl:
      * Modules/webaudio/AudioGain.idl:
      * Modules/webaudio/AudioGainNode.idl:
      * Modules/webaudio/AudioListener.idl:
      * Modules/webaudio/AudioNode.idl:
      * Modules/webaudio/AudioPannerNode.idl:
      * Modules/webaudio/AudioParam.idl:
      * Modules/webaudio/AudioProcessingEvent.idl:
      * Modules/webaudio/AudioSourceNode.idl:
      * Modules/webaudio/BiquadFilterNode.idl:
      * Modules/webaudio/ConvolverNode.idl:
      * Modules/webaudio/DOMWindowWebAudio.idl:
      * Modules/webaudio/DelayNode.idl:
      * Modules/webaudio/DynamicsCompressorNode.idl:
      * Modules/webaudio/JavaScriptAudioNode.idl:
      * Modules/webaudio/MediaElementAudioSourceNode.idl:
      * Modules/webaudio/MediaStreamAudioSourceNode.idl:
      * Modules/webaudio/OfflineAudioCompletionEvent.idl:
      * Modules/webaudio/Oscillator.idl:
      * Modules/webaudio/RealtimeAnalyserNode.idl:
      * Modules/webaudio/WaveShaperNode.idl:
      * Modules/webaudio/WaveTable.idl:
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * Modules/webdatabase/Database.idl:
      * Modules/webdatabase/DatabaseCallback.idl:
      * Modules/webdatabase/DatabaseSync.idl:
      * Modules/webdatabase/SQLError.idl:
      * Modules/webdatabase/SQLException.idl:
      * Modules/webdatabase/SQLResultSet.idl:
      * Modules/webdatabase/SQLResultSetRowList.idl:
      * Modules/webdatabase/SQLStatementCallback.idl:
      * Modules/webdatabase/SQLStatementErrorCallback.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/SQLTransactionCallback.idl:
      * Modules/webdatabase/SQLTransactionErrorCallback.idl:
      * Modules/webdatabase/SQLTransactionSync.idl:
      * Modules/webdatabase/SQLTransactionSyncCallback.idl:
      * Modules/webdatabase/WorkerContextWebDatabase.idl:
      * Modules/websockets/CloseEvent.idl:
      * Modules/websockets/DOMWindowWebSocket.idl:
      * Modules/websockets/WebSocket.idl:
      * Modules/websockets/WorkerContextWebSocket.idl:
      * bindings/scripts/test/TestCallback.idl:
      * bindings/scripts/test/TestCustomNamedGetter.idl:
      * bindings/scripts/test/TestDomainSecurity.idl:
      * bindings/scripts/test/TestEventConstructor.idl:
      * bindings/scripts/test/TestEventTarget.idl:
      * bindings/scripts/test/TestException.idl:
      * bindings/scripts/test/TestInterface.idl:
      * bindings/scripts/test/TestMediaQueryListListener.idl:
      * bindings/scripts/test/TestNamedConstructor.idl:
      * bindings/scripts/test/TestNode.idl:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
      * bindings/scripts/test/TestSupplemental.idl:
      * bindings/scripts/test/TestTypedArray.idl:
      * css/CSSCharsetRule.idl:
      * css/CSSFontFaceRule.idl:
      * css/CSSImportRule.idl:
      * css/CSSMediaRule.idl:
      * css/CSSPageRule.idl:
      * css/CSSPrimitiveValue.idl:
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleRule.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSUnknownRule.idl:
      * css/CSSValue.idl:
      * css/CSSValueList.idl:
      * css/Counter.idl:
      * css/MediaList.idl:
      * css/MediaQueryList.idl:
      * css/MediaQueryListListener.idl:
      * css/RGBColor.idl:
      * css/Rect.idl:
      * css/StyleMedia.idl:
      * css/StyleSheet.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSFilterValue.idl:
      * css/WebKitCSSKeyframeRule.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * css/WebKitCSSRegionRule.idl:
      * css/WebKitCSSTransformValue.idl:
      * dom/Attr.idl:
      * dom/BeforeLoadEvent.idl:
      * dom/CDATASection.idl:
      * dom/CharacterData.idl:
      * dom/ClientRect.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.idl:
      * dom/Comment.idl:
      * dom/CompositionEvent.idl:
      * dom/CustomEvent.idl:
      * dom/DOMCoreException.idl:
      * dom/DOMError.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMNamedFlowCollection.idl:
      * dom/DOMStringList.idl:
      * dom/DOMStringMap.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/DocumentFragment.idl:
      * dom/DocumentType.idl:
      * dom/Element.idl:
      * dom/Entity.idl:
      * dom/EntityReference.idl:
      * dom/ErrorEvent.idl:
      * dom/Event.idl:
      * dom/EventException.idl:
      * dom/EventListener.idl:
      * dom/EventTarget.idl:
      * dom/HashChangeEvent.idl:
      * dom/KeyboardEvent.idl:
      * dom/MessageChannel.idl:
      * dom/MessageEvent.idl:
      * dom/MessagePort.idl:
      * dom/MouseEvent.idl:
      * dom/MutationCallback.idl:
      * dom/MutationEvent.idl:
      * dom/MutationObserver.idl:
      * dom/MutationRecord.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeIterator.idl:
      * dom/NodeList.idl:
      * dom/Notation.idl:
      * dom/OverflowEvent.idl:
      * dom/PageTransitionEvent.idl:
      * dom/PopStateEvent.idl:
      * dom/ProcessingInstruction.idl:
      * dom/ProgressEvent.idl:
      * dom/PropertyNodeList.idl:
      * dom/Range.idl:
      * dom/RangeException.idl:
      * dom/RequestAnimationFrameCallback.idl:
      * dom/ShadowRoot.idl:
      * dom/StringCallback.idl:
      * dom/Text.idl:
      * dom/TextEvent.idl:
      * dom/Touch.idl:
      * dom/TouchEvent.idl:
      * dom/TouchList.idl:
      * dom/TreeWalker.idl:
      * dom/UIEvent.idl:
      * dom/WebKitAnimationEvent.idl:
      * dom/WebKitNamedFlow.idl:
      * dom/WebKitTransitionEvent.idl:
      * dom/WheelEvent.idl:
      * editing/DOMTransaction.idl:
      * editing/UndoManager.idl:
      * fileapi/Blob.idl:
      * fileapi/File.idl:
      * fileapi/FileError.idl:
      * fileapi/FileException.idl:
      * fileapi/FileList.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * html/DOMFormData.idl:
      * html/DOMSettableTokenList.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAnchorElement.idl:
      * html/HTMLAppletElement.idl:
      * html/HTMLAreaElement.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLBRElement.idl:
      * html/HTMLBaseElement.idl:
      * html/HTMLBaseFontElement.idl:
      * html/HTMLBodyElement.idl:
      * html/HTMLButtonElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDListElement.idl:
      * html/HTMLDataListElement.idl:
      * html/HTMLDetailsElement.idl:
      * html/HTMLDialogElement.idl:
      * html/HTMLDirectoryElement.idl:
      * html/HTMLDivElement.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLFieldSetElement.idl:
      * html/HTMLFontElement.idl:
      * html/HTMLFormElement.idl:
      * html/HTMLFrameElement.idl:
      * html/HTMLFrameSetElement.idl:
      * html/HTMLHRElement.idl:
      * html/HTMLHeadElement.idl:
      * html/HTMLHeadingElement.idl:
      * html/HTMLHtmlElement.idl:
      * html/HTMLIFrameElement.idl:
      * html/HTMLImageElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLIntentElement.idl:
      * html/HTMLKeygenElement.idl:
      * html/HTMLLIElement.idl:
      * html/HTMLLabelElement.idl:
      * html/HTMLLegendElement.idl:
      * html/HTMLLinkElement.idl:
      * html/HTMLMapElement.idl:
      * html/HTMLMarqueeElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLMenuElement.idl:
      * html/HTMLMetaElement.idl:
      * html/HTMLMeterElement.idl:
      * html/HTMLModElement.idl:
      * html/HTMLOListElement.idl:
      * html/HTMLObjectElement.idl:
      * html/HTMLOptGroupElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLOutputElement.idl:
      * html/HTMLParagraphElement.idl:
      * html/HTMLParamElement.idl:
      * html/HTMLPreElement.idl:
      * html/HTMLProgressElement.idl:
      * html/HTMLPropertiesCollection.idl:
      * html/HTMLQuoteElement.idl:
      * html/HTMLScriptElement.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLSourceElement.idl:
      * html/HTMLSpanElement.idl:
      * html/HTMLStyleElement.idl:
      * html/HTMLTableCaptionElement.idl:
      * html/HTMLTableCellElement.idl:
      * html/HTMLTableColElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/HTMLTitleElement.idl:
      * html/HTMLTrackElement.idl:
      * html/HTMLUListElement.idl:
      * html/HTMLUnknownElement.idl:
      * html/HTMLVideoElement.idl:
      * html/ImageData.idl:
      * html/MediaController.idl:
      * html/MediaError.idl:
      * html/MediaKeyError.idl:
      * html/MediaKeyEvent.idl:
      * html/MicroDataItemValue.idl:
      * html/RadioNodeList.idl:
      * html/TextMetrics.idl:
      * html/TimeRanges.idl:
      * html/ValidityState.idl:
      * html/VoidCallback.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasPattern.idl:
      * html/canvas/CanvasRenderingContext.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/DataView.idl:
      * html/canvas/EXTTextureFilterAnisotropic.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESStandardDerivatives.idl:
      * html/canvas/OESTextureFloat.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLActiveInfo.idl:
      * html/canvas/WebGLBuffer.idl:
      * html/canvas/WebGLCompressedTextureS3TC.idl:
      * html/canvas/WebGLContextAttributes.idl:
      * html/canvas/WebGLContextEvent.idl:
      * html/canvas/WebGLDebugRendererInfo.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLDepthTexture.idl:
      * html/canvas/WebGLFramebuffer.idl:
      * html/canvas/WebGLLoseContext.idl:
      * html/canvas/WebGLProgram.idl:
      * html/canvas/WebGLRenderbuffer.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * html/canvas/WebGLShader.idl:
      * html/canvas/WebGLShaderPrecisionFormat.idl:
      * html/canvas/WebGLTexture.idl:
      * html/canvas/WebGLUniformLocation.idl:
      * html/canvas/WebGLVertexArrayObjectOES.idl:
      * html/shadow/HTMLContentElement.idl:
      * html/shadow/HTMLShadowElement.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackCueList.idl:
      * html/track/TextTrackList.idl:
      * html/track/TrackEvent.idl:
      * inspector/InjectedScriptHost.idl:
      * inspector/InspectorFrontendHost.idl:
      * inspector/JavaScriptCallFrame.idl:
      * inspector/ScriptProfile.idl:
      * inspector/ScriptProfileNode.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * page/AbstractView.idl:
      * page/BarInfo.idl:
      * page/Console.idl:
      * page/Coordinates.idl:
      * page/Crypto.idl:
      * page/DOMSecurityPolicy.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/DOMWindowPagePopup.idl:
      * page/EventSource.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/MemoryInfo.idl:
      * page/Navigator.idl:
      * page/PagePopupController.idl:
      * page/Performance.idl:
      * page/PerformanceEntry.idl:
      * page/PerformanceEntryList.idl:
      * page/PerformanceNavigation.idl:
      * page/PerformanceResourceTiming.idl:
      * page/PerformanceTiming.idl:
      * page/Screen.idl:
      * page/SpeechInputEvent.idl:
      * page/SpeechInputResult.idl:
      * page/SpeechInputResultList.idl:
      * page/WebKitAnimation.idl:
      * page/WebKitAnimationList.idl:
      * page/WebKitPoint.idl:
      * page/WorkerNavigator.idl:
      * plugins/DOMMimeType.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/Storage.idl:
      * storage/StorageEvent.idl:
      * svg/ElementTimeControl.idl:
      * svg/SVGAElement.idl:
      * svg/SVGAltGlyphDefElement.idl:
      * svg/SVGAltGlyphElement.idl:
      * svg/SVGAltGlyphItemElement.idl:
      * svg/SVGAngle.idl:
      * svg/SVGAnimateColorElement.idl:
      * svg/SVGAnimateElement.idl:
      * svg/SVGAnimateMotionElement.idl:
      * svg/SVGAnimateTransformElement.idl:
      * svg/SVGAnimatedAngle.idl:
      * svg/SVGAnimatedBoolean.idl:
      * svg/SVGAnimatedEnumeration.idl:
      * svg/SVGAnimatedInteger.idl:
      * svg/SVGAnimatedLength.idl:
      * svg/SVGAnimatedLengthList.idl:
      * svg/SVGAnimatedNumber.idl:
      * svg/SVGAnimatedNumberList.idl:
      * svg/SVGAnimatedPreserveAspectRatio.idl:
      * svg/SVGAnimatedRect.idl:
      * svg/SVGAnimatedString.idl:
      * svg/SVGAnimatedTransformList.idl:
      * svg/SVGAnimationElement.idl:
      * svg/SVGCircleElement.idl:
      * svg/SVGClipPathElement.idl:
      * svg/SVGColor.idl:
      * svg/SVGComponentTransferFunctionElement.idl:
      * svg/SVGCursorElement.idl:
      * svg/SVGDefsElement.idl:
      * svg/SVGDescElement.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElement.idl:
      * svg/SVGElementInstance.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGEllipseElement.idl:
      * svg/SVGException.idl:
      * svg/SVGExternalResourcesRequired.idl:
      * svg/SVGFEBlendElement.idl:
      * svg/SVGFEColorMatrixElement.idl:
      * svg/SVGFEComponentTransferElement.idl:
      * svg/SVGFECompositeElement.idl:
      * svg/SVGFEConvolveMatrixElement.idl:
      * svg/SVGFEDiffuseLightingElement.idl:
      * svg/SVGFEDisplacementMapElement.idl:
      * svg/SVGFEDistantLightElement.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEFloodElement.idl:
      * svg/SVGFEFuncAElement.idl:
      * svg/SVGFEFuncBElement.idl:
      * svg/SVGFEFuncGElement.idl:
      * svg/SVGFEFuncRElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEImageElement.idl:
      * svg/SVGFEMergeElement.idl:
      * svg/SVGFEMergeNodeElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFEOffsetElement.idl:
      * svg/SVGFEPointLightElement.idl:
      * svg/SVGFESpecularLightingElement.idl:
      * svg/SVGFESpotLightElement.idl:
      * svg/SVGFETileElement.idl:
      * svg/SVGFETurbulenceElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGFilterPrimitiveStandardAttributes.idl:
      * svg/SVGFitToViewBox.idl:
      * svg/SVGFontElement.idl:
      * svg/SVGFontFaceElement.idl:
      * svg/SVGFontFaceFormatElement.idl:
      * svg/SVGFontFaceNameElement.idl:
      * svg/SVGFontFaceSrcElement.idl:
      * svg/SVGFontFaceUriElement.idl:
      * svg/SVGForeignObjectElement.idl:
      * svg/SVGGElement.idl:
      * svg/SVGGlyphElement.idl:
      * svg/SVGGlyphRefElement.idl:
      * svg/SVGGradientElement.idl:
      * svg/SVGHKernElement.idl:
      * svg/SVGImageElement.idl:
      * svg/SVGLangSpace.idl:
      * svg/SVGLength.idl:
      * svg/SVGLengthList.idl:
      * svg/SVGLineElement.idl:
      * svg/SVGLinearGradientElement.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMPathElement.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGMaskElement.idl:
      * svg/SVGMatrix.idl:
      * svg/SVGMetadataElement.idl:
      * svg/SVGMissingGlyphElement.idl:
      * svg/SVGNumber.idl:
      * svg/SVGNumberList.idl:
      * svg/SVGPaint.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGPathSeg.idl:
      * svg/SVGPathSegArcAbs.idl:
      * svg/SVGPathSegArcRel.idl:
      * svg/SVGPathSegClosePath.idl:
      * svg/SVGPathSegCurvetoCubicAbs.idl:
      * svg/SVGPathSegCurvetoCubicRel.idl:
      * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
      * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
      * svg/SVGPathSegCurvetoQuadraticAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticRel.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
      * svg/SVGPathSegLinetoAbs.idl:
      * svg/SVGPathSegLinetoHorizontalAbs.idl:
      * svg/SVGPathSegLinetoHorizontalRel.idl:
      * svg/SVGPathSegLinetoRel.idl:
      * svg/SVGPathSegLinetoVerticalAbs.idl:
      * svg/SVGPathSegLinetoVerticalRel.idl:
      * svg/SVGPathSegList.idl:
      * svg/SVGPathSegMovetoAbs.idl:
      * svg/SVGPathSegMovetoRel.idl:
      * svg/SVGPatternElement.idl:
      * svg/SVGPoint.idl:
      * svg/SVGPointList.idl:
      * svg/SVGPolygonElement.idl:
      * svg/SVGPolylineElement.idl:
      * svg/SVGPreserveAspectRatio.idl:
      * svg/SVGRadialGradientElement.idl:
      * svg/SVGRect.idl:
      * svg/SVGRectElement.idl:
      * svg/SVGRenderingIntent.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGScriptElement.idl:
      * svg/SVGSetElement.idl:
      * svg/SVGStopElement.idl:
      * svg/SVGStringList.idl:
      * svg/SVGStylable.idl:
      * svg/SVGStyleElement.idl:
      * svg/SVGSwitchElement.idl:
      * svg/SVGSymbolElement.idl:
      * svg/SVGTRefElement.idl:
      * svg/SVGTSpanElement.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * svg/SVGTextElement.idl:
      * svg/SVGTextPathElement.idl:
      * svg/SVGTextPositioningElement.idl:
      * svg/SVGTitleElement.idl:
      * svg/SVGTransform.idl:
      * svg/SVGTransformList.idl:
      * svg/SVGTransformable.idl:
      * svg/SVGURIReference.idl:
      * svg/SVGUnitTypes.idl:
      * svg/SVGUseElement.idl:
      * svg/SVGVKernElement.idl:
      * svg/SVGViewElement.idl:
      * svg/SVGViewSpec.idl:
      * svg/SVGZoomAndPan.idl:
      * svg/SVGZoomEvent.idl:
      * testing/InternalSettings.idl:
      * testing/Internals.idl:
      * testing/MallocStatistics.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/SharedWorkerContext.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      * workers/WorkerLocation.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestException.idl:
      * xml/XMLHttpRequestProgressEvent.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathException.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      Removed "module".
      
      Tools:
      
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarker.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarkerRange.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/GCController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl:
      Removed "module".
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cab10cea
  10. 06 Sep, 2012 1 commit
  11. 19 Feb, 2012 1 commit
    • haraken@chromium.org's avatar
      Rename [CheckDomainSecurity] to [CheckSecurity] · 46904191
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78874
      
      Reviewed by Adam Barth.
      
      "Domain security" isn't a term that's used elsewhere.
      This patch renames IDL attributes as follows:
      
      - [CheckDomainSecurity] => [CheckSecurity]
      - [DoNotCheckDomainSecurity] => [DoNotCheckSecurity]
      - [DoNotCheckDomainSecurityOnGetter] => [DoNotCheckSecurityOnGetter]
      - [DoNotCheckDomainSecurityOnSetter] => [DoNotCheckSecurityOnSetter]
      
      No tests. No change in behavior.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateGetOwnPropertyDescriptorBody):
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeader):
      (IsVisibleAcrossOrigins):
      (GenerateFunctionCallback):
      (GenerateSingleBatchedAttribute):
      (GenerateImplementation):
      (GenerateToV8Converters):
      * bindings/scripts/test/TestDomainSecurity.idl:
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::ConfigureV8TestActiveDOMObjectTemplate):
      * page/DOMWindow.idl:
      * page/History.idl:
      * page/Location.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108201 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46904191
  12. 10 Feb, 2012 3 commits
    • haraken@chromium.org's avatar
      Rename [JSCustomGetOwnPropertySlotDelegate] to [JSCustomGetOwnPropertySlotAndDescriptor] · 5a0981dc
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78352
      
      Reviewed by Adam Barth.
      
      [JSCustomGetOwnPropertySlotDelegate] is used for "flexibly customizable"
      named getter. It allows us to write custom code for getOwnPropertySlotDelegate()
      and getOwnPropertyDescriptorDelegate(). To clarify that, we can rename
      [JSCustomGetOwnPropertySlotDelegate] to [JSCustomGetOwnPropertySlotAndDescriptor].
      
      No tests. No change in behavior.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateGetOwnPropertySlotBody):
      (GenerateGetOwnPropertyDescriptorBody):
      (GenerateHeader):
      (GenerateImplementation):
      
      * html/HTMLAppletElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLObjectElement.idl:
      * page/History.idl:
      * page/Location.idl:
      * workers/WorkerContext.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107432 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a0981dc
    • haraken@chromium.org's avatar
      Rename [CustomPropertyNames] to [CustomEnumerateProperty] · e7e2d44a
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78351
      
      Reviewed by Adam Barth.
      
      This patch renames [CustomPropertyNames] to [CustomEnumerateProperty],
      for clarification and for naming consistency with [CustomDeleteProperty].
      
      No tests. No change in behavior.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeaderNamedAndIndexedPropertyAccessors):
      (GenerateImplementationNamedPropertyGetter):
      
      * css/CSSStyleDeclaration.idl:
      * dom/DOMStringMap.idl:
      * page/DOMWindow.idl:
      * page/History.idl:
      * page/Location.idl:
      * storage/Storage.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7e2d44a
    • haraken@chromium.org's avatar
      Rename [Optional=CallWithDefaultValue] and [Optional=CallWithNullValue] · 18d2e414
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78200
      
      Reviewed by Adam Barth.
      
      [Optional=CallWithDefaultValue] and [Optional=CallWithNullValue] are confusing.
      
      - [Optional=CallWithDefaultValue] indicates that a missing value should be treated
      as if the JavaScript undefined is passed.
      - [Optional=CallWithNullValue] indicates that a missing value should be treated as
      the WebKit null value (i.e. JSValue() or v8::Local<v8::Value>()).
      - Actually, the difference between [Optional=CallWithDefaultValue] and
      [Optional=CallWithNullValue] will appear only when the type of the missing value
      is DOMString. In case of [Optional=CallWithDefaultValue], the missing value is
      converted to the string "undefined". On the other hand, in case of
      [Optional=CallWithNullValue], the missing value is converted to the WebKit null string.
      
      With these observations, this patch renames as follows:
      
      - Rename [Optional=CallWithDefaultValue] to [Optional=DefaultIsUndefined].
      - Rename [Optional=CallWithNullValue] to [Optional=DefaultIsNullString].
      
      Test: bindings/scripts/test/TestObj.idl
      
      * bindings/js/JSDOMBinding.h: Renamed MissingIsEmpty to DefaultIsNullString,
      renamed MissingIsUndefined to DefaultIsUndefined.
      * bindings/v8/V8Binding.h: Ditto.
      * bindings/v8/custom/V8BindingMacros.h: Ditto.
      
      * bindings/scripts/CodeGeneratorJS.pm: Modified to support the renaming.
      (GenerateParametersCheck):
      * bindings/scripts/CodeGeneratorV8.pm: Ditto.
      (GenerateParametersCheck):
      (RequiresCustomSignature):
      
      * bindings/scripts/test/TestObj.idl: Renamed [Optional=...] as described above.
      * bindings/scripts/test/TestInterface.idl: Ditto.
      * bindings/scripts/test/TestNamedConstructor.idl: Ditto.
      
      * bindings/scripts/test/CPP/WebDOMTestObj.cpp: Updated run-bindings-tests results.
      (WebDOMTestObj::methodWithOptionalString):
      (WebDOMTestObj::methodWithOptionalStringIsUndefinedString):
      (WebDOMTestObj::methodWithOptionalStringIsNullString):
      * bindings/scripts/test/CPP/WebDOMTestObj.h:
      * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
      (webkit_dom_test_obj_method_with_optional_string):
      (webkit_dom_test_obj_method_with_optional_string_is_undefined_string):
      (webkit_dom_test_obj_method_with_optional_string_is_null_string):
      * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
      * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
      (WebCore::JSTestNamedConstructorNamedConstructor::constructJSTestNamedConstructor):
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore):
      (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalString):
      (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalStringIsUndefinedString):
      (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalStringIsNullString):
      * bindings/scripts/test/JS/JSTestObj.h:
      (WebCore):
      * bindings/scripts/test/ObjC/DOMTestObj.h:
      * bindings/scripts/test/ObjC/DOMTestObj.mm:
      (-[DOMTestObj methodWithOptionalString:]):
      (-[DOMTestObj methodWithOptionalStringIsUndefinedString:]):
      (-[DOMTestObj methodWithOptionalStringIsNullString:]):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructorConstructorCallback):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::TestObjInternal::methodWithOptionalStringCallback):
      (TestObjInternal):
      (WebCore::TestObjInternal::methodWithOptionalStringIsUndefinedStringCallback):
      (WebCore::TestObjInternal::methodWithOptionalStringIsNullStringCallback):
      (WebCore):
      
      * Modules/gamepad/GamepadList.idl: Renamed [Optional=...] as described above.
      * Modules/intents/Intent.idl:
      * css/CSSMediaRule.idl:
      * css/CSSPrimitiveValue.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSValueList.idl:
      * css/MediaList.idl:
      * css/MediaQueryList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * dom/CharacterData.idl:
      * dom/ClientRectList.idl:
      * dom/CompositionEvent.idl:
      * dom/CustomEvent.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMStringList.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/Element.idl:
      * dom/Event.idl:
      * dom/HashChangeEvent.idl:
      * dom/KeyboardEvent.idl:
      * dom/MessageEvent.idl:
      * dom/MouseEvent.idl:
      * dom/MutationEvent.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeList.idl:
      * dom/OverflowEvent.idl:
      * dom/Range.idl:
      * dom/ShadowRoot.idl:
      * dom/Text.idl:
      * dom/TextEvent.idl:
      * dom/TouchEvent.idl:
      * dom/UIEvent.idl:
      * dom/WheelEvent.idl:
      * html/DOMFormData.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/TextTrackCue.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * page/Console.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/History.idl:
      * page/Location.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/IDBDatabase.idl:
      * storage/StorageEvent.idl:
      * svg/ElementTimeControl.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGStylable.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * webaudio/AudioNode.idl:
      * workers/SharedWorker.idl:
      * workers/WorkerContext.idl:
      * xml/DOMParser.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18d2e414
  13. 09 Feb, 2012 2 commits
    • haraken@chromium.org's avatar
      Unreviewed, rolling out r107182, r107186, r107189, r107191, · a5566bbd
      haraken@chromium.org authored
      and r107199.
      http://trac.webkit.org/changeset/107182
      http://trac.webkit.org/changeset/107186
      http://trac.webkit.org/changeset/107189
      http://trac.webkit.org/changeset/107191
      http://trac.webkit.org/changeset/107199
      https://bugs.webkit.org/show_bug.cgi?id=78200
      
      Layout tests of JSC-related port are crashing
      
      * Modules/gamepad/GamepadList.idl:
      * Modules/intents/Intent.idl:
      * bindings/js/JSDOMBinding.h:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateGetOwnPropertySlotBody):
      (GenerateParametersCheck):
      (NativeToJSValue):
      (GenerateConstructorDefinition):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateParametersCheck):
      (GenerateImplementationIndexer):
      (RequiresCustomSignature):
      (NativeToJSValue):
      * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
      * bindings/scripts/test/CPP/WebDOMTestObj.h:
      * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
      * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
      * bindings/scripts/test/JS/JSFloat64Array.cpp:
      (WebCore::jsFloat64ArrayPrototypeFunctionFoo):
      * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
      (WebCore::jsTestActiveDOMObjectPrototypeFunctionExcitingFunction):
      (WebCore::jsTestActiveDOMObjectPrototypeFunctionPostMessage):
      * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
      (WebCore::jsTestCustomNamedGetterPrototypeFunctionAnotherFunction):
      * bindings/scripts/test/JS/JSTestEventTarget.cpp:
      (WebCore::jsTestEventTargetPrototypeFunctionItem):
      (WebCore::jsTestEventTargetPrototypeFunctionDispatchEvent):
      * bindings/scripts/test/JS/JSTestInterface.cpp:
      (WebCore::JSTestInterfaceConstructor::constructJSTestInterface):
      (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod2):
      * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
      (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
      * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
      (WebCore::JSTestNamedConstructorNamedConstructor::constructJSTestNamedConstructor):
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore):
      (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
      (WebCore::jsTestObjPrototypeFunctionIntMethodWithArgs):
      (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
      (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
      (WebCore::jsTestObjPrototypeFunctionSerializedValue):
      (WebCore::jsTestObjPrototypeFunctionIdbKey):
      (WebCore::jsTestObjPrototypeFunctionOptionsObject):
      (WebCore::jsTestObjPrototypeFunctionCustomArgsAndException):
      (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
      (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
      (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
      (WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod3):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod6):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod7):
      (WebCore::jsTestObjConstructorFunctionClassMethodWithOptional):
      (WebCore::jsTestObjConstructorFunctionOverloadedMethod11):
      (WebCore::jsTestObjConstructorFunctionOverloadedMethod12):
      (WebCore::jsTestObjPrototypeFunctionConvert1):
      (WebCore::jsTestObjPrototypeFunctionConvert2):
      (WebCore::jsTestObjPrototypeFunctionConvert3):
      (WebCore::jsTestObjPrototypeFunctionConvert4):
      (WebCore::jsTestObjPrototypeFunctionConvert5):
      (WebCore::jsTestObjPrototypeFunctionStrictFunction):
      * bindings/scripts/test/JS/JSTestObj.h:
      (WebCore):
      * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
      (WebCore::JSTestSerializedScriptValueInterfaceConstructor::constructJSTestSerializedScriptValueInterface):
      * bindings/scripts/test/ObjC/DOMTestObj.h:
      * bindings/scripts/test/ObjC/DOMTestObj.mm:
      * bindings/scripts/test/TestInterface.idl:
      * bindings/scripts/test/TestNamedConstructor.idl:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::Float64ArrayInternal::fooCallback):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::TestActiveDOMObjectInternal::excitingFunctionCallback):
      (WebCore::TestActiveDOMObjectInternal::postMessageCallback):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::TestCustomNamedGetterInternal::anotherFunctionCallback):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::TestEventTargetInternal::itemCallback):
      (WebCore::TestEventTargetInternal::dispatchEventCallback):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore::TestInterfaceInternal::supplementalMethod2Callback):
      (WebCore::V8TestInterface::constructorCallback):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::TestMediaQueryListListenerInternal::methodCallback):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructorConstructorCallback):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::TestObjInternal::voidMethodWithArgsCallback):
      (WebCore::TestObjInternal::intMethodWithArgsCallback):
      (WebCore::TestObjInternal::objMethodWithArgsCallback):
      (WebCore::TestObjInternal::methodThatRequiresAllArgsAndThrowsCallback):
      (WebCore::TestObjInternal::idbKeyCallback):
      (WebCore::TestObjInternal::optionsObjectCallback):
      (WebCore::TestObjInternal::customArgsAndExceptionCallback):
      (WebCore::TestObjInternal::methodWithOptionalArgCallback):
      (WebCore::TestObjInternal::methodWithNonOptionalArgAndOptionalArgCallback):
      (WebCore::TestObjInternal::methodWithNonOptionalArgAndTwoOptionalArgsCallback):
      (WebCore::TestObjInternal::methodWithNonCallbackArgAndCallbackArgCallback):
      (WebCore::TestObjInternal::overloadedMethod1Callback):
      (WebCore::TestObjInternal::overloadedMethod2Callback):
      (WebCore::TestObjInternal::overloadedMethod3Callback):
      (WebCore::TestObjInternal::overloadedMethod4Callback):
      (WebCore::TestObjInternal::overloadedMethod6Callback):
      (WebCore::TestObjInternal::overloadedMethod7Callback):
      (WebCore::TestObjInternal::classMethodWithOptionalCallback):
      (WebCore::TestObjInternal::overloadedMethod11Callback):
      (WebCore::TestObjInternal::overloadedMethod12Callback):
      (WebCore::TestObjInternal::enabledAtRuntimeMethod1Callback):
      (WebCore::TestObjInternal::enabledAtRuntimeMethod2Callback):
      (WebCore::TestObjInternal::convert1Callback):
      (WebCore::TestObjInternal::convert2Callback):
      (WebCore::TestObjInternal::convert3Callback):
      (WebCore::TestObjInternal::convert4Callback):
      (WebCore::TestObjInternal::convert5Callback):
      (WebCore::TestObjInternal::strictFunctionCallback):
      (WebCore):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore::V8TestSerializedScriptValueInterface::constructorCallback):
      * bindings/v8/V8Binding.h:
      * bindings/v8/custom/V8BindingMacros.h:
      * css/CSSCharsetRule.idl:
      * css/CSSImportRule.idl:
      * css/CSSMediaRule.idl:
      * css/CSSPageRule.idl:
      * css/CSSPrimitiveValue.idl:
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleRule.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSValue.idl:
      * css/CSSValueList.idl:
      * css/MediaList.idl:
      * css/MediaQueryList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * css/StyleSheet.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * dom/Attr.idl:
      * dom/CharacterData.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.idl:
      * dom/CompositionEvent.idl:
      * dom/CustomEvent.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMStringList.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/DocumentType.idl:
      * dom/Element.idl:
      * dom/Entity.idl:
      * dom/Event.idl:
      * dom/HashChangeEvent.idl:
      * dom/KeyboardEvent.idl:
      * dom/MessageEvent.idl:
      * dom/MouseEvent.idl:
      * dom/MutationEvent.idl:
      * dom/MutationRecord.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeList.idl:
      * dom/Notation.idl:
      * dom/OverflowEvent.idl:
      * dom/ProcessingInstruction.idl:
      * dom/Range.idl:
      * dom/ShadowRoot.idl:
      * dom/Text.idl:
      * dom/TextEvent.idl:
      * dom/TouchEvent.idl:
      * dom/UIEvent.idl:
      * dom/WheelEvent.idl:
      * html/DOMFormData.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/TextTrackCue.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * page/Console.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/History.idl:
      * page/Location.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/IDBDatabase.idl:
      * storage/IDBObjectStore.idl:
      * storage/IDBRequest.idl:
      * storage/Storage.idl:
      * storage/StorageEvent.idl:
      * svg/ElementTimeControl.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGStylable.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * webaudio/AudioNode.idl:
      * websockets/WebSocket.idl:
      * workers/SharedWorker.idl:
      * workers/WorkerContext.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5566bbd
    • haraken@chromium.org's avatar
      Rename [Optional=CallWithDefalutValue] and [Optional=CallWithNullValue] · c76764bd
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78200
      
      Reviewed by Adam Barth.
      
      [Optional=CallWithDefalutValue] and [Optional=CallWithNullValue] are confusing.
      
      - [Optional=CallWithDefalutValue] indicates that a missing value should be treated
      as if the JavaScript undefined is passed.
      - [Optional=CallWithNullValue] indicates that a missing value should be treated as
      the WebKit null value (i.e. JSValue() or v8::Local<v8::Value>()).
      - Actually, the difference between [Optional=CallWithDefalutValue] and
      [Optional=CallWithNullValue] appears only when the type of the missing value is DOMString.
      In case of [Optional=CallWithDefalutValue], the missing value is converted to the string
      "undefined". On the other hand, in case of [Optional=CallWithNullValue], the missing
      value is converted to the WebKit null string.
      
      With these observations, this patch renames them as follows:
      
      - Rename [Optional=CallWithDefalutValue] to [Optional=TreatAsUndefined].
      - Remove [Optional=CallWithNullValue]. Instead, we use
      [Optional=TreatAsUndefined, TreatUndefinedAs=NullString].
      
      Test: bindings/scripts/test/TestInterface.idl
      
      * bindings/js/JSDOMBinding.h: Renamed MissingIsUndefined to MissingIsUndefinedValue,
      renamed MissingIsEmpty to MissingIsNullValue.
      * bindings/v8/V8Binding.h: Ditto.
      * bindings/v8/custom/V8BindingMacros.h: Ditto.
      
      * bindings/scripts/CodeGeneratorJS.pm: Modified to support the IDL attribute renaming.
      (GenerateParametersCheck):
      (GenerateConstructorDefinition):
      * bindings/scripts/CodeGeneratorV8.pm: Ditto.
      (GenerateParametersCheck):
      (RequiresCustomSignature):
      
      * Modules/gamepad/GamepadList.idl: Renamed IDL attributes as described above.
      * Modules/intents/Intent.idl:
      * css/CSSMediaRule.idl:
      * css/CSSPrimitiveValue.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSValueList.idl:
      * css/MediaList.idl:
      * css/MediaQueryList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * dom/CharacterData.idl:
      * dom/ClientRectList.idl:
      * dom/CompositionEvent.idl:
      * dom/CustomEvent.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMStringList.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/Element.idl:
      * dom/Event.idl:
      * dom/HashChangeEvent.idl:
      * dom/KeyboardEvent.idl:
      * dom/MessageEvent.idl:
      * dom/MouseEvent.idl:
      * dom/MutationEvent.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeList.idl:
      * dom/OverflowEvent.idl:
      * dom/Range.idl:
      * dom/ShadowRoot.idl:
      * dom/Text.idl:
      * dom/TextEvent.idl:
      * dom/TouchEvent.idl:
      * dom/UIEvent.idl:
      * dom/WheelEvent.idl:
      * html/DOMFormData.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/TextTrackCue.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * page/Console.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/History.idl:
      * page/Location.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/IDBDatabase.idl:
      * storage/StorageEvent.idl:
      * svg/ElementTimeControl.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGStylable.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * webaudio/AudioNode.idl:
      * workers/SharedWorker.idl:
      * workers/WorkerContext.idl:
      * xml/DOMParser.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      
      * bindings/scripts/test/TestInterface.idl: Added test cases for [Optional],
      [Optional=TreatAsUndefined] and [Optional=TreatAsUndefined, TreatUndefinedAs=NullString]
      * bindings/scripts/test/TestNamedConstructor.idl: Renamed IDL attributes as described above.
      * bindings/scripts/test/TestObj.idl: Ditto.
      
      * bindings/scripts/test/CPP/WebDOMTestObj.cpp: Updated run-bindings-tests results.
      (WebDOMTestObj::methodWithOptionalString):
      (WebDOMTestObj::methodWithOptionalIsTreatAsUndefinedString):
      (WebDOMTestObj::methodWithOptionalIsNullStringString):
      * bindings/scripts/test/CPP/WebDOMTestObj.h: Ditto.
      * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: Ditto.
      (webkit_dom_test_obj_method_with_optional_string):
      (webkit_dom_test_obj_method_with_optional_is_treat_as_undefined_string):
      (webkit_dom_test_obj_method_with_optional_is_null_string_string):
      * bindings/scripts/test/GObject/WebKitDOMTestObj.h: Ditto.
      * bindings/scripts/test/JS/JSFloat64Array.cpp: Ditto.
      (WebCore::jsFloat64ArrayPrototypeFunctionFoo):
      * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp: Ditto.
      (WebCore::jsTestActiveDOMObjectPrototypeFunctionExcitingFunction):
      (WebCore::jsTestActiveDOMObjectPrototypeFunctionPostMessage):
      * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp: Ditto.
      (WebCore::jsTestCustomNamedGetterPrototypeFunctionAnotherFunction):
      * bindings/scripts/test/JS/JSTestEventTarget.cpp: Ditto.
      (WebCore::jsTestEventTargetPrototypeFunctionItem):
      (WebCore::jsTestEventTargetPrototypeFunctionDispatchEvent):
      * bindings/scripts/test/JS/JSTestInterface.cpp: Ditto.
      (WebCore::JSTestInterfaceConstructor::constructJSTestInterface):
      (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod2):
      * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp: Ditto.
      (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
      * bindings/scripts/test/JS/JSTestNamedConstructor.cpp: Ditto.
      (WebCore::JSTestNamedConstructorNamedConstructor::constructJSTestNamedConstructor):
      * bindings/scripts/test/JS/JSTestObj.cpp: Ditto.
      (WebCore):
      (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
      (WebCore::jsTestObjPrototypeFunctionIntMethodWithArgs):
      (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
      (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
      (WebCore::jsTestObjPrototypeFunctionSerializedValue):
      (WebCore::jsTestObjPrototypeFunctionIdbKey):
      (WebCore::jsTestObjPrototypeFunctionOptionsObject):
      (WebCore::jsTestObjPrototypeFunctionCustomArgsAndException):
      (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
      (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
      (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
      (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalString):
      (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalIsTreatAsUndefinedString):
      (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalIsNullStringString):
      (WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod3):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod6):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod7):
      (WebCore::jsTestObjConstructorFunctionClassMethodWithOptional):
      (WebCore::jsTestObjConstructorFunctionOverloadedMethod11):
      (WebCore::jsTestObjConstructorFunctionOverloadedMethod12):
      (WebCore::jsTestObjPrototypeFunctionConvert1):
      (WebCore::jsTestObjPrototypeFunctionConvert2):
      (WebCore::jsTestObjPrototypeFunctionConvert3):
      (WebCore::jsTestObjPrototypeFunctionConvert4):
      (WebCore::jsTestObjPrototypeFunctionConvert5):
      (WebCore::jsTestObjPrototypeFunctionStrictFunction):
      * bindings/scripts/test/JS/JSTestObj.h: Ditto.
      (WebCore):
      * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: Ditto.
      (WebCore::JSTestSerializedScriptValueInterfaceConstructor::constructJSTestSerializedScriptValueInterface):
      * bindings/scripts/test/ObjC/DOMTestObj.h: Ditto.
      * bindings/scripts/test/ObjC/DOMTestObj.mm: Ditto.
      (-[DOMTestObj methodWithOptionalString:]):
      (-[DOMTestObj methodWithOptionalIsTreatAsUndefinedString:]):
      (-[DOMTestObj methodWithOptionalIsNullStringString:]):
      * bindings/scripts/test/V8/V8Float64Array.cpp: Ditto.
      (WebCore::Float64ArrayInternal::fooCallback):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp: Ditto.
      (WebCore::TestActiveDOMObjectInternal::excitingFunctionCallback):
      (WebCore::TestActiveDOMObjectInternal::postMessageCallback):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp: Ditto.
      (WebCore::TestCustomNamedGetterInternal::anotherFunctionCallback):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp: Ditto.
      (WebCore::TestEventTargetInternal::itemCallback):
      (WebCore::TestEventTargetInternal::dispatchEventCallback):
      * bindings/scripts/test/V8/V8TestInterface.cpp: Ditto.
      (WebCore::TestInterfaceInternal::supplementalMethod2Callback):
      (WebCore::V8TestInterface::constructorCallback):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp: Ditto.
      (WebCore::TestMediaQueryListListenerInternal::methodCallback):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp: Ditto.
      (WebCore::V8TestNamedConstructorConstructorCallback):
      * bindings/scripts/test/V8/V8TestObj.cpp: Ditto.
      (WebCore::TestObjInternal::voidMethodWithArgsCallback):
      (WebCore::TestObjInternal::intMethodWithArgsCallback):
      (WebCore::TestObjInternal::objMethodWithArgsCallback):
      (WebCore::TestObjInternal::methodThatRequiresAllArgsAndThrowsCallback):
      (WebCore::TestObjInternal::idbKeyCallback):
      (WebCore::TestObjInternal::optionsObjectCallback):
      (WebCore::TestObjInternal::customArgsAndExceptionCallback):
      (WebCore::TestObjInternal::methodWithOptionalArgCallback):
      (WebCore::TestObjInternal::methodWithNonOptionalArgAndOptionalArgCallback):
      (WebCore::TestObjInternal::methodWithNonOptionalArgAndTwoOptionalArgsCallback):
      (WebCore::TestObjInternal::methodWithOptionalStringCallback):
      (TestObjInternal):
      (WebCore::TestObjInternal::methodWithOptionalIsTreatAsUndefinedStringCallback):
      (WebCore::TestObjInternal::methodWithOptionalIsNullStringStringCallback):
      (WebCore::TestObjInternal::methodWithNonCallbackArgAndCallbackArgCallback):
      (WebCore::TestObjInternal::overloadedMethod1Callback):
      (WebCore::TestObjInternal::overloadedMethod2Callback):
      (WebCore::TestObjInternal::overloadedMethod3Callback):
      (WebCore::TestObjInternal::overloadedMethod4Callback):
      (WebCore::TestObjInternal::overloadedMethod6Callback):
      (WebCore::TestObjInternal::overloadedMethod7Callback):
      (WebCore::TestObjInternal::classMethodWithOptionalCallback):
      (WebCore::TestObjInternal::overloadedMethod11Callback):
      (WebCore::TestObjInternal::overloadedMethod12Callback):
      (WebCore::TestObjInternal::enabledAtRuntimeMethod1Callback):
      (WebCore::TestObjInternal::enabledAtRuntimeMethod2Callback):
      (WebCore::TestObjInternal::convert1Callback):
      (WebCore::TestObjInternal::convert2Callback):
      (WebCore::TestObjInternal::convert3Callback):
      (WebCore::TestObjInternal::convert4Callback):
      (WebCore::TestObjInternal::convert5Callback):
      (WebCore::TestObjInternal::strictFunctionCallback):
      (WebCore):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp: Ditto.
      (WebCore::V8TestSerializedScriptValueInterface::constructorCallback):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107182 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c76764bd
  14. 08 Feb, 2012 3 commits
    • commit-queue@webkit.org's avatar
      Add state attribute to history's dom interface. · 1c5db438
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76035
      
      Patch by Pablo Flouret <pablof@motorola.com> on 2012-02-08
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      Tests: fast/loader/stateobjects/state-attribute-object-types.html
             fast/loader/stateobjects/state-attribute-only-one-deserialization.html
      
      * bindings/js/JSHistoryCustom.cpp:
      (WebCore::JSHistory::state):
      (WebCore):
      (WebCore::JSHistory::pushState):
      (WebCore::JSHistory::replaceState):
      * bindings/v8/custom/V8HistoryCustom.cpp:
      (WebCore::V8History::stateAccessorGetter):
      (WebCore):
      (WebCore::V8History::pushStateCallback):
      (WebCore::V8History::replaceStateCallback):
      * page/History.cpp:
      (WebCore::History::History):
      (WebCore::History::state):
      (WebCore):
      (WebCore::History::stateInternal):
      (WebCore::History::stateChanged):
      * page/History.h:
      (History):
      * page/History.idl:
      
      LayoutTests:
      
      * fast/dom/Window/window-appendages-cleared-expected.txt:
      * fast/loader/stateobjects/state-attribute-object-types-expected.txt: Added.
      * fast/loader/stateobjects/state-attribute-object-types.html: Added.
      * fast/loader/stateobjects/state-attribute-only-one-deserialization-expected.txt: Added.
      * fast/loader/stateobjects/state-attribute-only-one-deserialization.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107058 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c5db438
    • haraken@chromium.org's avatar
      Rename [DelegatingPutFunction] IDL to [CustomNamedSetter] IDL · 70850529
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77963
      
      Reviewed by Adam Barth.
      
      This patch renames [DelegatingPutFunction] IDL to [CustomNamedSetter] IDL,
      for clarification and for naming consistency with [NamedGetter] and [CustomIndexedSetter].
      
      No tests. No change in behavior.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeaderNamedAndIndexedPropertyAccessors):
      (GenerateImplementationIndexer):
      (GenerateImplementationNamedPropertyGetter):
      * bindings/scripts/test/TestInterface.idl:
      * css/CSSStyleDeclaration.idl:
      * dom/DOMStringMap.idl:
      * html/HTMLAppletElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLObjectElement.idl:
      * page/History.idl:
      * page/Location.idl:
      * storage/Storage.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70850529
    • haraken@chromium.org's avatar
      Add "JS" prefix to JSC-specific IDLs · efee39f4
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77846
      
      Reviewed by Darin Adler.
      
      In bug 77693, we have added "JS" prefix to several JSC specific IDLs.
      This patch adds "JS" prefix to the remaining JSC specific IDLs.
      Specifically, this patch renames IDLs as follows:
      
      [CustomDefineOwnProperty] => [JSCustomDefineOwnProperty]
      [CustomPrototypeDefineOwnProperty] => [JSCustomPrototypeDefineOwnProperty]
      [GenerateNativeConverter] => [JSGenerateToNativeObject]  (Note: For naming consistency
      with [JSGenerateToJS] and [JSCustomToNativeObject])
      [DelegatingGetOwnPropertySlot] => [JSCustomGetOwnPropertySlotDelegate]  (Note: Should be prefixed "JS",
      should be prefixed with "Custom", and for naming consistency with [CustomGetOwnPropertySlot])
      
      No tests. No change in behavior.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateGetOwnPropertySlotBody):
      (GenerateGetOwnPropertyDescriptorBody):
      (GenerateHeader):
      (GenerateImplementation):
      * bindings/scripts/test/TestTypedArray.idl:
      * dom/Attr.idl:
      * dom/DataTransferItemList.idl:
      * dom/Document.idl:
      * dom/DocumentType.idl:
      * dom/Element.idl:
      * dom/Node.idl:
      * fileapi/DirectoryEntry.idl:
      * fileapi/DirectoryEntrySync.idl:
      * fileapi/File.idl:
      * fileapi/FileEntry.idl:
      * fileapi/FileEntrySync.idl:
      * fileapi/WebKitBlobBuilder.idl:
      * html/DOMFormData.idl:
      * html/DOMURL.idl:
      * html/HTMLAppletElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLImageElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLObjectElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLTableCaptionElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLVideoElement.idl:
      * html/TextTrackCue.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * mediastream/LocalMediaStream.idl:
      * page/DOMWindow.idl:
      * page/History.idl:
      * page/Location.idl:
      * storage/StorageInfo.idl:
      * svg/SVGElement.idl:
      * svg/SVGElementInstance.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/SharedWorkerContext.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      efee39f4
  15. 04 Feb, 2012 1 commit
    • haraken@chromium.org's avatar
      Add the "JS" prefix to JSC specific IDL attributes · 72b14d6f
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77693
      
      Reviewed by Darin Adler.
      
      Some JSC specific IDLs do not have "JS" prefix, e.g. [CustomIsReachable].
      It might be OK since JSC is the main JavaScript engine in WebKit, but
      distinguishing IDLs widely used in WebKit and IDLs used in JSC only would help
      people understand the role of IDLs.
      
      This patch renames the following JSC specific IDLs:
      
          CustomFinalize => JSCustomFinalize
          CustomIsReachable => JSCustomIsReachable
          CustomMarkFunction => JSCustomMarkFunction
          CustomToJS => JSCustomToJS
          CustomNativeConverter => JSCustomToNativeObject (Note: For naming consistency with [JSCustomToJS])
          GenerateIsReachable => JSGenerateIsReachable
          GenerateToJS => JSGenerateToJS
          NoStaticTables => JSNoStaticTables
          WindowEventListener => JSWindowEventListener
          InlineGetOwnPropertySlot => JSInlineGetOwnPropertySlot
          DelegatingPrototypePutFunction => JSCustomPrototypePutDelegate
      
      No tests. No changes in behavior.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateGetOwnPropertySlotBody):
      (GenerateGetOwnPropertyDescriptorBody):
      (GenerateHeader):
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorV8.pm:
      (HasCustomToV8Implementation):
      
      * bindings/scripts/test/TestTypedArray.idl: No change in run-bindings-tests results.
      
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSValue.idl:
      * css/MediaList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * css/StyleSheet.idl:
      * css/StyleSheetList.idl:
      * dom/Attr.idl:
      * dom/DOMCoreException.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMStringMap.idl:
      * dom/Document.idl:
      * dom/Element.idl:
      * dom/ErrorEvent.idl:
      * dom/Event.idl:
      * dom/EventException.idl:
      * dom/EventListener.idl:
      * dom/MessageChannel.idl:
      * dom/MessageEvent.idl:
      * dom/MessagePort.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeIterator.idl:
      * dom/NodeList.idl:
      * dom/TreeWalker.idl:
      * dom/WebKitNamedFlow.idl:
      * fileapi/Blob.idl:
      * fileapi/DOMFileSystem.idl:
      * fileapi/DOMFileSystemSync.idl:
      * fileapi/DirectoryEntry.idl:
      * fileapi/DirectoryEntrySync.idl:
      * fileapi/DirectoryReader.idl:
      * fileapi/DirectoryReaderSync.idl:
      * fileapi/Entry.idl:
      * fileapi/EntryArray.idl:
      * fileapi/EntryArraySync.idl:
      * fileapi/EntrySync.idl:
      * fileapi/File.idl:
      * fileapi/FileEntry.idl:
      * fileapi/FileEntrySync.idl:
      * fileapi/FileError.idl:
      * fileapi/FileException.idl:
      * fileapi/FileList.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * fileapi/FileWriter.idl:
      * fileapi/Metadata.idl:
      * fileapi/OperationNotAllowedException.idl:
      * fileapi/WebKitBlobBuilder.idl:
      * html/DOMFormData.idl:
      * html/DOMSettableTokenList.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLBodyElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLFrameSetElement.idl:
      * html/ImageData.idl:
      * html/MediaController.idl:
      * html/TextTrack.idl:
      * html/TextTrackCue.idl:
      * html/VoidCallback.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/CanvasRenderingContext.idl:
      * html/canvas/DataView.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESStandardDerivatives.idl:
      * html/canvas/OESTextureFloat.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLCompressedTextures.idl:
      * html/canvas/WebGLDebugRendererInfo.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLLoseContext.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * html/track/TextTrackList.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * mediastream/LocalMediaStream.idl:
      * page/BarInfo.idl:
      * page/Console.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/EventSource.idl:
      * page/Geolocation.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/Navigator.idl:
      * page/Screen.idl:
      * page/WorkerNavigator.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPluginArray.idl:
      * storage/Database.idl:
      * storage/DatabaseSync.idl:
      * storage/IDBAny.idl:
      * storage/IDBKey.idl:
      * storage/SQLError.idl:
      * storage/SQLException.idl:
      * storage/SQLResultSet.idl:
      * storage/SQLResultSetRowList.idl:
      * storage/SQLTransaction.idl:
      * storage/SQLTransactionSync.idl:
      * storage/Storage.idl:
      * svg/SVGElementInstance.idl:
      * svg/SVGPathSeg.idl:
      * webaudio/AudioBufferCallback.idl:
      * webaudio/AudioBufferSourceNode.idl:
      * webaudio/AudioContext.idl:
      * webaudio/AudioDestinationNode.idl:
      * webaudio/AudioGain.idl:
      * webaudio/AudioGainNode.idl:
      * webaudio/AudioPannerNode.idl:
      * webaudio/AudioProcessingEvent.idl:
      * webaudio/BiquadFilterNode.idl:
      * webaudio/ConvolverNode.idl:
      * webaudio/DelayNode.idl:
      * webaudio/DynamicsCompressorNode.idl:
      * webaudio/HighPass2FilterNode.idl:
      * webaudio/JavaScriptAudioNode.idl:
      * webaudio/LowPass2FilterNode.idl:
      * webaudio/MediaElementAudioSourceNode.idl:
      * webaudio/OfflineAudioCompletionEvent.idl:
      * webaudio/RealtimeAnalyserNode.idl:
      * webaudio/WaveShaperNode.idl:
      * websockets/CloseEvent.idl:
      * websockets/WebSocket.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/SharedWorkerContext.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      * workers/WorkerLocation.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestException.idl:
      * xml/XMLHttpRequestProgressEvent.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XPathResult.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72b14d6f
  16. 03 Feb, 2012 1 commit
    • haraken@chromium.org's avatar
      Add the "V8" prefix to V8 specific IDL attributes · 4cc652f0
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77713
      
      Reviewed by Adam Barth.
      
      This patch adds the "V8" prefix to a V8 specific IDL attribute:
      [EnabledAtRuntime] => [V8EnabledAtRuntime]
      
      No tests. No change in behavior.
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeader):
      (GenerateImplementation):
      (GetRuntimeEnableFunctionName):
      
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/V8/V8TestObj.cpp: Updated the run-bindings-tests results.
      (WebCore::ConfigureV8TestObjTemplate):
      
      * Modules/gamepad/NavigatorGamepad.idl:
      * dom/Clipboard.idl:
      * dom/Document.idl:
      * dom/Element.idl:
      * dom/MouseEvent.idl:
      * dom/ShadowRoot.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLTrackElement.idl:
      * html/TextTrack.idl:
      * html/TextTrackCue.idl:
      * html/TextTrackCueList.idl:
      * html/shadow/HTMLContentElement.idl:
      * html/track/TextTrackList.idl:
      * html/track/TrackEvent.idl:
      * page/DOMWindow.idl:
      * page/History.idl:
      * page/Navigator.idl:
      * storage/DOMWindowSQLDatabase.idl:
      * webaudio/DOMWindowWebAudio.idl:
      * websockets/DOMWindowWebSocket.idl:
      * workers/WorkerContext.idl:
      * xml/XMLHttpRequest.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cc652f0
  17. 25 Oct, 2011 1 commit
  18. 02 Aug, 2011 1 commit
  19. 17 Jun, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-06-17 Mark Pilgrim <pilgrim@chromium.org> · 2b74ad96
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              Change IDL code generator to require all arguments by default
              https://bugs.webkit.org/show_bug.cgi?id=62750
      
              As per discussion on public-webapps, WebIDL is changing the default
              behavior to require all function arguments by default and raise an
              exception when an argument is missing. (This behavior is currently
              opt-in in WebKit's IDL system, on a function-by-function basis, with
              the "RequiresAllArguments=Raise" flag.) To order to match WebIDL as
              closely as possible, this patch adds an interface-level
              "LegacyDefaultOptionalArguments" flag and sets it on all existing IDL
              files (500+), then changes the code generator Perl scripts to behave
              the old way in the presence of the flag.
      
              No new tests required, all existing tests still pass.
      
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/scripts/test/TestCallback.idl:
              * bindings/scripts/test/TestInterface.idl:
              * bindings/scripts/test/TestMediaQueryListListener.idl:
              * bindings/scripts/test/TestObj.idl:
              * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
              * css/CSSCharsetRule.idl:
              * css/CSSFontFaceRule.idl:
              * css/CSSImportRule.idl:
              * css/CSSMediaRule.idl:
              * css/CSSPageRule.idl:
              * css/CSSPrimitiveValue.idl:
              * css/CSSRule.idl:
              * css/CSSRuleList.idl:
              * css/CSSStyleDeclaration.idl:
              * css/CSSStyleRule.idl:
              * css/CSSStyleSheet.idl:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.idl:
              * css/CSSValueList.idl:
              * css/Counter.idl:
              * css/MediaList.idl:
              * css/MediaQueryList.idl:
              * css/MediaQueryListListener.idl:
              * css/RGBColor.idl:
              * css/Rect.idl:
              * css/StyleMedia.idl:
              * css/StyleSheet.idl:
              * css/StyleSheetList.idl:
              * css/WebKitCSSKeyframeRule.idl:
              * css/WebKitCSSKeyframesRule.idl:
              * css/WebKitCSSMatrix.idl:
              * css/WebKitCSSTransformValue.idl:
              * dom/Attr.idl:
              * dom/BeforeLoadEvent.idl:
              * dom/BeforeProcessEvent.idl:
              * dom/CDATASection.idl:
              * dom/CharacterData.idl:
              * dom/ClientRect.idl:
              * dom/ClientRectList.idl:
              * dom/Clipboard.idl:
              * dom/Comment.idl:
              * dom/CompositionEvent.idl:
              * dom/CustomEvent.idl:
              * dom/DOMCoreException.idl:
              * dom/DOMImplementation.idl:
              * dom/DOMStringList.idl:
              * dom/DOMStringMap.idl:
              * dom/DataTransferItem.idl:
              * dom/DataTransferItems.idl:
              * dom/DeviceMotionEvent.idl:
              * dom/DeviceOrientationEvent.idl:
              * dom/Document.idl:
              * dom/DocumentFragment.idl:
              * dom/DocumentType.idl:
              * dom/Element.idl:
              * dom/Entity.idl:
              * dom/EntityReference.idl:
              * dom/ErrorEvent.idl:
              * dom/Event.idl:
              * dom/EventException.idl:
              * dom/EventListener.idl:
              * dom/EventTarget.idl:
              * dom/ExclusiveTrackList.idl:
              * dom/GeneratedStream.idl:
              * dom/HashChangeEvent.idl:
              * dom/KeyboardEvent.idl:
              * dom/MessageChannel.idl:
              * dom/MessageEvent.idl:
              * dom/MessagePort.idl:
              * dom/MouseEvent.idl:
              * dom/MultipleTrackList.idl:
              * dom/MutationEvent.idl:
              * dom/NamedNodeMap.idl:
              * dom/Node.idl:
              * dom/NodeFilter.idl:
              * dom/NodeIterator.idl:
              * dom/NodeList.idl:
              * dom/Notation.idl:
              * dom/OverflowEvent.idl:
              * dom/PageTransitionEvent.idl:
              * dom/PopStateEvent.idl:
              * dom/ProcessingInstruction.idl:
              * dom/ProgressEvent.idl:
              * dom/Range.idl:
              * dom/RangeException.idl:
              * dom/RequestAnimationFrameCallback.idl:
              * dom/Stream.idl:
              * dom/StreamEvent.idl:
              * dom/StreamList.idl:
              * dom/StringCallback.idl:
              * dom/Text.idl:
              * dom/TextEvent.idl:
              * dom/Touch.idl:
              * dom/TouchEvent.idl:
              * dom/TouchList.idl:
              * dom/TrackList.idl:
              * dom/TreeWalker.idl:
              * dom/UIEvent.idl:
              * dom/WebKitAnimationEvent.idl:
              * dom/WebKitTransitionEvent.idl:
              * dom/WheelEvent.idl:
              * fileapi/Blob.idl:
              * fileapi/DOMFileSystem.idl:
              * fileapi/DOMFileSystemSync.idl:
              * fileapi/DirectoryEntry.idl:
              * fileapi/DirectoryEntrySync.idl:
              * fileapi/DirectoryReader.idl:
              * fileapi/DirectoryReaderSync.idl:
              * fileapi/EntriesCallback.idl:
              * fileapi/Entry.idl:
              * fileapi/EntryArray.idl:
              * fileapi/EntryArraySync.idl:
              * fileapi/EntryCallback.idl:
              * fileapi/EntrySync.idl:
              * fileapi/ErrorCallback.idl:
              * fileapi/File.idl:
              * fileapi/FileCallback.idl:
              * fileapi/FileEntry.idl:
              * fileapi/FileEntrySync.idl:
              * fileapi/FileError.idl:
              * fileapi/FileException.idl:
              * fileapi/FileList.idl:
              * fileapi/FileReader.idl:
              * fileapi/FileReaderSync.idl:
              * fileapi/FileSystemCallback.idl:
              * fileapi/FileWriter.idl:
              * fileapi/FileWriterCallback.idl:
              * fileapi/FileWriterSync.idl:
              * fileapi/Metadata.idl:
              * fileapi/MetadataCallback.idl:
              * fileapi/OperationNotAllowedException.idl:
              * fileapi/WebKitBlobBuilder.idl:
              * fileapi/WebKitFlags.idl:
              * html/DOMFormData.idl:
              * html/DOMSettableTokenList.idl:
              * html/DOMTokenList.idl:
              * html/DOMURL.idl:
              * html/HTMLAllCollection.idl:
              * html/HTMLAnchorElement.idl:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.idl:
              * html/HTMLAudioElement.idl:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.idl:
              * html/HTMLButtonElement.idl:
              * html/HTMLCanvasElement.idl:
              * html/HTMLCollection.idl:
              * html/HTMLDListElement.idl:
              * html/HTMLDataListElement.idl:
              * html/HTMLDetailsElement.idl:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLDivElement.idl:
              * html/HTMLDocument.idl:
              * html/HTMLElement.idl:
              * html/HTMLEmbedElement.idl:
              * html/HTMLFieldSetElement.idl:
              * html/HTMLFontElement.idl:
              * html/HTMLFormElement.idl:
              * html/HTMLFrameElement.idl:
              * html/HTMLFrameSetElement.idl:
              * html/HTMLHRElement.idl:
              * html/HTMLHeadElement.idl:
              * html/HTMLHeadingElement.idl:
              * html/HTMLHtmlElement.idl:
              * html/HTMLIFrameElement.idl:
              * html/HTMLImageElement.idl:
              * html/HTMLInputElement.idl:
              * html/HTMLIsIndexElement.idl:
              * html/HTMLKeygenElement.idl:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMediaElement.idl:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.idl:
              * html/HTMLMeterElement.idl:
              * html/HTMLModElement.idl:
              * html/HTMLOListElement.idl:
              * html/HTMLObjectElement.idl:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.idl:
              * html/HTMLOptionsCollection.idl:
              * html/HTMLOutputElement.idl:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.idl:
              * html/HTMLPreElement.idl:
              * html/HTMLProgressElement.idl:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.idl:
              * html/HTMLSelectElement.idl:
              * html/HTMLSourceElement.idl:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.idl:
              * html/HTMLTableElement.idl:
              * html/HTMLTableRowElement.idl:
              * html/HTMLTableSectionElement.idl:
              * html/HTMLTextAreaElement.idl:
              * html/HTMLTitleElement.idl:
              * html/HTMLTrackElement.idl:
              * html/HTMLUListElement.idl:
              * html/HTMLVideoElement.idl:
              * html/ImageData.idl:
              * html/MediaError.idl:
              * html/SpellcheckRange.idl:
              * html/SpellcheckRangeList.idl:
              * html/TextMetrics.idl:
              * html/TimeRanges.idl:
              * html/ValidityState.idl:
              * html/VoidCallback.idl:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/CanvasGradient.idl:
              * html/canvas/CanvasPattern.idl:
              * html/canvas/CanvasPixelArray.idl:
              * html/canvas/CanvasRenderingContext.idl:
              * html/canvas/CanvasRenderingContext2D.idl:
              * html/canvas/DataView.idl:
              * html/canvas/Float32Array.idl:
              * html/canvas/Float64Array.idl:
              * html/canvas/Int16Array.idl:
              * html/canvas/Int32Array.idl:
              * html/canvas/Int8Array.idl:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/OESVertexArrayObject.idl:
              * html/canvas/Uint16Array.idl:
              * html/canvas/Uint32Array.idl:
              * html/canvas/Uint8Array.idl:
              * html/canvas/WebGLActiveInfo.idl:
              * html/canvas/WebGLBuffer.idl:
              * html/canvas/WebGLContextAttributes.idl:
              * html/canvas/WebGLContextEvent.idl:
              * html/canvas/WebGLFramebuffer.idl:
              * html/canvas/WebGLProgram.idl:
              * html/canvas/WebGLRenderbuffer.idl:
              * html/canvas/WebGLRenderingContext.idl:
              * html/canvas/WebGLShader.idl:
              * html/canvas/WebGLTexture.idl:
              * html/canvas/WebGLUniformLocation.idl:
              * html/canvas/WebGLVertexArrayObjectOES.idl:
              * html/canvas/WebKitLoseContext.idl:
              * inspector/InjectedScriptHost.idl:
              * inspector/InspectorFrontendHost.idl:
              * inspector/JavaScriptCallFrame.idl:
              * inspector/ScriptProfile.idl:
              * inspector/ScriptProfileNode.idl:
              * loader/appcache/DOMApplicationCache.idl:
              * notifications/Notification.idl:
              * notifications/NotificationCenter.idl:
              * page/AbstractView.idl:
              * page/BarInfo.idl:
              * page/Console.idl:
              * page/Coordinates.idl:
              * page/Crypto.idl:
              * page/DOMSelection.idl:
              * page/DOMWindow.idl:
              * page/EventSource.idl:
              * page/Geolocation.idl:
              * page/Geoposition.idl:
              * page/History.idl:
              * page/Location.idl:
              * page/MemoryInfo.idl:
              * page/Navigator.idl:
              * page/NavigatorUserMediaError.idl:
              * page/NavigatorUserMediaErrorCallback.idl:
              * page/NavigatorUserMediaSuccessCallback.idl:
              * page/Performance.idl:
              * page/PerformanceNavigation.idl:
              * page/PerformanceTiming.idl:
              * page/PositionCallback.idl:
              * page/PositionError.idl:
              * page/PositionErrorCallback.idl:
              * page/Screen.idl:
              * page/SpeechInputEvent.idl:
              * page/SpeechInputResult.idl:
              * page/SpeechInputResultList.idl:
              * page/WebKitAnimation.idl:
              * page/WebKitAnimationList.idl:
              * page/WebKitPoint.idl:
              * page/WorkerNavigator.idl:
              * plugins/DOMMimeType.idl:
              * plugins/DOMMimeTypeArray.idl:
              * plugins/DOMPlugin.idl:
              * plugins/DOMPluginArray.idl:
              * storage/Database.idl:
              * storage/DatabaseCallback.idl:
              * storage/DatabaseSync.idl:
              * storage/IDBAny.idl:
              * storage/IDBCursor.idl:
              * storage/IDBCursorWithValue.idl:
              * storage/IDBDatabase.idl:
              * storage/IDBDatabaseError.idl:
              * storage/IDBDatabaseException.idl:
              * storage/IDBFactory.idl:
              * storage/IDBIndex.idl:
              * storage/IDBKey.idl:
              * storage/IDBKeyRange.idl:
              * storage/IDBObjectStore.idl:
              * storage/IDBRequest.idl:
              * storage/IDBTransaction.idl:
              * storage/IDBVersionChangeEvent.idl:
              * storage/IDBVersionChangeRequest.idl:
              * storage/SQLError.idl:
              * storage/SQLException.idl:
              * storage/SQLResultSet.idl:
              * storage/SQLResultSetRowList.idl:
              * storage/SQLStatementCallback.idl:
              * storage/SQLStatementErrorCallback.idl:
              * storage/SQLTransaction.idl:
              * storage/SQLTransactionCallback.idl:
              * storage/SQLTransactionErrorCallback.idl:
              * storage/SQLTransactionSync.idl:
              * storage/SQLTransactionSyncCallback.idl:
              * storage/Storage.idl:
              * storage/StorageEvent.idl:
              * storage/StorageInfo.idl:
              * storage/StorageInfoErrorCallback.idl:
              * storage/StorageInfoQuotaCallback.idl:
              * storage/StorageInfoUsageCallback.idl:
              * svg/ElementTimeControl.idl:
              * svg/SVGAElement.idl:
              * svg/SVGAltGlyphElement.idl:
              * svg/SVGAngle.idl:
              * svg/SVGAnimateColorElement.idl:
              * svg/SVGAnimateElement.idl:
              * svg/SVGAnimateMotionElement.idl:
              * svg/SVGAnimateTransformElement.idl:
              * svg/SVGAnimatedAngle.idl:
              * svg/SVGAnimatedBoolean.idl:
              * svg/SVGAnimatedEnumeration.idl:
              * svg/SVGAnimatedInteger.idl:
              * svg/SVGAnimatedLength.idl:
              * svg/SVGAnimatedLengthList.idl:
              * svg/SVGAnimatedNumber.idl:
              * svg/SVGAnimatedNumberList.idl:
              * svg/SVGAnimatedPreserveAspectRatio.idl:
              * svg/SVGAnimatedRect.idl:
              * svg/SVGAnimatedString.idl:
              * svg/SVGAnimatedTransformList.idl:
              * svg/SVGAnimationElement.idl:
              * svg/SVGCircleElement.idl:
              * svg/SVGClipPathElement.idl:
              * svg/SVGColor.idl:
              * svg/SVGComponentTransferFunctionElement.idl:
              * svg/SVGCursorElement.idl:
              * svg/SVGDefsElement.idl:
              * svg/SVGDescElement.idl:
              * svg/SVGDocument.idl:
              * svg/SVGElement.idl:
              * svg/SVGElementInstance.idl:
              * svg/SVGElementInstanceList.idl:
              * svg/SVGEllipseElement.idl:
              * svg/SVGException.idl:
              * svg/SVGExternalResourcesRequired.idl:
              * svg/SVGFEBlendElement.idl:
              * svg/SVGFEColorMatrixElement.idl:
              * svg/SVGFEComponentTransferElement.idl:
              * svg/SVGFECompositeElement.idl:
              * svg/SVGFEConvolveMatrixElement.idl:
              * svg/SVGFEDiffuseLightingElement.idl:
              * svg/SVGFEDisplacementMapElement.idl:
              * svg/SVGFEDistantLightElement.idl:
              * svg/SVGFEDropShadowElement.idl:
              * svg/SVGFEFloodElement.idl:
              * svg/SVGFEFuncAElement.idl:
              * svg/SVGFEFuncBElement.idl:
              * svg/SVGFEFuncGElement.idl:
              * svg/SVGFEFuncRElement.idl:
              * svg/SVGFEGaussianBlurElement.idl:
              * svg/SVGFEImageElement.idl:
              * svg/SVGFEMergeElement.idl:
              * svg/SVGFEMergeNodeElement.idl:
              * svg/SVGFEMorphologyElement.idl:
              * svg/SVGFEOffsetElement.idl:
              * svg/SVGFEPointLightElement.idl:
              * svg/SVGFESpecularLightingElement.idl:
              * svg/SVGFESpotLightElement.idl:
              * svg/SVGFETileElement.idl:
              * svg/SVGFETurbulenceElement.idl:
              * svg/SVGFilterElement.idl:
              * svg/SVGFilterPrimitiveStandardAttributes.idl:
              * svg/SVGFitToViewBox.idl:
              * svg/SVGFontElement.idl:
              * svg/SVGFontFaceElement.idl:
              * svg/SVGFontFaceFormatElement.idl:
              * svg/SVGFontFaceNameElement.idl:
              * svg/SVGFontFaceSrcElement.idl:
              * svg/SVGFontFaceUriElement.idl:
              * svg/SVGForeignObjectElement.idl:
              * svg/SVGGElement.idl:
              * svg/SVGGlyphElement.idl:
              * svg/SVGGradientElement.idl:
              * svg/SVGHKernElement.idl:
              * svg/SVGImageElement.idl:
              * svg/SVGLangSpace.idl:
              * svg/SVGLength.idl:
              * svg/SVGLengthList.idl:
              * svg/SVGLineElement.idl:
              * svg/SVGLinearGradientElement.idl:
              * svg/SVGLocatable.idl:
              * svg/SVGMPathElement.idl:
              * svg/SVGMarkerElement.idl:
              * svg/SVGMaskElement.idl:
              * svg/SVGMatrix.idl:
              * svg/SVGMetadataElement.idl:
              * svg/SVGMissingGlyphElement.idl:
              * svg/SVGNumber.idl:
              * svg/SVGNumberList.idl:
              * svg/SVGPaint.idl:
              * svg/SVGPathElement.idl:
              * svg/SVGPathSeg.idl:
              * svg/SVGPathSegArcAbs.idl:
              * svg/SVGPathSegArcRel.idl:
              * svg/SVGPathSegClosePath.idl:
              * svg/SVGPathSegCurvetoCubicAbs.idl:
              * svg/SVGPathSegCurvetoCubicRel.idl:
              * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
              * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
              * svg/SVGPathSegCurvetoQuadraticAbs.idl:
              * svg/SVGPathSegCurvetoQuadraticRel.idl:
              * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
              * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
              * svg/SVGPathSegLinetoAbs.idl:
              * svg/SVGPathSegLinetoHorizontalAbs.idl:
              * svg/SVGPathSegLinetoHorizontalRel.idl:
              * svg/SVGPathSegLinetoRel.idl:
              * svg/SVGPathSegLinetoVerticalAbs.idl:
              * svg/SVGPathSegLinetoVerticalRel.idl:
              * svg/SVGPathSegList.idl:
              * svg/SVGPathSegMovetoAbs.idl:
              * svg/SVGPathSegMovetoRel.idl:
              * svg/SVGPatternElement.idl:
              * svg/SVGPoint.idl:
              * svg/SVGPointList.idl:
              * svg/SVGPolygonElement.idl:
              * svg/SVGPolylineElement.idl:
              * svg/SVGPreserveAspectRatio.idl:
              * svg/SVGRadialGradientElement.idl:
              * svg/SVGRect.idl:
              * svg/SVGRectElement.idl:
              * svg/SVGRenderingIntent.idl:
              * svg/SVGSVGElement.idl:
              * svg/SVGScriptElement.idl:
              * svg/SVGSetElement.idl:
              * svg/SVGStopElement.idl:
              * svg/SVGStringList.idl:
              * svg/SVGStylable.idl:
              * svg/SVGStyleElement.idl:
              * svg/SVGSwitchElement.idl:
              * svg/SVGSymbolElement.idl:
              * svg/SVGTRefElement.idl:
              * svg/SVGTSpanElement.idl:
              * svg/SVGTests.idl:
              * svg/SVGTextContentElement.idl:
              * svg/SVGTextElement.idl:
              * svg/SVGTextPathElement.idl:
              * svg/SVGTextPositioningElement.idl:
              * svg/SVGTitleElement.idl:
              * svg/SVGTransform.idl:
              * svg/SVGTransformList.idl:
              * svg/SVGTransformable.idl:
              * svg/SVGURIReference.idl:
              * svg/SVGUnitTypes.idl:
              * svg/SVGUseElement.idl:
              * svg/SVGVKernElement.idl:
              * svg/SVGViewElement.idl:
              * svg/SVGViewSpec.idl:
              * svg/SVGZoomAndPan.idl:
              * svg/SVGZoomEvent.idl:
              * testing/Internals.idl:
              * webaudio/AudioBuffer.idl:
              * webaudio/AudioBufferSourceNode.idl:
              * webaudio/AudioChannelMerger.idl:
              * webaudio/AudioChannelSplitter.idl:
              * webaudio/AudioContext.idl:
              * webaudio/AudioDestinationNode.idl:
              * webaudio/AudioGain.idl:
              * webaudio/AudioGainNode.idl:
              * webaudio/AudioListener.idl:
              * webaudio/AudioNode.idl:
              * webaudio/AudioPannerNode.idl:
              * webaudio/AudioParam.idl:
              * webaudio/AudioProcessingEvent.idl:
              * webaudio/AudioSourceNode.idl:
              * webaudio/BiquadFilterNode.idl:
              * webaudio/ConvolverNode.idl:
              * webaudio/DelayNode.idl:
              * webaudio/DynamicsCompressorNode.idl:
              * webaudio/HighPass2FilterNode.idl:
              * webaudio/JavaScriptAudioNode.idl:
              * webaudio/LowPass2FilterNode.idl:
              * webaudio/OfflineAudioCompletionEvent.idl:
              * webaudio/RealtimeAnalyserNode.idl:
              * websockets/CloseEvent.idl:
              * websockets/WebSocket.idl:
              * workers/AbstractWorker.idl:
              * workers/DedicatedWorkerContext.idl:
              * workers/SharedWorker.idl:
              * workers/SharedWorkerContext.idl:
              * workers/Worker.idl:
              * workers/WorkerContext.idl:
              * workers/WorkerLocation.idl:
              * xml/DOMParser.idl:
              * xml/XMLHttpRequest.idl:
              * xml/XMLHttpRequestException.idl:
              * xml/XMLHttpRequestProgressEvent.idl:
              * xml/XMLHttpRequestUpload.idl:
              * xml/XMLSerializer.idl:
              * xml/XPathEvaluator.idl:
              * xml/XPathException.idl:
              * xml/XPathExpression.idl:
              * xml/XPathNSResolver.idl:
              * xml/XPathResult.idl:
              * xml/XSLTProcessor.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b74ad96
  20. 25 Apr, 2011 1 commit
    • ggaren@apple.com's avatar
      2011-04-24 Geoffrey Garen <ggaren@apple.com> · 4e21a1e6
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
      
              Removed a use of markDOMObjectWrapper: WebGL, XHR, workers; plus, more autogeneration
              https://bugs.webkit.org/show_bug.cgi?id=59307
      
              * WebCore.xcodeproj/project.pbxproj: Added Blob.idl, so it's easier to edit.
      
              * bindings/js/JSCSSRuleCustom.cpp:
              * bindings/js/JSCSSStyleDeclarationCustom.cpp:
              * bindings/js/JSCanvasRenderingContextCustom.cpp:
              * bindings/js/JSDOMApplicationCacheCustom.cpp: Autogenerate these instead
              of hand-coding them.
      
              * bindings/js/JSDOMBinding.h:
              (WebCore::root): Moved some GC helpers here from JSNodeCustom.h, because
              they're reasonably generic.
      
              * bindings/js/JSDOMImplementationCustom.cpp:
              * bindings/js/JSDOMStringMapCustom.cpp:
              * bindings/js/JSDOMTokenListCustom.cpp:
              * bindings/js/JSHTMLCollectionCustom.cpp:
              * bindings/js/JSMediaListCustom.cpp: Autogenerate these instead of
              hand-coding them.
      
              * bindings/js/JSMessageChannelCustom.cpp:
              (WebCore::JSMessageChannel::visitChildren):
              * bindings/js/JSMessagePortCustom.cpp:
              (WebCore::JSMessagePort::visitChildren): Use addOpaqueRoot instead of
              markDOMObjectWrapper. This is one of the few cases where a DOM object is
              considered a stand-alone root. It's not as efficient as the shared root
              case, but workers and message ports are very rare objects, so it's no
              big deal.
      
              * bindings/js/JSNamedNodeMapCustom.cpp: Autogenerate!
      
              * bindings/js/JSNodeCustom.h: Moved to JSDOMBinding.h.
      
              * bindings/js/JSSharedWorkerCustom.cpp:
              (WebCore::JSSharedWorker::visitChildren): Use addOpaqueRoot instead of
              markDOMObjectWrapper, as above. Once again, a stand-alone root.
      
              * bindings/js/JSStyleSheetCustom.cpp:
              * bindings/js/JSStyleSheetListCustom.cpp: Autogenerate!
      
              * bindings/js/JSWebGLRenderingContextCustom.cpp:
              (WebCore::JSWebGLRenderingContext::visitChildren): Use the opaque roots
              system for marking WebGL contexts and their associated satellite objects.
      
              * bindings/js/JSWorkerContextCustom.cpp:
              (WebCore::JSWorkerContext::visitChildren):
              * bindings/js/JSXMLHttpRequestCustom.cpp: Use addOpaqueRoot instead of
              markDOMObjectWrapper, as above. Once again, stand-alone roots.
      
              (WebCore::JSXMLHttpRequest::visitChildren):
              * bindings/js/JSXMLHttpRequestUploadCustom.cpp: No need to mark our owner
              XHR because it is not reachable from us.
      
              * bindings/scripts/CodeGeneratorJS.pm: Added autogeneration support for a
              bunch of repetitive cases of isReachableFromOpaqueRoots callbacks.
      
              * css/CSSRule.idl:
              * css/CSSStyleDeclaration.idl:
              * css/MediaList.idl:
              * css/StyleMedia.idl:
              * css/StyleSheet.idl:
              * css/StyleSheetList.idl:
              * dom/DOMImplementation.idl:
              * dom/DOMStringMap.idl:
              * dom/MessagePort.idl:
              * dom/NamedNodeMap.idl:
              * fileapi/Blob.idl:
              * html/DOMTokenList.idl: Opt in to autogeneration.
      
              * html/HTMLCanvasElement.cpp:
              (WebCore::HTMLCanvasElement::getContext): Standardized on PassOwnPtr/OwnPtr
              usage, to reduce human error and make ownership rules more obvious.
      
              * html/HTMLCollection.idl:
              * html/canvas/ArrayBuffer.idl: Opt in to autogeneration.
      
              * html/canvas/CanvasRenderingContext.cpp:
              * html/canvas/CanvasRenderingContext.h:
              (WebCore::CanvasRenderingContext::ref):
              (WebCore::CanvasRenderingContext::deref):
              * html/canvas/CanvasRenderingContext2D.h:
              (WebCore::CanvasRenderingContext2D::create):
              (WebCore::CanvasRenderingContext2D::state): Standardized on PassOwnPtr/OwnPtr
              usage, to reduce human error and make ownership rules more obvious.
              
              Inlined some functions to match our standard idiom and to make the code
              in the header document itself.
      
              * html/canvas/CanvasRenderingContext.idl: Opt in to autogeneration.
      
              * html/canvas/OESStandardDerivatives.cpp:
              (WebCore::OESStandardDerivatives::OESStandardDerivatives):
              (WebCore::OESStandardDerivatives::create):
              * html/canvas/OESStandardDerivatives.h:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.cpp:
              (WebCore::OESTextureFloat::OESTextureFloat):
              (WebCore::OESTextureFloat::create):
              * html/canvas/OESTextureFloat.h:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/OESVertexArrayObject.cpp:
              (WebCore::OESVertexArrayObject::OESVertexArrayObject):
              (WebCore::OESVertexArrayObject::create):
              * html/canvas/OESVertexArrayObject.h:
              * html/canvas/OESVertexArrayObject.idl:
              * html/canvas/WebGLExtension.cpp:
              (WebCore::WebGLExtension::WebGLExtension):
              * html/canvas/WebGLExtension.h:
              (WebCore::WebGLExtension::ref):
              (WebCore::WebGLExtension::deref):
              (WebCore::WebGLExtension::context):
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::~WebGLRenderingContext):
              (WebCore::WebGLRenderingContext::getExtension):
              * html/canvas/WebGLRenderingContext.h:
              * html/canvas/WebKitLoseContext.cpp:
              (WebCore::WebKitLoseContext::WebKitLoseContext):
              (WebCore::WebKitLoseContext::create):
              (WebCore::WebKitLoseContext::loseContext):
              * html/canvas/WebKitLoseContext.h:
              * html/canvas/WebKitLoseContext.idl: Updated the ownership model for WebGL
              canavs rendering contexts to match the model for 2D canvas rendering
              contexts. This makes garbage collection a lot more straightforward, but
              it also makes the behavior of these objects more reliable. (Previously,
              satellite objects would magically stop working when the last reference
              to their owner object was dropped. Now, satellite objects keep their owner
              alive through reference counting.)
      
              * loader/appcache/DOMApplicationCache.idl:
              * page/BarInfo.idl:
              * page/Console.idl:
              * page/DOMSelection.idl:
              * page/Geolocation.idl:
              * page/History.idl:
              * page/Location.idl:
              * page/Navigator.idl:
              * page/Screen.idl:
              * page/WorkerNavigator.idl:
              * plugins/DOMMimeTypeArray.h:
              (WebCore::DOMMimeTypeArray::frame):
              * plugins/DOMMimeTypeArray.idl:
              * plugins/DOMPluginArray.h:
              (WebCore::DOMPluginArray::frame):
              * plugins/DOMPluginArray.idl:
              * storage/Storage.idl:
              * workers/WorkerLocation.idl: Opt in to autogeneration.
      
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::~XMLHttpRequest):
              * xml/XMLHttpRequest.h:
              * xml/XMLHttpRequestUpload.cpp:
              (WebCore::XMLHttpRequestUpload::scriptExecutionContext):
              * xml/XMLHttpRequestUpload.h:
              (WebCore::XMLHttpRequestUpload::create):
              (WebCore::XMLHttpRequestUpload::ref):
              (WebCore::XMLHttpRequestUpload::deref):
              (WebCore::XMLHttpRequestUpload::xmlHttpRequest):
              (WebCore::XMLHttpRequestUpload::toXMLHttpRequestUpload):
              * xml/XMLHttpRequestUpload.idl: Updated the ownership model for XHR and
              its associated upload object to match the model for canvas. This makes
              garbage collection a lot more straightforward, but it also makes the
              behavior of these objects more reliable.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e21a1e6
  21. 23 Apr, 2011 3 commits
    • ggaren@apple.com's avatar
      2011-04-22 Geoffrey Garen <ggaren@apple.com> · ff7556d7
      ggaren@apple.com authored
              
              Rolled back in r84725 and r84728 with appcache crash fixed.
      
              Reviewed by Oliver Hunt.
      
              Removed a use of markDOMObjectWrapper: DOMWindow
              https://bugs.webkit.org/show_bug.cgi?id=59260
      
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::visitChildren): No need to mark explicitly, since
              we use the opaque roots system now.
      
              * bindings/js/JSNavigatorCustom.cpp: Ditto.
      
              * bindings/scripts/CodeGeneratorJS.pm: Added autogeneration for objects
              whose opaque roots are frames.
      
              * css/StyleMedia.h:
              (WebCore::StyleMedia::frame): Added an accessor for the sake of GC.
      
              * css/StyleMedia.idl:
              * loader/appcache/DOMApplicationCache.idl:
              * page/BarInfo.idl:
              * page/Console.idl:
              * page/DOMSelection.idl:
              * page/Geolocation.idl:
              * page/History.idl:
              * page/Location.idl:
              * page/Navigator.idl:
              * page/Screen.idl:
              * storage/Storage.idl: Updated to use the opaque roots system.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff7556d7
    • ossy@webkit.org's avatar
      2011-04-22 Sheriff Bot <webkit.review.bot@gmail.com> · 956bff65
      ossy@webkit.org authored
              Unreviewed, rolling out r84725 and r84728.
              http://trac.webkit.org/changeset/84725
              http://trac.webkit.org/changeset/84728
              https://bugs.webkit.org/show_bug.cgi?id=59270
      
              It broke http/tests/appcache tests (Requested by Ossy on
              #webkit).
      
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::visitChildren):
              * bindings/js/JSNavigatorCustom.cpp:
              (WebCore::JSNavigator::visitChildren):
              * bindings/scripts/CodeGeneratorJS.pm:
              * css/StyleMedia.h:
              * css/StyleMedia.idl:
              * loader/appcache/DOMApplicationCache.idl:
              * page/BarInfo.idl:
              * page/Console.idl:
              * page/DOMSelection.idl:
              * page/DOMWindow.h:
              (WebCore::DOMWindow::optionalScreen):
              (WebCore::DOMWindow::optionalSelection):
              (WebCore::DOMWindow::optionalHistory):
              (WebCore::DOMWindow::optionalCrypto):
              (WebCore::DOMWindow::optionalLocationbar):
              (WebCore::DOMWindow::optionalMenubar):
              (WebCore::DOMWindow::optionalPersonalbar):
              (WebCore::DOMWindow::optionalScrollbars):
              (WebCore::DOMWindow::optionalStatusbar):
              (WebCore::DOMWindow::optionalToolbar):
              (WebCore::DOMWindow::optionalConsole):
              (WebCore::DOMWindow::optionalNavigator):
              (WebCore::DOMWindow::optionalLocation):
              (WebCore::DOMWindow::optionalMedia):
              (WebCore::DOMWindow::optionalSessionStorage):
              (WebCore::DOMWindow::optionalLocalStorage):
              (WebCore::DOMWindow::optionalPerformance):
              * page/Geolocation.idl:
              * page/History.idl:
              * page/Location.idl:
              * page/Navigator.h:
              (WebCore::Navigator::optionalGeolocation):
              * page/Navigator.idl:
              * page/Screen.idl:
              * storage/Storage.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      956bff65
    • ggaren@apple.com's avatar
      2011-04-22 Geoffrey Garen <ggaren@apple.com> · 1ef35ddd
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Removed a use of markDOMObjectWrapper: DOMWindow
              https://bugs.webkit.org/show_bug.cgi?id=59260
      
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::visitChildren): No need to mark explicitly, since
              we use the opaque roots system now.
      
              * bindings/js/JSNavigatorCustom.cpp: Ditto.
      
              * bindings/scripts/CodeGeneratorJS.pm: Added autogeneration for objects
              whose opaque roots are frames.
      
              * css/StyleMedia.h:
              (WebCore::StyleMedia::frame): Added an accessor for the sake of GC.
      
              * css/StyleMedia.idl:
              * loader/appcache/DOMApplicationCache.idl:
              * page/BarInfo.idl:
              * page/Console.idl:
              * page/DOMSelection.idl:
              * page/Geolocation.idl:
              * page/History.idl:
              * page/Location.idl:
              * page/Navigator.idl:
              * page/Screen.idl:
              * storage/Storage.idl: Updated to use the opaque roots system.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ef35ddd
  22. 08 Jan, 2011 1 commit
  23. 02 Jan, 2011 1 commit
    • abarth@webkit.org's avatar
      2011-01-01 Adam Barth <abarth@webkit.org> · 14e08540
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              sandbox iframes have access to top.history methods
              https://bugs.webkit.org/show_bug.cgi?id=38152
      
              To enforce the sandbox restrictions on History, we need to pass the
              ScriptExecutionContext to WebCore.  This patch leaves the original
              History methods in place because they are used directly by folks who
              don't care about security checks.
      
              Test: fast/frames/sandboxed-iframe-history-denied.html
      
              * page/History.cpp:
              (WebCore::History::back):
              (WebCore::History::forward):
              (WebCore::History::go):
              * page/History.h:
              * page/History.idl:
      2011-01-01  Justin Schuh  <jschuh@chromium.org>
      
              Reviewed by Eric Seidel.
      
              sandbox iframes have access to top.history methods
              https://bugs.webkit.org/show_bug.cgi?id=38152
      
              Test that sandboxed iframes cannot use history to navigate the top
              frame.  This test is less than ideal, as described in the test itself.
              If I was really on top of things, I'd add a test for successful use of
              the history API when allow-top-navigation is set, but that test would
              be complicated and I'm lazy (enough to copy directly from abarth).
      
              * fast/frames/sandboxed-iframe-history-denied-expected.txt: Added.
              * fast/frames/sandboxed-iframe-history-denied.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14e08540
  24. 04 Mar, 2010 1 commit
  25. 24 Dec, 2009 1 commit
    • zimmermann@webkit.org's avatar
      2009-12-23 Nikolas Zimmermann <nzimmermann@rim.com> · 0794fbb6
      zimmermann@webkit.org authored
              Reviewed by Eric Seidel.
      
              Reverse JS GenerateConstructor logic
              https://bugs.webkit.org/show_bug.cgi?id=32910
      
              Make 'GenerateConstructor' the default setting for all classes, defined in IDL files. The flag is now obsolete and
              can be removed from all IDL files in a follow-up patch. Add new 'OmitConstructor' flag, that allows to restore the
              old default behaviour: do not generate JSFoobarConstructor class.
      
              No change in functionality, despite the fact that we're generating a lot more constructors now, as they have to
              be exposed through DOMWindow.idl -- this can be done per affected class in follow-up patches. Especially the SVG
              classes have to be exposed, most of them are missing JS constructors so far.
      
              As side effect HTMLOptionsCollection is now correctly exposing its constructor, thus fixing a test in fast/dom/wrapper-classes.html
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0794fbb6
  26. 03 Dec, 2009 1 commit
    • beidson@apple.com's avatar
      <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API · 08c61758
      beidson@apple.com authored
      Reviewed by Sam Weinig.
      
      WebCore: 
      
      Tests: fast/loader/stateobjects/document-destroyed-navigate-back.html
             fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll.html
             fast/loader/stateobjects/popstate-after-load-complete-addeventlistener.html
             fast/loader/stateobjects/popstate-after-load-complete-body-attribute.html
             fast/loader/stateobjects/popstate-after-load-complete-window-attribute.html
             fast/loader/stateobjects/pushstate-object-types.html
             fast/loader/stateobjects/pushstate-then-replacestate.html
             fast/loader/stateobjects/pushstate-with-fragment-urls-and-hashchange.html
             fast/loader/stateobjects/replacestate-then-pushstate.html
             http/tests/loading/state-object-security-exception.html
      
      Derived sources and project file changes:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.am
      * WebCore.pro
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      
      Add the new PopStateEvent:
      * dom/PopStateEvent.cpp: Added.
      (WebCore::PopStateEvent::PopStateEvent):
      (WebCore::PopStateEvent::initPopStateEvent):
      * dom/PopStateEvent.h: Added.
      (WebCore::PopStateEvent::create):
      (WebCore::PopStateEvent::isPopStateEvent):
      (WebCore::PopStateEvent::state):
      * dom/PopStateEvent.idl: Added.
      * bindings/js/JSPopStateEventCustom.cpp: Added.
      (WebCore::JSPopStateEvent::initPopStateEvent):
      (WebCore::JSPopStateEvent::state):
      * bindings/js/JSEventCustom.cpp:
      (WebCore::toJS):
      * dom/Event.cpp:
      (WebCore::Event::isPopStateEvent):
      * dom/Event.h:
      * dom/EventNames.h:
      
      Add the "onpopstate" attribute:
      * html/HTMLAttributeNames.in:
      * html/HTMLBodyElement.cpp:
      (WebCore::HTMLBodyElement::parseMappedAttribute):
      * html/HTMLBodyElement.idl:
      * html/HTMLFrameSetElement.cpp:
      (WebCore::HTMLFrameSetElement::parseMappedAttribute):
      * html/HTMLFrameSetElement.h:
      * html/HTMLFrameSetElement.idl:
      * page/DOMWindow.h:
      * page/DOMWindow.idl:
      
      Add pushState and replaceState management to the loader and history machinery:
      * bindings/js/JSHistoryCustom.cpp:
      (WebCore::JSHistory::pushState):
      (WebCore::JSHistory::replaceState):
      * loader/HistoryController.cpp:
      (WebCore::HistoryController::updateForSameDocumentNavigation): Augmented from "scrollToAnchor()", combining
        both the same-document fragment scroll case with the new same-document state object activation case.
      (WebCore::HistoryController::pushState):
      (WebCore::HistoryController::replaceState):
      * loader/HistoryController.h:
      * history/BackForwardList.cpp:
      (WebCore::BackForwardList::addItem): Use insertItemAfterCurrent.
      (WebCore::BackForwardList::insertItemAfterCurrent): Optionally insert the item without clearing the forward
        list, as pushStateItem might've selectively cleared only certain items, with the bulk of the forward list
        meant to remain.
      (WebCore::BackForwardList::pushStateItem): Clear the forward list *only* for the state item's document, then 
        insert the new item.
      (WebCore::BackForwardList::removeItem):
      * history/BackForwardList.h:
      * page/History.cpp:
      (WebCore::History::urlForState):
      (WebCore::History::stateObjectAdded):
      * page/History.h:
      * page/History.idl:
      
      Let HistoryItems and Documents associate with each other, as well as letting HistoryItems contain state objects:
      * history/HistoryItem.cpp:
      (WebCore::HistoryItem::HistoryItem):
      (WebCore::HistoryItem::~HistoryItem):
      (WebCore::HistoryItem::setStateObject):
      (WebCore::HistoryItem::setDocument):
      (WebCore::HistoryItem::documentDetached):
      * history/HistoryItem.h:
      (WebCore::HistoryItem::stateObject):
      (WebCore::HistoryItem::document):
      * dom/Document.cpp:
      (WebCore::Document::detach): Notify all back/forward history items owned by this Document that it
        is going away.
      (WebCore::Document::registerHistoryItem): Manage the list of back/forward history items this document owns.
      (WebCore::Document::unregisterHistoryItem): Ditto.
      * dom/Document.h:
      
      Add the ability for Documents, DocumentLoaders, and FrameLoaderClients to be notified when a Documents
      URL changes as the result of pushState(), replaceState(), or a popstate navigation:
      * dom/Document.cpp:
      (WebCore::Document::implicitClose): If there's a pending state object, dispatch the popstate event.
      (WebCore::Document::updateURLForPushOrReplaceState):
      (WebCore::Document::statePopped): If loading is complete, dispatch the popstate event. Otherwise, set 
        the pending state object.
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::replaceRequestURLForSameDocumentNavigation):
      * loader/DocumentLoader.h:
      * loader/FrameLoaderClient.h:
      * loader/EmptyClients.h:
      (WebCore::EmptyFrameLoaderClient::dispatchDidChangeStateObjectForPageForFrame):
      
      Change handling of "loading a HistoryItem" to distinguish between new-Document navigations and same-Document
      navigations, combining the old concept of anchor scrolls with the new concept of state object navigations:
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::loadInSameDocument):
      (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
      (WebCore::FrameLoader::navigateWithinDocument):
      (WebCore::FrameLoader::navigateToDifferentDocument):
      (WebCore::FrameLoader::loadItem):
      * loader/FrameLoader.h:
      * page/Page.cpp:
      (WebCore::Page::goToItem): Changed to allow state object activations to pass through without the load stopping.
      
      WebKit/chromium: 
      
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
      (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
      (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage):
      * src/FrameLoaderClientImpl.h:
      
      WebKit/gtk: 
      
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      (WebKit::FrameLoaderClient::dispatchDidPushStateWithinPage):
      (WebKit::FrameLoaderClient::dispatchDidReplaceStateWithinPage):
      (WebKit::FrameLoaderClient::dispatchDidPopStateWithinPage):
      * WebCoreSupport/FrameLoaderClientGtk.h:
      
      WebKit/mac: 
      
      * WebCoreSupport/WebFrameLoaderClient.h:
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::dispatchDidPushStateWithinPage):
      (WebFrameLoaderClient::dispatchDidReplaceStateWithinPage):
      (WebFrameLoaderClient::dispatchDidPopStateWithinPage):
      * WebView/WebDelegateImplementationCaching.h:
      * WebView/WebFrameLoadDelegatePrivate.h:
      * WebView/WebView.mm:
      (-[WebView _cacheFrameLoadDelegateImplementations]):
      
      WebKit/qt: 
      
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::dispatchDidPushStateWithinPage):
      (WebCore::FrameLoaderClientQt::dispatchDidReplaceStateWithinPage):
      (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage):
      * WebCoreSupport/FrameLoaderClientQt.h:
      
      WebKit/win: 
      
      * Interfaces/IWebFrameLoadDelegatePrivate2.idl:
      * WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebFrameLoaderClient::dispatchDidPushStateWithinPage):
      (WebFrameLoaderClient::dispatchDidReplaceStateWithinPage):
      (WebFrameLoaderClient::dispatchDidPopStateWithinPage):
      * WebCoreSupport/WebFrameLoaderClient.h:
      
      WebKit/wx: 
      
      * WebKitSupport/FrameLoaderClientWx.cpp:
      (WebCore::FrameLoaderClientWx::dispatchDidPushStateWithinPage):
      (WebCore::FrameLoaderClientWx::dispatchDidReplaceStateWithinPage):
      (WebCore::FrameLoaderClientWx::dispatchDidPopStateWithinPage):
      * WebKitSupport/FrameLoaderClientWx.h:
      
      WebKitTools: 
      
      Keep DRT-win building...
      
      * DumpRenderTree/win/FrameLoadDelegate.h:
      (FrameLoadDelegate::didPushStateWithinPageForFrame):
      (FrameLoadDelegate::didReplaceStateWithinPageForFrame):
      (FrameLoadDelegate::didPopStateWithinPageForFrame):
      
      LayoutTests: 
      
      Update expected results of old tests:
      * fast/dom/Window/window-appendages-cleared-expected.txt:
      * fast/dom/Window/window-properties-expected.txt:
      * http/tests/security/cross-frame-access-enumeration-expected.txt:
      
      New tests:
      * fast/loader/stateobjects: Added.
      * fast/loader/stateobjects/document-destroyed-navigate-back-expected.txt: Added.
      * fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll-expected.txt: Added.
      * fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll.html: Added.
      * fast/loader/stateobjects/document-destroyed-navigate-back.html: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-addeventlistener-expected.txt: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-addeventlistener.html: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-body-attribute-expected.txt: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-body-attribute.html: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-body-inline-attribute-expected.txt: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-body-inline-attribute.html: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-window-attribute-expected.txt: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-window-attribute.html: Added.
      * fast/loader/stateobjects/pushstate-object-types-expected.txt: Added.
      * fast/loader/stateobjects/pushstate-object-types.html: Added.
      * fast/loader/stateobjects/pushstate-then-replacestate-expected.txt: Added.
      * fast/loader/stateobjects/pushstate-then-replacestate.html: Added.
      * fast/loader/stateobjects/pushstate-with-fragment-urls-and-hashchange-expected.txt: Added.
      * fast/loader/stateobjects/pushstate-with-fragment-urls-and-hashchange.html: Added.
      * fast/loader/stateobjects/replacestate-then-pushstate-expected.txt: Added.
      * fast/loader/stateobjects/replacestate-then-pushstate.html: Added.
      * fast/loader/stateobjects/resources: Added.
      * fast/loader/stateobjects/resources/navigate-back.html: Added.
      * http/tests/loading/state-object-security-exception-expected.txt: Added.
      * http/tests/loading/state-object-security-exception.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08c61758
  27. 15 Jun, 2009 1 commit
    • weinig@apple.com's avatar
      2009-06-14 Sam Weinig <sam@webkit.org> · e832264f
      weinig@apple.com authored
              Reviewed by Cameron Zwarich.
      
              Rename the CustomGetOwnPropertySlot and CustomPutFunction extended attributes
              to DelegatingGetOwnPropertySlot and DelegatingPutFunction to more clearly describe
              their functionality (customGetOwnPropertySlot and customPut member functions have
              been renamed getOwnPropertySlotDelegate and putDelegate).  CustomGetOwnPropertySlot 
              and CustomPutFunction have been repurposed to mean a complete custom implementation
              of the function which is inline with other extended attributes prefixed with Custom.
      
              * bindings/js/JSCSSStyleDeclarationCustom.cpp:
              (WebCore::JSCSSStyleDeclaration::putDelegate):
              * bindings/js/JSDOMWindowCustom.h:
              (WebCore::JSDOMWindow::getOwnPropertySlotDelegate):
              (WebCore::JSDOMWindow::putDelegate):
              * bindings/js/JSHTMLAppletElementCustom.cpp:
              (WebCore::JSHTMLAppletElement::getOwnPropertySlotDelegate):
              (WebCore::JSHTMLAppletElement::putDelegate):
              * bindings/js/JSHTMLEmbedElementCustom.cpp:
              (WebCore::JSHTMLEmbedElement::getOwnPropertySlotDelegate):
              (WebCore::JSHTMLEmbedElement::putDelegate):
              * bindings/js/JSHTMLObjectElementCustom.cpp:
              (WebCore::JSHTMLObjectElement::getOwnPropertySlotDelegate):
              (WebCore::JSHTMLObjectElement::putDelegate):
              * bindings/js/JSHistoryCustom.cpp:
              (WebCore::JSHistory::getOwnPropertySlotDelegate):
              (WebCore::JSHistory::putDelegate):
              * bindings/js/JSLocationCustom.cpp:
              (WebCore::JSLocation::getOwnPropertySlotDelegate):
              (WebCore::JSLocation::putDelegate):
              (WebCore::JSLocationPrototype::putDelegate):
              * bindings/js/JSStorageCustom.cpp:
              (WebCore::JSStorage::putDelegate):
              * bindings/js/JSWorkerContextCustom.cpp:
              (WebCore::JSWorkerContext::getOwnPropertySlotDelegate):
              * bindings/scripts/CodeGeneratorJS.pm:
              * css/CSSStyleDeclaration.idl:
              * html/HTMLAppletElement.idl:
              * html/HTMLEmbedElement.idl:
              * html/HTMLObjectElement.idl:
              * page/DOMWindow.idl:
              * page/History.idl:
              * page/Location.idl:
              * storage/Storage.idl:
              * workers/WorkerContext.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e832264f
  28. 12 May, 2009 1 commit
    • ddkilzer@apple.com's avatar
      Bug 25087: Test for ENABLE_FOO macros consistently in IDL files · 38fe0204
      ddkilzer@apple.com authored
              <https://bugs.webkit.org/show_bug.cgi?id=25087>
      
              Reviewed by Timothy Hatcher.
      
              Change tests for ENABLE macros to check for both existence and
              value:
      
              - Negative:  #if !defined(ENABLE_FOO) || !ENABLE_FOO
              - Positive:  #if defined(ENABLE_FOO) && ENABLE_FOO
      
              * css/CSSCharsetRule.idl:
              * css/CSSPrimitiveValue.idl:
              * css/RGBColor.idl:
              * dom/Attr.idl:
              * dom/DOMCoreException.idl:
              * dom/DOMImplementation.idl:
              * dom/Document.idl:
              * dom/Element.idl:
              * dom/Event.idl:
              * dom/EventException.idl:
              * dom/KeyboardEvent.idl:
              * dom/MessagePort.idl:
              * dom/MouseEvent.idl:
              * dom/Node.idl:
              * dom/ProcessingInstruction.idl:
              * dom/Range.idl:
              * dom/RangeException.idl:
              * dom/WheelEvent.idl:
              * html/CanvasPixelArray.idl:
              * html/HTMLAnchorElement.idl:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.idl:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLCanvasElement.idl:
              * html/HTMLDocument.idl:
              * html/HTMLElement.idl:
              * html/HTMLEmbedElement.idl:
              * html/HTMLFrameElement.idl:
              * html/HTMLIFrameElement.idl:
              * html/HTMLImageElement.idl:
              * html/HTMLInputElement.idl:
              * html/HTMLLinkElement.idl:
              * html/HTMLObjectElement.idl:
              * html/HTMLOptionElement.idl:
              * html/HTMLOptionsCollection.idl:
              * html/HTMLSelectElement.idl:
              * html/HTMLStyleElement.idl:
              * html/ImageData.idl:
              * inspector/InspectorController.idl:
              * loader/appcache/DOMApplicationCache.idl:
              * page/Console.idl:
              * page/Coordinates.idl:
              * page/DOMSelection.idl:
              * page/DOMWindow.idl:
              * page/Geoposition.idl:
              * page/History.idl:
              * page/Location.idl:
              * page/Navigator.idl:
              * svg/SVGElementInstance.idl:
              * svg/SVGException.idl:
              * workers/WorkerContext.idl:
              * xml/XMLHttpRequestException.idl:
              * xml/XPathException.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38fe0204
  29. 09 Mar, 2009 1 commit
  30. 06 Feb, 2008 1 commit
    • weinig@apple.com's avatar
      WebCore: · fbec81e4
      weinig@apple.com authored
              Reviewed by Darin Adler.
      
              Fix for <rdar://problem/5726604> 
              dom-checker: deleting properties of the window object cross-domain should not be allowed
      
              Fix flaw found while testing with dom-checker testing tool (http://code.google.com/p/dom-checker/).
      
              Test: http/tests/security/cross-frame-access-delete.html
      
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::deleteProperty): Override deleteProperty to not delete cross-domain.
              * bindings/js/JSHistoryCustom.cpp:
              (WebCore::JSHistory::deleteProperty): ditto.
              * bindings/js/JSLocation.cpp:
              (WebCore::JSLocation::deleteProperty): ditto.
              * bindings/js/JSLocation.h:
      
              * bindings/scripts/CodeGeneratorJS.pm: Add deleteProperty declaration when CustomDeleteProperty is used.
              * page/DOMWindow.idl: Add CustomDeleteProperty extended attribute.
              * page/History.idl: ditto.
      
      LayoutTests:
      
              Reviewed by Darin Adler.
      
              Test for <rdar://problem/5726604>
              dom-checker: deleting properties of the window object cross-domain should not be allowed
      
              * http/tests/security/cross-frame-access-delete-expected.txt: Added.
              * http/tests/security/cross-frame-access-delete.html: Added.
              * http/tests/security/resources/cross-frame-iframe-for-delete-test.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fbec81e4