1. 09 May, 2013 1 commit
    • 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
  2. 28 Jan, 2013 1 commit
    • abarth@webkit.org's avatar
      [v8] Security feature: JavaScript Bindings hardening · 7929995e
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106608
      
      Source/WebCore: 
      
      The patch adds a check at wrapper creation time to enuse that the
      object being wrapped is not already free, to the extent that we know
      the information about the type of the object as provided in the IDL.
      
      Patch by Tom Sepez <tsepez@chromium.org> on 2013-01-28
      Reviewed by Adam Barth.
      
      Patch is correct if existing tests pass without new crashes.
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateImplementation):
      (GenerateToV8Converters):
      (GetNativeTypeForConversions):
      (GetGnuVTableRefForInterface):
      (GetGnuVTableNameForInterface):
      (GetGnuMangledNameForInterface):
      (GetGnuVTableOffsetForType):
      (GetWinVTableRefForInterface):
      (GetWinVTableNameForInterface):
      (GetWinMangledNameForInterface):
      (GetNamespaceForInterface):
      (GetImplementationLacksVTableForInterface):
      (GetV8SkipVTableValidationForInterface):
      Update code generation to add object validity tests under the control
      of the ENABLE_BINDING_INTEGRITY option.
              
      * Modules/filesystem/DirectoryReader.idl:
      * Modules/filesystem/DirectoryReaderSync.idl:
      * Modules/filesystem/EntryArray.idl:
      * Modules/filesystem/EntryArraySync.idl:
      * Modules/filesystem/Metadata.idl:
      * Modules/gamepad/Gamepad.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/geolocation/Geoposition.idl:
      * Modules/geolocation/PositionError.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/mediastream/RTCStatsElement.idl:
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/speech/SpeechGrammar.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognitionAlternative.idl:
      * Modules/speech/SpeechRecognitionResult.idl:
      * Modules/speech/SpeechRecognitionResultList.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioDestinationNode.idl:
      * Modules/webaudio/AudioListener.idl:
      * Modules/webaudio/AudioSourceNode.idl:
      * Modules/webaudio/WaveTable.idl:
      * Modules/webdatabase/SQLError.idl:
      * Modules/webdatabase/SQLException.idl:
      * Modules/webdatabase/SQLResultSet.idl:
      * Modules/webdatabase/SQLResultSetRowList.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/SQLTransactionSync.idl:
      * bindings/scripts/IDLAttributes.txt:
      * css/CSSPrimitiveValue.idl:
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSValue.idl:
      * css/CSSValueList.idl:
      * css/Counter.idl:
      * css/MediaList.idl:
      * css/MediaQueryList.idl:
      * css/RGBColor.idl:
      * css/Rect.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSFilterValue.idl:
      * css/WebKitCSSMixFunctionValue.idl:
      * css/WebKitCSSTransformValue.idl:
      * dom/ClientRect.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.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/DocumentFragment.idl:
      * dom/Element.idl:
      * dom/Entity.idl:
      * dom/Event.idl:
      * dom/EventException.idl:
      * dom/MessageChannel.idl:
      * dom/MouseEvent.idl:
      * dom/MutationObserver.idl:
      * dom/MutationRecord.idl:
      * dom/NamedNodeMap.idl:
      * dom/NodeFilter.idl:
      * dom/NodeIterator.idl:
      * dom/NodeList.idl:
      * dom/Range.idl:
      * dom/RangeException.idl:
      * dom/Touch.idl:
      * dom/TouchList.idl:
      * dom/TreeWalker.idl:
      * fileapi/FileError.idl:
      * fileapi/FileException.idl:
      * fileapi/FileList.idl:
      * html/DOMFormData.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDialogElement.idl:
      * html/HTMLDivElement.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLImageElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLSpanElement.idl:
      * html/HTMLUnknownElement.idl:
      * html/ImageData.idl:
      * html/MediaError.idl:
      * html/MediaKeyError.idl:
      * html/TimeRanges.idl:
      * html/ValidityState.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasPattern.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:
      * html/canvas/WebGLActiveInfo.idl:
      * html/canvas/WebGLShaderPrecisionFormat.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackCueList.idl:
      * inspector/InjectedScriptHost.idl:
      * inspector/InspectorFrontendHost.idl:
      * inspector/JavaScriptCallFrame.idl:
      * page/Coordinates.idl:
      * page/Crypto.idl:
      * page/MemoryInfo.idl:
      * page/PagePopupController.idl:
      * page/PerformanceEntryList.idl:
      * page/SpeechInputResult.idl:
      * page/SpeechInputResultList.idl:
      * page/WebKitPoint.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/SVGColor.idl:
      * svg/SVGException.idl:
      * svg/SVGPaint.idl:
      * svg/SVGPathSeg.idl:
      * svg/SVGRenderingIntent.idl:
      * svg/SVGUnitTypes.idl:
      * svg/SVGZoomAndPan.idl:
      * testing/MallocStatistics.idl:
      * testing/TypeConversions.idl:
      * workers/WorkerLocation.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequestException.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathException.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      Add exceptions to binding integrity checks to IDL.
      
      Source/WebKit/chromium: 
      
      Patch by Tom Sepez <tsepez@chromium.org> on 2013-01-28
      Reviewed by Adam Barth.
      
      * features.gypi:
      Added ENABLE_BINDING_INTEGRITY option.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7929995e
  3. 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
  4. 16 Mar, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Moves remaining filesystem files to Modules/filesystem/ · f8211d3c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81353
      
      Patch by Mark Pilgrim <pilgrim@chromium.org> on 2012-03-16
      Reviewed by Adam Barth.
      
      No new tests, all existing tests pass.
      
      * CMakeLists.txt:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.list.am:
      * Modules/filesystem/AsyncFileWriter.h: Copied from Source/WebCore/fileapi/AsyncFileWriter.h.
      * Modules/filesystem/AsyncFileWriterClient.h: Copied from Source/WebCore/fileapi/AsyncFileWriterClient.h.
      * Modules/filesystem/DOMFilePath.cpp: Copied from Source/WebCore/fileapi/DOMFilePath.cpp.
      * Modules/filesystem/DOMFilePath.h: Copied from Source/WebCore/fileapi/DOMFilePath.h.
      * Modules/filesystem/DOMFileSystem.cpp: Copied from Source/WebCore/fileapi/DOMFileSystem.cpp.
      * Modules/filesystem/DOMFileSystem.h: Copied from Source/WebCore/fileapi/DOMFileSystem.h.
      * Modules/filesystem/DOMFileSystem.idl: Copied from Source/WebCore/fileapi/DOMFileSystem.idl.
      * Modules/filesystem/DOMFileSystemBase.cpp: Copied from Source/WebCore/fileapi/DOMFileSystemBase.cpp.
      * Modules/filesystem/DOMFileSystemBase.h: Copied from Source/WebCore/fileapi/DOMFileSystemBase.h.
      * Modules/filesystem/DOMFileSystemSync.cpp: Copied from Source/WebCore/fileapi/DOMFileSystemSync.cpp.
      * Modules/filesystem/DOMFileSystemSync.h: Copied from Source/WebCore/fileapi/DOMFileSystemSync.h.
      * Modules/filesystem/DOMFileSystemSync.idl: Copied from Source/WebCore/fileapi/DOMFileSystemSync.idl.
      * Modules/filesystem/Entry.cpp: Copied from Source/WebCore/fileapi/Entry.cpp.
      * Modules/filesystem/Entry.h: Copied from Source/WebCore/fileapi/Entry.h.
      * Modules/filesystem/Entry.idl: Copied from Source/WebCore/fileapi/Entry.idl.
      * Modules/filesystem/EntryArray.cpp: Copied from Source/WebCore/fileapi/EntryArray.cpp.
      * Modules/filesystem/EntryArray.h: Copied from Source/WebCore/fileapi/EntryArray.h.
      * Modules/filesystem/EntryArray.idl: Copied from Source/WebCore/fileapi/EntryArray.idl.
      * Modules/filesystem/EntryArraySync.cpp: Copied from Source/WebCore/fileapi/EntryArraySync.cpp.
      * Modules/filesystem/EntryArraySync.h: Copied from Source/WebCore/fileapi/EntryArraySync.h.
      * Modules/filesystem/EntryArraySync.idl: Copied from Source/WebCore/fileapi/EntryArraySync.idl.
      * Modules/filesystem/EntryBase.cpp: Copied from Source/WebCore/fileapi/EntryBase.cpp.
      * Modules/filesystem/EntryBase.h: Copied from Source/WebCore/fileapi/EntryBase.h.
      * Modules/filesystem/EntryCallback.h: Copied from Source/WebCore/fileapi/EntryCallback.h.
      * Modules/filesystem/EntryCallback.idl: Copied from Source/WebCore/fileapi/EntryCallback.idl.
      * Modules/filesystem/EntrySync.cpp: Copied from Source/WebCore/fileapi/EntrySync.cpp.
      * Modules/filesystem/EntrySync.h: Copied from Source/WebCore/fileapi/EntrySync.h.
      * Modules/filesystem/EntrySync.idl: Copied from Source/WebCore/fileapi/EntrySync.idl.
      * Modules/filesystem/ErrorCallback.h: Copied from Source/WebCore/fileapi/ErrorCallback.h.
      * Modules/filesystem/ErrorCallback.idl: Copied from Source/WebCore/fileapi/ErrorCallback.idl.
      * Modules/filesystem/FileCallback.h: Copied from Source/WebCore/fileapi/FileCallback.h.
      * Modules/filesystem/FileCallback.idl: Copied from Source/WebCore/fileapi/FileCallback.idl.
      * Modules/filesystem/FileEntry.cpp: Copied from Source/WebCore/fileapi/FileEntry.cpp.
      * Modules/filesystem/FileEntry.h: Copied from Source/WebCore/fileapi/FileEntry.h.
      * Modules/filesystem/FileEntry.idl: Copied from Source/WebCore/fileapi/FileEntry.idl.
      * Modules/filesystem/FileEntrySync.cpp: Copied from Source/WebCore/fileapi/FileEntrySync.cpp.
      * Modules/filesystem/FileEntrySync.h: Copied from Source/WebCore/fileapi/FileEntrySync.h.
      * Modules/filesystem/FileEntrySync.idl: Copied from Source/WebCore/fileapi/FileEntrySync.idl.
      * Modules/filesystem/FileSystemCallback.h: Copied from Source/WebCore/fileapi/FileSystemCallback.h.
      * Modules/filesystem/FileSystemCallback.idl: Copied from Source/WebCore/fileapi/FileSystemCallback.idl.
      * Modules/filesystem/FileSystemCallbacks.cpp: Copied from Source/WebCore/fileapi/FileSystemCallbacks.cpp.
      * Modules/filesystem/FileSystemCallbacks.h: Copied from Source/WebCore/fileapi/FileSystemCallbacks.h.
      * Modules/filesystem/FileWriter.cpp: Copied from Source/WebCore/fileapi/FileWriter.cpp.
      * Modules/filesystem/FileWriter.h: Copied from Source/WebCore/fileapi/FileWriter.h.
      * Modules/filesystem/FileWriter.idl: Copied from Source/WebCore/fileapi/FileWriter.idl.
      * Modules/filesystem/FileWriterBase.cpp: Copied from Source/WebCore/fileapi/FileWriterBase.cpp.
      * Modules/filesystem/FileWriterBase.h: Copied from Source/WebCore/fileapi/FileWriterBase.h.
      * Modules/filesystem/FileWriterBaseCallback.h: Copied from Source/WebCore/fileapi/FileWriterBaseCallback.h.
      * Modules/filesystem/FileWriterCallback.h: Copied from Source/WebCore/fileapi/FileWriterCallback.h.
      * Modules/filesystem/FileWriterCallback.idl: Copied from Source/WebCore/fileapi/FileWriterCallback.idl.
      * Modules/filesystem/FileWriterSync.cpp: Copied from Source/WebCore/fileapi/FileWriterSync.cpp.
      * Modules/filesystem/FileWriterSync.h: Copied from Source/WebCore/fileapi/FileWriterSync.h.
      * Modules/filesystem/FileWriterSync.idl: Copied from Source/WebCore/fileapi/FileWriterSync.idl.
      * Modules/filesystem/LocalFileSystem.cpp: Copied from Source/WebCore/fileapi/LocalFileSystem.cpp.
      * Modules/filesystem/LocalFileSystem.h: Copied from Source/WebCore/fileapi/LocalFileSystem.h.
      * Modules/filesystem/Metadata.h: Copied from Source/WebCore/fileapi/Metadata.h.
      * Modules/filesystem/Metadata.idl: Copied from Source/WebCore/fileapi/Metadata.idl.
      * Modules/filesystem/MetadataCallback.h: Copied from Source/WebCore/fileapi/MetadataCallback.h.
      * Modules/filesystem/MetadataCallback.idl: Copied from Source/WebCore/fileapi/MetadataCallback.idl.
      * Modules/filesystem/SyncCallbackHelper.h: Copied from Source/WebCore/fileapi/SyncCallbackHelper.h.
      * Modules/filesystem/WebKitFlags.h: Copied from Source/WebCore/fileapi/WebKitFlags.h.
      * Modules/filesystem/WorkerContextFileSystem.cpp: Copied from Source/WebCore/fileapi/WorkerContextFileSystem.cpp.
      * Modules/filesystem/WorkerContextFileSystem.h: Copied from Source/WebCore/fileapi/WorkerContextFileSystem.h.
      * Modules/filesystem/WorkerContextFileSystem.idl: Copied from Source/WebCore/fileapi/WorkerContextFileSystem.idl.
      * Target.pri:
      * WebCore.gyp/WebCore.gyp:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * fileapi/AsyncFileWriter.h: Removed.
      * fileapi/AsyncFileWriterClient.h: Removed.
      * fileapi/DOMFilePath.cpp: Removed.
      * fileapi/DOMFilePath.h: Removed.
      * fileapi/DOMFileSystem.cpp: Removed.
      * fileapi/DOMFileSystem.h: Removed.
      * fileapi/DOMFileSystem.idl: Removed.
      * fileapi/DOMFileSystemBase.cpp: Removed.
      * fileapi/DOMFileSystemBase.h: Removed.
      * fileapi/DOMFileSystemSync.cpp: Removed.
      * fileapi/DOMFileSystemSync.h: Removed.
      * fileapi/DOMFileSystemSync.idl: Removed.
      * fileapi/Entry.cpp: Removed.
      * fileapi/Entry.h: Removed.
      * fileapi/Entry.idl: Removed.
      * fileapi/EntryArray.cpp: Removed.
      * fileapi/EntryArray.h: Removed.
      * fileapi/EntryArray.idl: Removed.
      * fileapi/EntryArraySync.cpp: Removed.
      * fileapi/EntryArraySync.h: Removed.
      * fileapi/EntryArraySync.idl: Removed.
      * fileapi/EntryBase.cpp: Removed.
      * fileapi/EntryBase.h: Removed.
      * fileapi/EntryCallback.h: Removed.
      * fileapi/EntryCallback.idl: Removed.
      * fileapi/EntrySync.cpp: Removed.
      * fileapi/EntrySync.h: Removed.
      * fileapi/EntrySync.idl: Removed.
      * fileapi/ErrorCallback.h: Removed.
      * fileapi/ErrorCallback.idl: Removed.
      * fileapi/FileCallback.h: Removed.
      * fileapi/FileCallback.idl: Removed.
      * fileapi/FileEntry.cpp: Removed.
      * fileapi/FileEntry.h: Removed.
      * fileapi/FileEntry.idl: Removed.
      * fileapi/FileEntrySync.cpp: Removed.
      * fileapi/FileEntrySync.h: Removed.
      * fileapi/FileEntrySync.idl: Removed.
      * fileapi/FileSystemCallback.h: Removed.
      * fileapi/FileSystemCallback.idl: Removed.
      * fileapi/FileSystemCallbacks.cpp: Removed.
      * fileapi/FileSystemCallbacks.h: Removed.
      * fileapi/FileWriter.cpp: Removed.
      * fileapi/FileWriter.h: Removed.
      * fileapi/FileWriter.idl: Removed.
      * fileapi/FileWriterBase.cpp: Removed.
      * fileapi/FileWriterBase.h: Removed.
      * fileapi/FileWriterBaseCallback.h: Removed.
      * fileapi/FileWriterCallback.h: Removed.
      * fileapi/FileWriterCallback.idl: Removed.
      * fileapi/FileWriterSync.cpp: Removed.
      * fileapi/FileWriterSync.h: Removed.
      * fileapi/FileWriterSync.idl: Removed.
      * fileapi/LocalFileSystem.cpp: Removed.
      * fileapi/LocalFileSystem.h: Removed.
      * fileapi/Metadata.h: Removed.
      * fileapi/Metadata.idl: Removed.
      * fileapi/MetadataCallback.h: Removed.
      * fileapi/MetadataCallback.idl: Removed.
      * fileapi/SyncCallbackHelper.h: Removed.
      * fileapi/WebKitFlags.h: Removed.
      * fileapi/WorkerContextFileSystem.cpp: Removed.
      * fileapi/WorkerContextFileSystem.h: Removed.
      * fileapi/WorkerContextFileSystem.idl: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8211d3c
  5. 28 Feb, 2012 1 commit
    • kinuko@chromium.org's avatar
      Add size field to Metadata in FileSystem API · de710b21
      kinuko@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79813
      
      WebKit-svn/LayoutTests: 
      
      Changed fast/filesystem/op-get-metadata test to also test if
      getMetadata returns correct file sizes.
      
      Reviewed by David Levin.
      
      * fast/filesystem/op-get-metadata-expected.txt:
      * fast/filesystem/resources/op-get-metadata.js:
      * fast/filesystem/resources/op-tests-helper.js:
      (createTestEnvironment.Helper.this.createSuccessCallback.entry.createWriter): Added.
      (createTestEnvironment.Helper.this.createSuccessCallback):
      (createTestEnvironment.Helper.this.createNextEntry):
      (runOperationTest.OperationTestHelper.this.testMetadataSuccessCallback):
      
      WebKit-svn/Source/WebCore: 
      
      Reviewed by David Levin.
      
      Test: fast/filesystem/op-get-metadata.html
      
      * fileapi/FileSystemCallbacks.cpp:
      (WebCore::MetadataCallbacks::didReadMetadata):
      * fileapi/Metadata.h:
      (WebCore::Metadata::create):
      (WebCore::Metadata::modificationTime):
      (WebCore::Metadata::size): Added.
      (WebCore::Metadata::Metadata):
      * fileapi/Metadata.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de710b21
  6. 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
  7. 20 Jun, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-06-20 Mark Pilgrim <pilgrim@chromium.org> · 11d6047e
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              Remove LegacyDefaultOptionalArguments flag from IDL files where it would not change behavior
              https://bugs.webkit.org/show_bug.cgi?id=62904
      
              After bug 62750, there are many IDL files that contain the new
              LegacyDefaultOptionalArguments flag that don't actually need it.
              Some examples:
      
                  - the IDL file contains no functions
                  - the IDL file contains only functions with no arguments
                  - the IDL file contains functions, *all* of which use the
                    [RequiresAllArguments=raise] extended attribute
      
              This patch simplifies such IDL files by removing the
              LegacyDefaultOptionalArguments flag and (if needed) removing the
              [RequiresAllArguments=raise] extended attribute from each function
              declaration. This patch does not make any required arguments optional
              or any optional arguments required. It changes no behavior at all.
      
              No new tests needed, all existing tests pass.
      
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/test/TestInterface.idl:
              * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
              * css/CSSCharsetRule.idl:
              * css/CSSFontFaceRule.idl:
              * css/CSSImportRule.idl:
              * css/CSSPageRule.idl:
              * css/CSSRule.idl:
              * css/CSSStyleRule.idl:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.idl:
              * css/Counter.idl:
              * css/RGBColor.idl:
              * css/Rect.idl:
              * css/StyleSheet.idl:
              * css/WebKitCSSKeyframeRule.idl:
              * css/WebKitCSSTransformValue.idl:
              * dom/Attr.idl:
              * dom/CDATASection.idl:
              * dom/ClientRect.idl:
              * dom/Comment.idl:
              * dom/DOMCoreException.idl:
              * dom/DOMStringMap.idl:
              * dom/DocumentType.idl:
              * dom/Entity.idl:
              * dom/EntityReference.idl:
              * dom/EventException.idl:
              * dom/GeneratedStream.idl:
              * dom/MessageChannel.idl:
              * dom/NodeIterator.idl:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.idl:
              * dom/RangeException.idl:
              * dom/Touch.idl:
              * dom/TreeWalker.idl:
              * fileapi/DOMFileSystem.idl:
              * fileapi/DOMFileSystemSync.idl:
              * fileapi/DirectoryReaderSync.idl:
              * fileapi/File.idl:
              * fileapi/FileEntrySync.idl:
              * fileapi/FileError.idl:
              * fileapi/FileException.idl:
              * fileapi/Metadata.idl:
              * fileapi/OperationNotAllowedException.idl:
              * fileapi/WebKitFlags.idl:
              * html/DOMSettableTokenList.idl:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.idl:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.idl:
              * html/HTMLDListElement.idl:
              * html/HTMLDataListElement.idl:
              * html/HTMLDetailsElement.idl:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLEmbedElement.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/HTMLIsIndexElement.idl:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.idl:
              * html/HTMLMeterElement.idl:
              * html/HTMLModElement.idl:
              * html/HTMLOListElement.idl:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.idl:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.idl:
              * html/HTMLPreElement.idl:
              * html/HTMLProgressElement.idl:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.idl:
              * html/HTMLSourceElement.idl:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.idl:
              * html/HTMLTitleElement.idl:
              * html/HTMLTrackElement.idl:
              * html/HTMLUListElement.idl:
              * html/ImageData.idl:
              * html/MediaError.idl:
              * html/SpellcheckRange.idl:
              * html/TextMetrics.idl:
              * html/ValidityState.idl:
              * html/VoidCallback.idl:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/CanvasPattern.idl:
              * html/canvas/CanvasPixelArray.idl:
              * html/canvas/CanvasRenderingContext.idl:
              * html/canvas/DataView.idl:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/WebGLActiveInfo.idl:
              * html/canvas/WebGLBuffer.idl:
              * html/canvas/WebGLContextAttributes.idl:
              * html/canvas/WebGLFramebuffer.idl:
              * html/canvas/WebGLProgram.idl:
              * html/canvas/WebGLRenderbuffer.idl:
              * html/canvas/WebGLShader.idl:
              * html/canvas/WebGLTexture.idl:
              * html/canvas/WebGLUniformLocation.idl:
              * html/canvas/WebGLVertexArrayObjectOES.idl:
              * html/canvas/WebKitLoseContext.idl:
              * inspector/ScriptProfile.idl:
              * inspector/ScriptProfileNode.idl:
              * page/AbstractView.idl:
              * page/BarInfo.idl:
              * page/Coordinates.idl:
              * page/Geoposition.idl:
              * page/MemoryInfo.idl:
              * page/NavigatorUserMediaError.idl:
              * page/Performance.idl:
              * page/PerformanceNavigation.idl:
              * page/PerformanceTiming.idl:
              * page/PositionError.idl:
              * page/Screen.idl:
              * page/SpeechInputEvent.idl:
              * page/SpeechInputResult.idl:
              * page/WebKitAnimation.idl:
              * page/WebKitPoint.idl:
              * page/WorkerNavigator.idl:
              * plugins/DOMMimeType.idl:
              * storage/Database.idl:
              * storage/DatabaseSync.idl:
              * storage/IDBAny.idl:
              * storage/IDBCursorWithValue.idl:
              * storage/IDBDatabaseError.idl:
              * storage/IDBDatabaseException.idl:
              * storage/IDBKey.idl:
              * storage/IDBVersionChangeEvent.idl:
              * storage/IDBVersionChangeRequest.idl:
              * storage/SQLError.idl:
              * storage/SQLException.idl:
              * storage/SQLResultSet.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/SVGCircleElement.idl:
              * svg/SVGClipPathElement.idl:
              * svg/SVGColor.idl:
              * svg/SVGComponentTransferFunctionElement.idl:
              * svg/SVGCursorElement.idl:
              * svg/SVGDefsElement.idl:
              * svg/SVGDescElement.idl:
              * svg/SVGElement.idl:
              * svg/SVGEllipseElement.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/SVGFEFloodElement.idl:
              * svg/SVGFEFuncAElement.idl:
              * svg/SVGFEFuncBElement.idl:
              * svg/SVGFEFuncGElement.idl:
              * svg/SVGFEFuncRElement.idl:
              * svg/SVGFEImageElement.idl:
              * svg/SVGFEMergeElement.idl:
              * svg/SVGFEMergeNodeElement.idl:
              * svg/SVGFEOffsetElement.idl:
              * svg/SVGFEPointLightElement.idl:
              * svg/SVGFESpecularLightingElement.idl:
              * svg/SVGFESpotLightElement.idl:
              * svg/SVGFETileElement.idl:
              * svg/SVGFETurbulenceElement.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/SVGMPathElement.idl:
              * svg/SVGMaskElement.idl:
              * svg/SVGMatrix.idl:
              * svg/SVGMetadataElement.idl:
              * svg/SVGMissingGlyphElement.idl:
              * svg/SVGNumber.idl:
              * svg/SVGNumberList.idl:
              * svg/SVGPaint.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/SVGScriptElement.idl:
              * svg/SVGSetElement.idl:
              * svg/SVGStopElement.idl:
              * svg/SVGStringList.idl:
              * svg/SVGSwitchElement.idl:
              * svg/SVGSymbolElement.idl:
              * svg/SVGTRefElement.idl:
              * svg/SVGTSpanElement.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/AudioChannelMerger.idl:
              * webaudio/AudioChannelSplitter.idl:
              * webaudio/AudioDestinationNode.idl:
              * webaudio/AudioGain.idl:
              * webaudio/AudioGainNode.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:
              * workers/SharedWorker.idl:
              * workers/SharedWorkerContext.idl:
              * workers/WorkerLocation.idl:
              * xml/XMLHttpRequestException.idl:
              * xml/XMLHttpRequestProgressEvent.idl:
              * xml/XPathException.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11d6047e
  8. 18 Jun, 2011 2 commits
    • commit-queue@webkit.org's avatar
      2011-06-18 Sheriff Bot <webkit.review.bot@gmail.com> · 1f406685
      commit-queue@webkit.org authored
              Unreviewed, rolling out r89189.
              http://trac.webkit.org/changeset/89189
              https://bugs.webkit.org/show_bug.cgi?id=62925
      
              It broke Qt build (Requested by Ossy_weekend on #webkit).
      
              * bindings/scripts/test/TestInterface.idl:
              * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
              * css/CSSCharsetRule.idl:
              * css/CSSFontFaceRule.idl:
              * css/CSSImportRule.idl:
              * css/CSSPageRule.idl:
              * css/CSSRule.idl:
              * css/CSSStyleRule.idl:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.idl:
              * css/Counter.idl:
              * css/RGBColor.idl:
              * css/Rect.idl:
              * css/StyleSheet.idl:
              * css/WebKitCSSKeyframeRule.idl:
              * css/WebKitCSSTransformValue.idl:
              * dom/Attr.idl:
              * dom/CDATASection.idl:
              * dom/ClientRect.idl:
              * dom/Comment.idl:
              * dom/DOMCoreException.idl:
              * dom/DOMStringMap.idl:
              * dom/DocumentType.idl:
              * dom/Entity.idl:
              * dom/EntityReference.idl:
              * dom/EventException.idl:
              * dom/GeneratedStream.idl:
              * dom/MessageChannel.idl:
              * dom/NodeIterator.idl:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.idl:
              * dom/RangeException.idl:
              * dom/Touch.idl:
              * dom/TreeWalker.idl:
              * fileapi/DOMFileSystem.idl:
              * fileapi/DOMFileSystemSync.idl:
              * fileapi/DirectoryReaderSync.idl:
              * fileapi/File.idl:
              * fileapi/FileEntrySync.idl:
              * fileapi/FileError.idl:
              * fileapi/FileException.idl:
              * fileapi/Metadata.idl:
              * fileapi/OperationNotAllowedException.idl:
              * fileapi/WebKitFlags.idl:
              * html/DOMSettableTokenList.idl:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.idl:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.idl:
              * html/HTMLDListElement.idl:
              * html/HTMLDataListElement.idl:
              * html/HTMLDetailsElement.idl:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLEmbedElement.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/HTMLIsIndexElement.idl:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.idl:
              * html/HTMLMeterElement.idl:
              * html/HTMLModElement.idl:
              * html/HTMLOListElement.idl:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.idl:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.idl:
              * html/HTMLPreElement.idl:
              * html/HTMLProgressElement.idl:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.idl:
              * html/HTMLSourceElement.idl:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.idl:
              * html/HTMLTitleElement.idl:
              * html/HTMLTrackElement.idl:
              * html/HTMLUListElement.idl:
              * html/ImageData.idl:
              * html/MediaError.idl:
              * html/SpellcheckRange.idl:
              * html/TextMetrics.idl:
              * html/ValidityState.idl:
              * html/VoidCallback.idl:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/CanvasPattern.idl:
              * html/canvas/CanvasPixelArray.idl:
              * html/canvas/CanvasRenderingContext.idl:
              * html/canvas/DataView.idl:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/WebGLActiveInfo.idl:
              * html/canvas/WebGLBuffer.idl:
              * html/canvas/WebGLContextAttributes.idl:
              * html/canvas/WebGLFramebuffer.idl:
              * html/canvas/WebGLProgram.idl:
              * html/canvas/WebGLRenderbuffer.idl:
              * html/canvas/WebGLShader.idl:
              * html/canvas/WebGLTexture.idl:
              * html/canvas/WebGLUniformLocation.idl:
              * html/canvas/WebGLVertexArrayObjectOES.idl:
              * html/canvas/WebKitLoseContext.idl:
              * inspector/ScriptProfile.idl:
              * inspector/ScriptProfileNode.idl:
              * page/AbstractView.idl:
              * page/BarInfo.idl:
              * page/Coordinates.idl:
              * page/Geoposition.idl:
              * page/MemoryInfo.idl:
              * page/NavigatorUserMediaError.idl:
              * page/Performance.idl:
              * page/PerformanceNavigation.idl:
              * page/PerformanceTiming.idl:
              * page/PositionError.idl:
              * page/Screen.idl:
              * page/SpeechInputEvent.idl:
              * page/SpeechInputResult.idl:
              * page/WebKitAnimation.idl:
              * page/WebKitPoint.idl:
              * page/WorkerNavigator.idl:
              * plugins/DOMMimeType.idl:
              * storage/Database.idl:
              * storage/DatabaseSync.idl:
              * storage/IDBAny.idl:
              * storage/IDBCursorWithValue.idl:
              * storage/IDBDatabaseError.idl:
              * storage/IDBDatabaseException.idl:
              * storage/IDBKey.idl:
              * storage/IDBVersionChangeEvent.idl:
              * storage/IDBVersionChangeRequest.idl:
              * storage/SQLError.idl:
              * storage/SQLException.idl:
              * storage/SQLResultSet.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/SVGCircleElement.idl:
              * svg/SVGClipPathElement.idl:
              * svg/SVGColor.idl:
              * svg/SVGComponentTransferFunctionElement.idl:
              * svg/SVGCursorElement.idl:
              * svg/SVGDefsElement.idl:
              * svg/SVGDescElement.idl:
              * svg/SVGElement.idl:
              * svg/SVGEllipseElement.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/SVGFEFloodElement.idl:
              * svg/SVGFEFuncAElement.idl:
              * svg/SVGFEFuncBElement.idl:
              * svg/SVGFEFuncGElement.idl:
              * svg/SVGFEFuncRElement.idl:
              * svg/SVGFEImageElement.idl:
              * svg/SVGFEMergeElement.idl:
              * svg/SVGFEMergeNodeElement.idl:
              * svg/SVGFEOffsetElement.idl:
              * svg/SVGFEPointLightElement.idl:
              * svg/SVGFESpecularLightingElement.idl:
              * svg/SVGFESpotLightElement.idl:
              * svg/SVGFETileElement.idl:
              * svg/SVGFETurbulenceElement.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/SVGMPathElement.idl:
              * svg/SVGMaskElement.idl:
              * svg/SVGMatrix.idl:
              * svg/SVGMetadataElement.idl:
              * svg/SVGMissingGlyphElement.idl:
              * svg/SVGNumber.idl:
              * svg/SVGNumberList.idl:
              * svg/SVGPaint.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/SVGScriptElement.idl:
              * svg/SVGSetElement.idl:
              * svg/SVGStopElement.idl:
              * svg/SVGStringList.idl:
              * svg/SVGSwitchElement.idl:
              * svg/SVGSymbolElement.idl:
              * svg/SVGTRefElement.idl:
              * svg/SVGTSpanElement.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/AudioChannelMerger.idl:
              * webaudio/AudioChannelSplitter.idl:
              * webaudio/AudioDestinationNode.idl:
              * webaudio/AudioGain.idl:
              * webaudio/AudioGainNode.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:
              * workers/SharedWorker.idl:
              * workers/SharedWorkerContext.idl:
              * workers/WorkerLocation.idl:
              * xml/XMLHttpRequestException.idl:
              * xml/XMLHttpRequestProgressEvent.idl:
              * xml/XPathException.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f406685
    • commit-queue@webkit.org's avatar
      2011-06-17 Mark Pilgrim <pilgrim@chromium.org> · ae779b2e
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Remove LegacyDefaultOptionalArguments flag from IDL files where it would not change behavior
              https://bugs.webkit.org/show_bug.cgi?id=62904
      
              After bug 62750, there are many IDL files that contain the new
              LegacyDefaultOptionalArguments flag that don't actually need it.
              Some examples:
      
                  - the IDL file contains no functions
                  - the IDL file contains only functions with no arguments
                  - the IDL file contains functions, *all* of which use the
                    [RequiresAllArguments=raise] extended attribute
      
              This patch simplifies such IDL files by removing the
              LegacyDefaultOptionalArguments flag and (if needed) removing the
              [RequiresAllArguments=raise] extended attribute from each function
              declaration. This patch does not make any required arguments optional
              or any optional arguments required. It changes no behavior at all.
      
              No new tests needed, all existing tests pass.
      
              * bindings/scripts/test/TestInterface.idl:
              * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
              * css/CSSCharsetRule.idl:
              * css/CSSFontFaceRule.idl:
              * css/CSSImportRule.idl:
              * css/CSSPageRule.idl:
              * css/CSSRule.idl:
              * css/CSSStyleRule.idl:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.idl:
              * css/Counter.idl:
              * css/RGBColor.idl:
              * css/Rect.idl:
              * css/StyleSheet.idl:
              * css/WebKitCSSKeyframeRule.idl:
              * css/WebKitCSSTransformValue.idl:
              * dom/Attr.idl:
              * dom/CDATASection.idl:
              * dom/ClientRect.idl:
              * dom/Comment.idl:
              * dom/DOMCoreException.idl:
              * dom/DOMStringMap.idl:
              * dom/DocumentType.idl:
              * dom/Entity.idl:
              * dom/EntityReference.idl:
              * dom/EventException.idl:
              * dom/GeneratedStream.idl:
              * dom/MessageChannel.idl:
              * dom/NodeIterator.idl:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.idl:
              * dom/RangeException.idl:
              * dom/Touch.idl:
              * dom/TreeWalker.idl:
              * fileapi/DOMFileSystem.idl:
              * fileapi/DOMFileSystemSync.idl:
              * fileapi/DirectoryReaderSync.idl:
              * fileapi/File.idl:
              * fileapi/FileEntrySync.idl:
              * fileapi/FileError.idl:
              * fileapi/FileException.idl:
              * fileapi/Metadata.idl:
              * fileapi/OperationNotAllowedException.idl:
              * fileapi/WebKitFlags.idl:
              * html/DOMSettableTokenList.idl:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.idl:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.idl:
              * html/HTMLDListElement.idl:
              * html/HTMLDataListElement.idl:
              * html/HTMLDetailsElement.idl:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLEmbedElement.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/HTMLIsIndexElement.idl:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.idl:
              * html/HTMLMeterElement.idl:
              * html/HTMLModElement.idl:
              * html/HTMLOListElement.idl:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.idl:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.idl:
              * html/HTMLPreElement.idl:
              * html/HTMLProgressElement.idl:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.idl:
              * html/HTMLSourceElement.idl:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.idl:
              * html/HTMLTitleElement.idl:
              * html/HTMLTrackElement.idl:
              * html/HTMLUListElement.idl:
              * html/ImageData.idl:
              * html/MediaError.idl:
              * html/SpellcheckRange.idl:
              * html/TextMetrics.idl:
              * html/ValidityState.idl:
              * html/VoidCallback.idl:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/CanvasPattern.idl:
              * html/canvas/CanvasPixelArray.idl:
              * html/canvas/CanvasRenderingContext.idl:
              * html/canvas/DataView.idl:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/WebGLActiveInfo.idl:
              * html/canvas/WebGLBuffer.idl:
              * html/canvas/WebGLContextAttributes.idl:
              * html/canvas/WebGLFramebuffer.idl:
              * html/canvas/WebGLProgram.idl:
              * html/canvas/WebGLRenderbuffer.idl:
              * html/canvas/WebGLShader.idl:
              * html/canvas/WebGLTexture.idl:
              * html/canvas/WebGLUniformLocation.idl:
              * html/canvas/WebGLVertexArrayObjectOES.idl:
              * html/canvas/WebKitLoseContext.idl:
              * inspector/ScriptProfile.idl:
              * inspector/ScriptProfileNode.idl:
              * page/AbstractView.idl:
              * page/BarInfo.idl:
              * page/Coordinates.idl:
              * page/Geoposition.idl:
              * page/MemoryInfo.idl:
              * page/NavigatorUserMediaError.idl:
              * page/Performance.idl:
              * page/PerformanceNavigation.idl:
              * page/PerformanceTiming.idl:
              * page/PositionError.idl:
              * page/Screen.idl:
              * page/SpeechInputEvent.idl:
              * page/SpeechInputResult.idl:
              * page/WebKitAnimation.idl:
              * page/WebKitPoint.idl:
              * page/WorkerNavigator.idl:
              * plugins/DOMMimeType.idl:
              * storage/Database.idl:
              * storage/DatabaseSync.idl:
              * storage/IDBAny.idl:
              * storage/IDBCursorWithValue.idl:
              * storage/IDBDatabaseError.idl:
              * storage/IDBDatabaseException.idl:
              * storage/IDBKey.idl:
              * storage/IDBVersionChangeEvent.idl:
              * storage/IDBVersionChangeRequest.idl:
              * storage/SQLError.idl:
              * storage/SQLException.idl:
              * storage/SQLResultSet.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/SVGCircleElement.idl:
              * svg/SVGClipPathElement.idl:
              * svg/SVGColor.idl:
              * svg/SVGComponentTransferFunctionElement.idl:
              * svg/SVGCursorElement.idl:
              * svg/SVGDefsElement.idl:
              * svg/SVGDescElement.idl:
              * svg/SVGElement.idl:
              * svg/SVGEllipseElement.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/SVGFEFloodElement.idl:
              * svg/SVGFEFuncAElement.idl:
              * svg/SVGFEFuncBElement.idl:
              * svg/SVGFEFuncGElement.idl:
              * svg/SVGFEFuncRElement.idl:
              * svg/SVGFEImageElement.idl:
              * svg/SVGFEMergeElement.idl:
              * svg/SVGFEMergeNodeElement.idl:
              * svg/SVGFEOffsetElement.idl:
              * svg/SVGFEPointLightElement.idl:
              * svg/SVGFESpecularLightingElement.idl:
              * svg/SVGFESpotLightElement.idl:
              * svg/SVGFETileElement.idl:
              * svg/SVGFETurbulenceElement.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/SVGMPathElement.idl:
              * svg/SVGMaskElement.idl:
              * svg/SVGMatrix.idl:
              * svg/SVGMetadataElement.idl:
              * svg/SVGMissingGlyphElement.idl:
              * svg/SVGNumber.idl:
              * svg/SVGNumberList.idl:
              * svg/SVGPaint.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/SVGScriptElement.idl:
              * svg/SVGSetElement.idl:
              * svg/SVGStopElement.idl:
              * svg/SVGStringList.idl:
              * svg/SVGSwitchElement.idl:
              * svg/SVGSymbolElement.idl:
              * svg/SVGTRefElement.idl:
              * svg/SVGTSpanElement.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/AudioChannelMerger.idl:
              * webaudio/AudioChannelSplitter.idl:
              * webaudio/AudioDestinationNode.idl:
              * webaudio/AudioGain.idl:
              * webaudio/AudioGainNode.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:
              * workers/SharedWorker.idl:
              * workers/SharedWorkerContext.idl:
              * workers/WorkerLocation.idl:
              * xml/XMLHttpRequestException.idl:
              * xml/XMLHttpRequestProgressEvent.idl:
              * xml/XPathException.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae779b2e
  9. 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
  10. 08 Jan, 2011 1 commit
  11. 20 Sep, 2010 1 commit
  12. 02 Sep, 2010 1 commit
  13. 01 Sep, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-08-31 Kinuko Yasuda <kinuko@chromium.org> · 189edc30
      kinuko@chromium.org authored
              Reviewed by Adam Barth.
      
              Move FileSystem related files from WebCore/html to WebCore/fileapi.
              https://bugs.webkit.org/show_bug.cgi?id=44925
      
              No new tests; there should be no functional changes.
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * fileapi/DOMFilePath.cpp: Renamed from WebCore/storage/DOMFilePath.cpp.
              * fileapi/DOMFilePath.h: Renamed from WebCore/storage/DOMFilePath.h.
              * fileapi/DOMFileSystem.cpp: Renamed from WebCore/storage/DOMFileSystem.cpp.
              * fileapi/DOMFileSystem.h: Renamed from WebCore/storage/DOMFileSystem.h.
              * fileapi/DOMFileSystem.idl: Renamed from WebCore/storage/DOMFileSystem.idl.
              * fileapi/DirectoryEntry.cpp: Renamed from WebCore/storage/DirectoryEntry.cpp.
              * fileapi/DirectoryEntry.h: Renamed from WebCore/storage/DirectoryEntry.h.
              * fileapi/DirectoryEntry.idl: Renamed from WebCore/storage/DirectoryEntry.idl.
              * fileapi/DirectoryReader.cpp: Renamed from WebCore/storage/DirectoryReader.cpp.
              * fileapi/DirectoryReader.h: Renamed from WebCore/storage/DirectoryReader.h.
              * fileapi/DirectoryReader.idl: Renamed from WebCore/storage/DirectoryReader.idl.
              * fileapi/EntriesCallback.h: Renamed from WebCore/storage/EntriesCallback.h.
              * fileapi/EntriesCallback.idl: Renamed from WebCore/storage/EntriesCallback.idl.
              * fileapi/Entry.cpp: Renamed from WebCore/storage/Entry.cpp.
              * fileapi/Entry.h: Renamed from WebCore/storage/Entry.h.
              * fileapi/Entry.idl: Renamed from WebCore/storage/Entry.idl.
              * fileapi/EntryArray.cpp: Renamed from WebCore/storage/EntryArray.cpp.
              * fileapi/EntryArray.h: Renamed from WebCore/storage/EntryArray.h.
              * fileapi/EntryArray.idl: Renamed from WebCore/storage/EntryArray.idl.
              * fileapi/EntryCallback.h: Renamed from WebCore/storage/EntryCallback.h.
              * fileapi/EntryCallback.idl: Renamed from WebCore/storage/EntryCallback.idl.
              * fileapi/ErrorCallback.h: Renamed from WebCore/storage/ErrorCallback.h.
              * fileapi/ErrorCallback.idl: Renamed from WebCore/storage/ErrorCallback.idl.
              * fileapi/FileEntry.cpp: Renamed from WebCore/storage/FileEntry.cpp.
              * fileapi/FileEntry.h: Renamed from WebCore/storage/FileEntry.h.
              * fileapi/FileEntry.idl: Renamed from WebCore/storage/FileEntry.idl.
              * fileapi/FileSystemCallback.h: Renamed from WebCore/storage/FileSystemCallback.h.
              * fileapi/FileSystemCallback.idl: Renamed from WebCore/storage/FileSystemCallback.idl.
              * fileapi/FileSystemCallbacks.cpp: Renamed from WebCore/storage/FileSystemCallbacks.cpp.
              * fileapi/FileSystemCallbacks.h: Renamed from WebCore/storage/FileSystemCallbacks.h.
              * fileapi/Flags.h: Renamed from WebCore/storage/Flags.h.
              * fileapi/Flags.idl: Renamed from WebCore/storage/Flags.idl.
              * fileapi/LocalFileSystem.cpp: Renamed from WebCore/storage/LocalFileSystem.cpp.
              * fileapi/LocalFileSystem.h: Renamed from WebCore/storage/LocalFileSystem.h.
              * fileapi/Metadata.h: Renamed from WebCore/storage/Metadata.h.
              * fileapi/Metadata.idl: Renamed from WebCore/storage/Metadata.idl.
              * fileapi/MetadataCallback.h: Renamed from WebCore/storage/MetadataCallback.h.
              * fileapi/MetadataCallback.idl: Renamed from WebCore/storage/MetadataCallback.idl.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      189edc30
  14. 31 Jul, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-07-30 Kinuko Yasuda <kinuko@chromium.org> · 0c7ba88e
      kinuko@chromium.org authored
              Reviewed by Dumitru Daniliuc.
      
              Add idl and mock implementation for HTML5 FileSystem API
              https://bugs.webkit.org/show_bug.cgi?id=43134
      
              Add idl for: FileSystem (as DOMFileSystem), Entry, Flags, Metadata,
              FileSystemCallback, EntryCallback and ErrorCallback.
              http://dev.w3.org/2009/dap/file-system/file-dir-sys.html
      
              They are added only for Mac and chromium.
      
              Tests will be added when we expose the entry point and add implementation.
      
              * DerivedSources.make:
              * WebCore.gypi:
              * WebCore.xcodeproj/project.pbxproj:
      
              * storage/DOMFileSystem.cpp: Added.
              * storage/DOMFileSystem.h: Added.
              * storage/DOMFileSystem.idl: Added.
              * storage/Entry.cpp: Added.
              * storage/Entry.h: Added.
              * storage/Entry.idl: Added.
              * storage/EntryCallback.h: Added.
              * storage/EntryCallback.idl: Added.
              * storage/ErrorCallback.h: Added.
              * storage/ErrorCallback.idl: Added.
              * storage/FileSystemCallback.h: Added.
              * storage/FileSystemCallback.idl: Added.
              * storage/Flags.h: Added.
              * storage/Flags.idl: Added.
              * storage/Metadata.h: Added.
              * storage/Metadata.idl: Added.
              * storage/MetadataCallback.h: Added.
              * storage/MetadataCallback.idl: Added.
      
              * bindings/scripts/CodeGenerator.pm: Added special case handlings for generating setter/getter names for CREATE/EXCLUSIVE attributes in Flags.idl.
      
              * bindings/scripts/test/TestObj.idl: Updated.
              * bindings/scripts/test/CPP/WebDOMTestObj.cpp: Updated.
              * bindings/scripts/test/CPP/WebDOMTestObj.cpp: Updated.
              * bindings/scripts/test/CPP/WebDOMTestObj.h: Updated.
              * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: Updated.
              * bindings/scripts/test/GObject/WebKitDOMTestObj.h: Updated.
              * bindings/scripts/test/JS/JSTestObj.cpp: Updated.
              * bindings/scripts/test/JS/JSTestObj.h: Updated.
              * bindings/scripts/test/ObjC/DOMTestObj.h: Updated.
              * bindings/scripts/test/ObjC/DOMTestObj.mm: Updated.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c7ba88e
  15. 13 Jul, 2010 1 commit
    • dumi@chromium.org's avatar
      WebCore: Implementing DatabaseSync::transaction() and DatabaseSync::changeVersion(). · e7beae72
      dumi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=40607
      
      Reviewed by Darin Fisher
      
      Tests: fast/workers/storage/change-version-handle-reuse-sync.html
             fast/workers/storage/change-version-sync.html
             fast/workers/storage/empty-statement-sync.html
             fast/workers/storage/execute-sql-args-sync.html
             fast/workers/storage/executesql-accepts-only-one-statement-sync.html
             fast/workers/storage/multiple-transactions-on-different-handles-sync.html
             fast/workers/storage/open-database-creation-callback-sync.html
             fast/workers/storage/open-database-empty-version-sync.html
             fast/workers/storage/open-database-inputs-sync.html
             fast/workers/storage/open-database-set-empty-version-sync.html
             fast/workers/storage/open-database-while-transaction-in-progress-sync.html
             fast/workers/storage/sql-data-types-sync.html
             fast/workers/storage/sql-exception-codes-sync.html
             fast/workers/storage/test-authorizer-sync.html
             fast/workers/storage/transaction-in-transaction-sync.html
      
      * CMakeLists.txt:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * storage/AbstractDatabase.cpp:
      (WebCore::AbstractDatabase::maximumSize):
      (WebCore::AbstractDatabase::incrementalVacuumIfNeeded):
      * storage/AbstractDatabase.h:
      (WebCore::AbstractDatabase::sqliteDatabase):
      * storage/ChangeVersionWrapper.cpp:
      (WebCore::ChangeVersionWrapper::performPreflight):
      (WebCore::ChangeVersionWrapper::performPostflight):
      * storage/Database.cpp:
      (WebCore::Database::performGetTableNames):
      * storage/Database.h:
      * storage/DatabaseAuthorizer.cpp:
      (WebCore::DatabaseAuthorizer::createVTable):
      (WebCore::DatabaseAuthorizer::dropVTable):
      * storage/DatabaseCallback.h:
      * storage/DatabaseSync.cpp:
      (WebCore::ChangeVersionPreflightStep::create):
      (WebCore::ChangeVersionPreflightStep::performStep):
      (WebCore::ChangeVersionPreflightStep::ChangeVersionPreflightStep):
      (WebCore::ChangeVersionPostflightStep::create):
      (WebCore::ChangeVersionPostflightStep::performStep):
      (WebCore::ChangeVersionPostflightStep::ChangeVersionPostflightStep):
      (WebCore::DatabaseSync::changeVersion):
      (WebCore::DatabaseSync::transaction):
      (WebCore::DatabaseSync::runTransaction):
      * storage/DatabaseSync.h:
      * storage/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::getMaxSizeForDatabase):
      * storage/SQLError.h:
      * storage/SQLResultSet.cpp:
      * storage/SQLResultSet.h:
      * storage/SQLStatementCallback.h:
      * storage/SQLStatementErrorCallback.h:
      * storage/SQLStatementSync.cpp: Copied from WebCore/storage/SQLStatement.cpp.
      (WebCore::SQLStatementSync::SQLStatementSync):
      (WebCore::SQLStatementSync::execute):
      * storage/SQLStatementSync.h: Added.
      * storage/SQLTransaction.cpp:
      (WebCore::SQLTransaction::runCurrentStatement):
      (WebCore::SQLTransaction::deliverQuotaIncreaseCallback):
      (WebCore::SQLTransaction::postflightAndCommit):
      * storage/SQLTransaction.h:
      * storage/SQLTransactionCallback.h:
      * storage/SQLTransactionClient.cpp:
      (WebCore::SQLTransactionClient::didCommitWriteTransaction):
      (WebCore::SQLTransactionClient::didExecuteStatement):
      (WebCore::SQLTransactionClient::didExceedQuota):
      * storage/SQLTransactionClient.h:
      * storage/SQLTransactionErrorCallback.h:
      * storage/SQLTransactionSync.cpp:
      (WebCore::transactionClient):
      (WebCore::SQLTransactionSync::create):
      (WebCore::SQLTransactionSync::SQLTransactionSync):
      (WebCore::SQLTransactionSync::~SQLTransactionSync):
      (WebCore::SQLTransactionSync::executeSQL):
      (WebCore::SQLTransactionSync::begin):
      (WebCore::SQLTransactionSync::execute):
      (WebCore::SQLTransactionSync::commit):
      (WebCore::SQLTransactionSync::rollback):
      * storage/SQLTransactionSync.h:
      (WebCore::SQLTransactionSync::SQLTransactionSyncOptionalStep::~SQLTransactionSyncOptionalStep):
      * storage/SQLTransactionSyncCallback.h:
      * storage/chromium/SQLTransactionClientChromium.cpp:
      (WebCore::SQLTransactionClient::didCommitWriteTransaction):
      (WebCore::SQLTransactionClient::didExecuteStatement):
      (WebCore::SQLTransactionClient::didExceedQuota):
      
      LayoutTests: Porting as many async DB tests as possible to sync DBs.
      https://bugs.webkit.org/show_bug.cgi?id=40607
      
      Reviewed by Darin Fisher.
      
      * fast/workers/storage/change-version-handle-reuse-sync-expected.txt: Added.
      * fast/workers/storage/change-version-handle-reuse-sync.html: Added.
      * fast/workers/storage/change-version-sync-expected.txt: Added.
      * fast/workers/storage/change-version-sync.html: Added.
      * fast/workers/storage/empty-statement-sync-expected.txt: Added.
      * fast/workers/storage/empty-statement-sync.html: Added.
      * fast/workers/storage/execute-sql-args-sync-expected.txt: Added.
      * fast/workers/storage/execute-sql-args-sync.html: Added.
      * fast/workers/storage/executesql-accepts-only-one-statement-sync-expected.txt: Added.
      * fast/workers/storage/executesql-accepts-only-one-statement-sync.html: Added.
      * fast/workers/storage/multiple-transactions-on-different-handles-sync-expected.txt: Added.
      * fast/workers/storage/multiple-transactions-on-different-handles-sync.html: Added.
      * fast/workers/storage/open-database-creation-callback-sync-expected.txt: Added.
      * fast/workers/storage/open-database-creation-callback-sync.html: Added.
      * fast/workers/storage/open-database-empty-version-sync-expected.txt: Added.
      * fast/workers/storage/open-database-empty-version-sync.html: Added.
      * fast/workers/storage/open-database-inputs-sync-expected.txt: Copied from LayoutTests/fast/workers/storage/open-database-sync-inputs-expected.txt.
      * fast/workers/storage/open-database-inputs-sync.html: Copied from LayoutTests/fast/workers/storage/open-database-sync-inputs.html.
      * fast/workers/storage/open-database-set-empty-version-sync-expected.txt: Added.
      * fast/workers/storage/open-database-set-empty-version-sync.html: Added.
      * fast/workers/storage/open-database-sync-inputs-expected.txt: Removed.
      * fast/workers/storage/open-database-sync-inputs.html: Removed.
      * fast/workers/storage/open-database-while-transaction-in-progress-sync-expected.txt: Added.
      * fast/workers/storage/open-database-while-transaction-in-progress-sync.html: Added.
      * fast/workers/storage/resources/change-version-handle-reuse-sync.js: Added.
      (catch):
      * fast/workers/storage/resources/change-version-sync-1.js: Added.
      ():
      (try):
      * fast/workers/storage/resources/change-version-sync-2.js: Added.
      * fast/workers/storage/resources/empty-statement-sync.js: Added.
      * fast/workers/storage/resources/execute-sql-args-sync.js: Added.
      (throwOnToStringObject.toString):
      (var):
      ():
      (runTransactionTest):
      (runTransactionTests):
      * fast/workers/storage/resources/executesql-accepts-only-one-statement-sync.js: Added.
      (executeStatement):
      * fast/workers/storage/resources/multiple-transactions-on-different-handles-sync.js: Added.
      (runTransaction):
      (var):
      * fast/workers/storage/resources/multiple-transactions-sync.js: Added.
      (checkCompletion):
      (runTest.db):
      (runTest):
      * fast/workers/storage/resources/open-database-creation-callback-sync.js: Added.
      * fast/workers/storage/resources/open-database-empty-version-sync.js: Added.
      * fast/workers/storage/resources/open-database-inputs-sync.js: Copied from LayoutTests/fast/workers/storage/resources/open-database-sync-inputs.js.
      * fast/workers/storage/resources/open-database-set-empty-version-sync.js: Added.
      * fast/workers/storage/resources/open-database-sync-inputs.js: Removed.
      * fast/workers/storage/resources/open-database-while-transaction-in-progress-sync.js: Added.
      (openTestDatabase):
      * fast/workers/storage/resources/sql-data-types-sync.js: Added.
      ():
      (testDBValues):
      * fast/workers/storage/resources/sql-exception-codes-sync.js: Added.
      (testTransaction):
      ():
      (testInvalidStatement):
      (testIncorrectNumberOfBindParameters):
      (testBindParameterOfWrongType.badString.toString):
      (testBindParameterOfWrongType):
      (testVersionMismatch.testTransaction):
      (testVersionMismatch):
      * fast/workers/storage/resources/test-authorizer-sync.js: Added.
      (cleanup):
      (executeStatement):
      (createTableCallback):
      (createStatementsCallback):
      (otherStatementsCallback):
      (dropStatementsCallback):
      (testReadWriteMode):
      (testReadOnlyMode):
      * fast/workers/storage/resources/transaction-in-transaction-sync.js: Added.
      * fast/workers/storage/sql-data-types-sync-expected.txt: Added.
      * fast/workers/storage/sql-data-types-sync.html: Added.
      * fast/workers/storage/sql-exception-codes-sync-expected.txt: Added.
      * fast/workers/storage/sql-exception-codes-sync.html: Added.
      * fast/workers/storage/test-authorizer-sync-expected.txt: Added.
      * fast/workers/storage/test-authorizer-sync.html: Added.
      * fast/workers/storage/transaction-in-transaction-sync-expected.txt: Added.
      * fast/workers/storage/transaction-in-transaction-sync.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7beae72
  16. 07 May, 2010 1 commit
    • dumi@chromium.org's avatar
      Adding the IDL files for the sync DB API and the stubs for the JS and V8 bindings. · a97902ef
      dumi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=34994
      
      Reviewed by Brady Eidson.
      
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pri:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSBindingsAllInOne.cpp:
      * bindings/js/JSDatabaseSyncCustom.cpp: Added.
      (WebCore::JSDatabaseSync::changeVersion):
      (WebCore::createTransaction):
      (WebCore::JSDatabaseSync::transaction):
      (WebCore::JSDatabaseSync::readTransaction):
      * bindings/js/JSSQLTransactionSyncCustom.cpp: Added.
      (WebCore::JSSQLTransactionSync::executeSql):
      * bindings/js/JSWorkerContextCustom.cpp:
      (WebCore::JSWorkerContext::openDatabaseSync):
      * bindings/v8/custom/V8BindingMacros.h: Added.
      * bindings/v8/custom/V8DatabaseSyncCustom.cpp: Added.
      (WebCore::V8DatabaseSync::changeVersionCallback):
      (WebCore::createTransaction):
      (WebCore::V8DatabaseSync::transactionCallback):
      (WebCore::V8DatabaseSync::readTransactionCallback):
      * bindings/v8/custom/V8SQLTransactionSyncCustom.cpp: Added.
      (WebCore::V8SQLTransactionSync::executeSqlCallback):
      * bindings/v8/custom/V8WorkerContextCustom.cpp:
      (WebCore::V8WorkerContext::openDatabaseSyncCallback):
      * storage/Database.idl:
      * storage/DatabaseCallback.h:
      * storage/DatabaseCallback.idl:
      * storage/DatabaseSync.cpp:
      (WebCore::DatabaseSync::changeVersion):
      (WebCore::DatabaseSync::transaction):
      * storage/DatabaseSync.h:
      * storage/DatabaseSync.idl: Added.
      * storage/SQLError.idl:
      * storage/SQLResultSet.idl:
      * storage/SQLResultSetRowList.idl:
      * storage/SQLTransaction.idl:
      * storage/SQLTransactionSync.idl: Added.
      * storage/SQLTransactionSyncCallback.h:
      * storage/SQLTransactionSyncCallback.idl: Added.
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::openDatabaseSync):
      * workers/WorkerContext.h:
      * workers/WorkerContext.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a97902ef
  17. 04 May, 2010 1 commit
    • dumi@chromium.org's avatar
      Auto-generate all Database callbacks. · 73c1a42f
      dumi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=38503
      
      Reviewed by Adam Barth.
      
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pri:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSBindingsAllInOne.cpp:
      * bindings/js/JSCustomSQLStatementCallback.cpp: Removed.
      * bindings/js/JSCustomSQLStatementCallback.h: Removed.
      * bindings/js/JSCustomSQLStatementErrorCallback.cpp:
      (WebCore::JSSQLStatementErrorCallback::handleEvent):
      * bindings/js/JSCustomSQLStatementErrorCallback.h: Removed.
      * bindings/js/JSCustomSQLTransactionCallback.cpp: Removed.
      * bindings/js/JSCustomSQLTransactionCallback.h: Removed.
      * bindings/js/JSCustomSQLTransactionErrorCallback.cpp: Removed.
      * bindings/js/JSCustomSQLTransactionErrorCallback.h: Removed.
      * bindings/js/JSDatabaseCallback.cpp: Removed.
      * bindings/js/JSDatabaseCallback.h: Removed.
      * bindings/js/JSDatabaseCustom.cpp:
      (WebCore::JSDatabase::changeVersion):
      (WebCore::createTransaction):
      * bindings/js/JSSQLTransactionCustom.cpp:
      (WebCore::JSSQLTransaction::executeSql):
      * bindings/scripts/CodeGeneratorJS.pm:
      * bindings/scripts/test/JS/JSTestCallback.cpp:
      * bindings/v8/custom/V8CustomSQLStatementCallback.cpp: Removed.
      * bindings/v8/custom/V8CustomSQLStatementCallback.h: Removed.
      * bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp:
      (WebCore::V8SQLStatementErrorCallback::handleEvent):
      * bindings/v8/custom/V8CustomSQLStatementErrorCallback.h: Removed.
      * bindings/v8/custom/V8CustomSQLTransactionCallback.cpp: Removed.
      * bindings/v8/custom/V8CustomSQLTransactionCallback.h: Removed.
      * bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp: Removed.
      * bindings/v8/custom/V8CustomSQLTransactionErrorCallback.h: Removed.
      * bindings/v8/custom/V8DatabaseCallback.cpp: Removed.
      * bindings/v8/custom/V8DatabaseCallback.h: Removed.
      * bindings/v8/custom/V8DatabaseCustom.cpp:
      (WebCore::V8Database::changeVersionCallback):
      (WebCore::createTransaction):
      * bindings/v8/custom/V8SQLTransactionCustom.cpp:
      (WebCore::V8SQLTransaction::executeSqlCallback):
      * storage/DatabaseCallback.h:
      * storage/DatabaseCallback.idl: Added.
      * storage/SQLStatement.cpp:
      (WebCore::SQLStatement::performCallback):
      * storage/SQLStatementCallback.h:
      * storage/SQLStatementCallback.idl: Added.
      * storage/SQLStatementErrorCallback.idl: Added.
      * storage/SQLTransaction.cpp:
      (WebCore::SQLTransaction::deliverTransactionCallback):
      * storage/SQLTransactionCallback.h:
      * storage/SQLTransactionCallback.idl: Added.
      * storage/SQLTransactionErrorCallback.h:
      * storage/SQLTransactionErrorCallback.idl: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73c1a42f
  18. 29 Jan, 2010 1 commit
    • jorlow@chromium.org's avatar
      2010-01-29 Jeremy Orlow <jorlow@chromium.org> · d1ae3238
      jorlow@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              A first step towards the Indexed Database API
              https://bugs.webkit.org/show_bug.cgi?id=34342
      
              Add runtime enable support for Indexed Database API.
      
              * features.gypi:
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableIndexedDatabase):
              (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
      2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              A first step towards the Indexed Database API
              https://bugs.webkit.org/show_bug.cgi?id=34342
      
              Flesh out the first part of Indexed Database API.
              Currently only compiles with v8 + chromium for now.
              Completely non-functional, but it seems best to do
              this in chunks.
      
              No tests because nothing works yet.
      
              * Configurations/FeatureDefines.xcconfig:
              * WebCore.gypi:
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/DOMObjectsInclude.h:
              * bindings/v8/DerivedSourcesAllInOne.cpp:
              * bindings/v8/RuntimeEnabledFeatures.cpp:
              * bindings/v8/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setIndexedDatabaseEnabled):
              (WebCore::RuntimeEnabledFeatures::indexedDatabaseEnabled):
              * bindings/v8/V8Index.cpp:
              * bindings/v8/V8Index.h:
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::V8DOMWindow::IndexedDBEnabled):
              * bindings/v8/custom/V8IDBRequestCustom.cpp: Added.
              (WebCore::V8IDBRequest::resultAccessorGetter):
              * bindings/v8/custom/V8IndexedDatabaseRequestCustom.cpp: Added.
              (WebCore::V8IndexedDatabaseRequest::openCallback):
              * dom/EventNames.h:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::indexedDB):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * storage/IDBDatabaseError.h: Added.
              (WebCore::IDBDatabaseError::create):
              (WebCore::IDBDatabaseError::~IDBDatabaseError):
              (WebCore::IDBDatabaseError::code):
              (WebCore::IDBDatabaseError::setCode):
              (WebCore::IDBDatabaseError::message):
              (WebCore::IDBDatabaseError::setMessage):
              (WebCore::IDBDatabaseError::IDBDatabaseError):
              * storage/IDBDatabaseError.idl: Added.
              * storage/IDBDatabaseException.h: Added.
              (WebCore::IDBDatabaseException::create):
              (WebCore::IDBDatabaseException::~IDBDatabaseException):
              (WebCore::IDBDatabaseException::code):
              (WebCore::IDBDatabaseException::setCode):
              (WebCore::IDBDatabaseException::message):
              (WebCore::IDBDatabaseException::setMessage):
              (WebCore::IDBDatabaseException::IDBDatabaseException):
              * storage/IDBDatabaseException.idl: Added.
              * storage/IDBRequest.cpp: Added.
              (WebCore::IDBRequest::IDBRequest):
              (WebCore::IDBRequest::~IDBRequest):
              (WebCore::IDBRequest::abort):
              (WebCore::IDBRequest::eventTargetData):
              (WebCore::IDBRequest::ensureEventTargetData):
              * storage/IDBRequest.h: Added.
              (WebCore::IDBRequest::create):
              (WebCore::IDBRequest::readyState):
              (WebCore::IDBRequest::error):
              (WebCore::IDBRequest::result):
              (WebCore::IDBRequest::scriptExecutionContext):
              (WebCore::IDBRequest::toIDBRequest):
              (WebCore::IDBRequest::refEventTarget):
              (WebCore::IDBRequest::derefEventTarget):
              * storage/IDBRequest.idl: Added.
              * storage/IndexedDatabaseRequest.cpp: Added.
              (WebCore::IndexedDatabaseRequest::IndexedDatabaseRequest):
              (WebCore::IndexedDatabaseRequest::~IndexedDatabaseRequest):
              (WebCore::IndexedDatabaseRequest::open):
              * storage/IndexedDatabaseRequest.h: Added.
              (WebCore::IndexedDatabaseRequest::create):
              (WebCore::IndexedDatabaseRequest::request):
              * storage/IndexedDatabaseRequest.idl: Added.
      2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              A first step towards the Indexed Database API
              https://bugs.webkit.org/show_bug.cgi?id=34342
      
              Add Indexed Database API
      
              * configure.ac:
      2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              A first step towards the Indexed Database API
              https://bugs.webkit.org/show_bug.cgi?id=34342
      
              Add indexed database API.
      
              * Scripts/build-webkit:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1ae3238
  19. 23 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
  20. 14 May, 2009 1 commit
    • kov@webkit.org's avatar
      2009-05-14 Ben Murdoch <benm@google.com> · 4a35f85f
      kov@webkit.org authored
              Reviewed by Darin Adler.
      
              Add more ENABLE_DATABASE guards.
              https://bugs.webkit.org/show_bug.cgi?id=25616
      
              See also https://bugs.webkit.org/show_bug.cgi?id=24776 (original set of guards)
      
              * bindings/js/JSSQLResultSetRowListCustom.cpp:
              * bindings/v8/custom/V8CustomSQLStatementCallback.cpp:
              * bindings/v8/custom/V8CustomSQLStatementCallback.h:
              * bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp:
              * bindings/v8/custom/V8CustomSQLStatementErrorCallback.h:
              * bindings/v8/custom/V8CustomSQLTransactionCallback.cpp:
              * bindings/v8/custom/V8CustomSQLTransactionCallback.h:
              * bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp:
              * bindings/v8/custom/V8CustomSQLTransactionErrorCallback.h:
              * bindings/v8/custom/V8DatabaseCustom.cpp:
              * bindings/v8/custom/V8SQLResultSetRowListCustom.cpp:
              * bindings/v8/custom/V8SQLTransactionCustom.cpp:
              * storage/Database.cpp:
              * storage/DatabaseDetails.h:
              * storage/OriginUsageRecord.cpp:
              * storage/OriginUsageRecord.h:
              * storage/SQLError.h:
              * storage/SQLError.idl:
              * storage/SQLResultSet.cpp:
              * storage/SQLResultSet.h:
              * storage/SQLResultSet.idl:
              * storage/SQLResultSetRowList.cpp:
              * storage/SQLResultSetRowList.h:
              * storage/SQLResultSetRowList.idl:
              * storage/SQLStatementCallback.h:
              * storage/SQLStatementErrorCallback.h:
              * storage/SQLTransactionCallback.h:
              * storage/SQLTransactionErrorCallback.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a35f85f
  21. 04 Feb, 2009 1 commit
  22. 31 Oct, 2007 1 commit
    • andersca's avatar
      Reviewed by Darin. · 5a5889b6
      andersca authored
              Add new SQLError implementation.
              
              * DerivedSources.make:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * storage/SQLError.h: Added.
              (WebCore::SQLError::SQLError):
              (WebCore::SQLError::code):
              (WebCore::SQLError::message):
              * storage/SQLError.idl: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a5889b6
  23. 19 Oct, 2007 1 commit
    • beidson's avatar
      JavaScriptCore: · e5def340
      beidson authored
      2007-10-19  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Sam
      
              Queue -> Deque! and small style tweaks
      
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
              * JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
              * wtf/Deque.h: Added.
              (WTF::DequeNode::DequeNode):
              (WTF::Deque::Deque):
              (WTF::Deque::~Deque):
              (WTF::Deque::size):
              (WTF::Deque::isEmpty):
              (WTF::Deque::append):
              (WTF::Deque::prepend):
              (WTF::Deque::first):
              (WTF::Deque::last):
              (WTF::Deque::removeFirst):
              (WTF::Deque::clear):
              * wtf/Queue.h: Removed.
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Oliver
      
              Added a simple LinkedList based Queue to wtf
              We can make a better, more sophisticated an efficient one later, but have
              needed one for some time, now!
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * wtf/Queue.h: Added.
              (WTF::QueueNode::QueueNode):
              (WTF::Queue::Queue):
              (WTF::Queue::~Queue):
              (WTF::Queue::size):
              (WTF::Queue::isEmpty):
              (WTF::Queue::append):
              (WTF::Queue::prepend):
              (WTF::Queue::first):
              (WTF::Queue::last):
              (WTF::Queue::removeFirst):
              (WTF::Queue::clear):
      
      WebCore:
      2007-10-19  Brady Eidson  <beidson@apple.com>
              Reviewed by Anders
      
              Windows specific changes, as well as renaming Queue -> Deque
      
              * ForwardingHeaders/wtf/Deque.h: Added.
              * ForwardingHeaders/wtf/Queue.h: Removed.
              * platform/win/FileSystemWin.cpp:
              (WebCore::fileSize):
              (WebCore::fileExists):
              (WebCore::deleteFile):
              (WebCore::pathByAppendingComponent):
              (WebCore::fileSystemRepresentation):
              (WebCore::makeAllDirectories):
              (WebCore::homeDirectoryPath):
              * storage/Database.h:
              * storage/DatabaseThread.cpp:
              (WebCore::DatabaseThread::documentGoingAway):
              (WebCore::DatabaseThread::databaseGoingAway):
              (WebCore::DatabaseThread::dispatchNextTaskIdentifier):
              (WebCore::DatabaseThread::scheduleTask):
              (WebCore::DatabaseThread::scheduleImmediateTask):
              * storage/DatabaseThread.h:
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Tim and Anders
      
              Preliminary support for HTML5 local database storage (http://www.whatwg.org/specs/web-apps/current-work/)
      
              The specification is still in flux but the fundamentals are pretty solid and we can start using and testing
              this implementation even while filing bugs to track changes in the spec as it becomes more final
      
              There are some implementation details in this patch that seem unused or useless, but they remain in place
              while the spec is in flux and might go one way or another.
      
              * platform/Logging.cpp: Add StorageAPI logging channel
              * platform/Logging.h:
      
              * storage/Database.cpp: Added.
              (WebCore::Database::databaseInfoTableName):
              (WebCore::databaseVersionKey):
              (WebCore::Database::openDatabase): C++ version of the window.openDatabase() javascript API
              (WebCore::Database::Database):
              (WebCore::Database::~Database):
              (WebCore::Database::openAndVerifyVersion):
              (WebCore::retrieveTextResultFromDatabase):
              (WebCore::Database::getVersionFromDatabase):
              (WebCore::setTextValueInDatabase):
              (WebCore::Database::setVersionInDatabase):
              (WebCore::Database::databaseThreadGoingAway): May be removed in the future
              (WebCore::Database::disableAuthorizer): For internal (WebInspector) use to get around the authorizer's restrictions
              (WebCore::Database::enableAuthorizer):
              (WebCore::Database::guidForOriginAndName): Candidate for refactoring and/or moving to the database tracker.
                The GUID for each database identifier is currently for tracking the database version, but might be rescoped in the future
              (WebCore::Database::resetAuthorizer):
              (WebCore::Database::performPolicyChecks): Currently, the only post-executeSql policy check planned is the origin size usage
              (WebCore::Database::scheduleDatabaseCallback):
              (WebCore::Database::performOpenAndVerify):
              (WebCore::Database::performChangeVersion):
              (WebCore::Database::performExecuteSql):
              (WebCore::Database::performCloseTransaction):
              (WebCore::Database::performGetTableNames):
              (WebCore::Database::version): C++ version of the javascript API
              (WebCore::Database::changeVersion): Ditto
              (WebCore::Database::executeSql): Ditto
              (WebCore::Database::closeTransaction): Ditto
              (WebCore::Database::tableNames): For internal (WebInspector) use
              (WebCore::Database::deliverAllPendingCallbacks):
              (WebCore::Database::deliverPendingCallbacks):
              * storage/Database.h: Added.
              (WebCore::Database::databaseDebugName): For debug logging purposes
              * storage/Database.idl: Added.
      
              * storage/DatabaseAuthorizer.cpp: Added.
                The DatabaseAuthorizer is used to both prevent the script from doing "illegal" things in sql as well as
                tracking when effects certain sql statements might have (such as increasing the size of the database)
              (WebCore::DatabaseAuthorizer::DatabaseAuthorizer):
              (WebCore::DatabaseAuthorizer::reset):
              (WebCore::DatabaseAuthorizer::createTable):
              (WebCore::DatabaseAuthorizer::createTempTable):
              (WebCore::DatabaseAuthorizer::dropTable):
              (WebCore::DatabaseAuthorizer::dropTempTable):
              (WebCore::DatabaseAuthorizer::allowAlterTable):
              (WebCore::DatabaseAuthorizer::createIndex):
              (WebCore::DatabaseAuthorizer::createTempIndex):
              (WebCore::DatabaseAuthorizer::dropIndex):
              (WebCore::DatabaseAuthorizer::dropTempIndex):
              (WebCore::DatabaseAuthorizer::createTrigger):
              (WebCore::DatabaseAuthorizer::createTempTrigger):
              (WebCore::DatabaseAuthorizer::dropTrigger):
              (WebCore::DatabaseAuthorizer::dropTempTrigger):
              (WebCore::DatabaseAuthorizer::createVTable):
              (WebCore::DatabaseAuthorizer::dropVTable):
              (WebCore::DatabaseAuthorizer::allowDelete):
              (WebCore::DatabaseAuthorizer::allowInsert):
              (WebCore::DatabaseAuthorizer::allowUpdate):
              (WebCore::DatabaseAuthorizer::allowRead):
              (WebCore::DatabaseAuthorizer::allowAnalyze):
              (WebCore::DatabaseAuthorizer::allowPragma):
              (WebCore::DatabaseAuthorizer::allowAttach):
              (WebCore::DatabaseAuthorizer::allowDetach):
              (WebCore::DatabaseAuthorizer::allowFunction):
              (WebCore::DatabaseAuthorizer::disable):
              (WebCore::DatabaseAuthorizer::enable):
              (WebCore::DatabaseAuthorizer::denyBasedOnTableName): Don't allow access to the __WebKit meta info table as
                it should be invisible to scripts
              * storage/DatabaseAuthorizer.h: Added.
              (WebCore::DatabaseAuthorizer::lastActionWasInsert):
              (WebCore::DatabaseAuthorizer::lastActionIncreasedSize):
      
              * storage/DatabaseCallback.cpp: Added.
                Generic item to queue up for callbacks on the main thread for database activities that take place on
                a secondary thread
              (WebCore::DatabaseChangeVersionCallback::DatabaseChangeVersionCallback):
              (WebCore::DatabaseChangeVersionCallback::performCallback):
              (WebCore::DatabaseExecuteSqlCallback::DatabaseExecuteSqlCallback):
              (WebCore::DatabaseExecuteSqlCallback::performCallback):
              * storage/DatabaseCallback.h: Added.
              (WebCore::DatabaseCallback::~DatabaseCallback):
              (WebCore::DatabaseChangeVersionCallback::~DatabaseChangeVersionCallback):
              (WebCore::DatabaseExecuteSqlCallback::~DatabaseExecuteSqlCallback):
      
              * storage/DatabaseTask.h: Added.
                Generic work-item to be queued up on the background database thread
              (WebCore::DatabaseTask::isComplete):
              (WebCore::DatabaseOpenTask::exceptionCode):
              (WebCore::DatabaseOpenTask::openSuccessful):
              (WebCore::DatabaseTableNamesTask::tableNames):
              * storage/DatabaseTask.cpp: Added.
              (WebCore::DatabaseTask::DatabaseTask):
              (WebCore::DatabaseTask::~DatabaseTask):
              (WebCore::DatabaseTask::performTask):
              (WebCore::DatabaseTask::lockForSynchronousScheduling): Used when the main thread needs this task accomplished
                synchronously
              (WebCore::DatabaseTask::waitForSynchronousCompletion):
      
              (WebCore::DatabaseOpenTask::DatabaseOpenTask):
              (WebCore::DatabaseOpenTask::doPerformTask):
      
              (WebCore::DatabaseExecuteSqlTask::DatabaseExecuteSqlTask):
              (WebCore::DatabaseExecuteSqlTask::doPerformTask):
      
              (WebCore::DatabaseChangeVersionTask::DatabaseChangeVersionTask):
              (WebCore::DatabaseChangeVersionTask::doPerformTask):
      
              (WebCore::DatabaseTableNamesTask::DatabaseTableNamesTask):
              (WebCore::DatabaseTableNamesTask::doPerformTask):
      
              * storage/DatabaseThread.cpp: Added.
                The current design is that each Document will have its own DatabaseThread.  This makes scripts on each
                individual document more response at the cost of adding more threads and potentially creating concurrency
                issues when the same database is open twice from two different documents
              (WebCore::DatabaseThread::DatabaseThread):
              (WebCore::DatabaseThread::~DatabaseThread):
              (WebCore::DatabaseThread::start):
              (WebCore::DatabaseThread::documentGoingAway): Called to shut the thread down when the document is destroyed
              (WebCore::DatabaseThread::databaseGoingAway): Remove all pending tasks for this database
              (WebCore::DatabaseThread::databaseThreadStart):
              (WebCore::DatabaseThread::databaseThread):
              (WebCore::DatabaseThread::dispatchNextTaskIdentifier):
              (WebCore::DatabaseThread::scheduleTask):
              (WebCore::DatabaseThread::scheduleImmediateTask): Schedule a task that gets to "cut to the front of the line" when
                the main thread requires a task be performed synchronously
              (WebCore::DatabaseThread::wakeWorkThread):
              * storage/DatabaseThread.h: Added.
      
              * storage/DatabaseTracker.cpp: Added.
                The DatabaseTracker is the master management of all databases.  It will keep track of the filename for a given
                unique database, keep track of the total disk usage per-origin, and policys per database/origin
              (WebCore::DatabaseTracker::setDatabasePath):
              (WebCore::DatabaseTracker::databasePath):
              (WebCore::DatabaseTracker::tracker):
              (WebCore::DatabaseTracker::DatabaseTracker):
              (WebCore::DatabaseTracker::fullPathForDatabase):
              (WebCore::DatabaseTracker::populateOrigins):
              (WebCore::DatabaseTracker::origins):
              (WebCore::DatabaseTracker::databaseNamesForOrigin):
              (WebCore::DatabaseTracker::addDatabase):
              (WebCore::DatabaseTracker::deleteAllDatabases):
              (WebCore::DatabaseTracker::deleteAllDatabasesForOrigin):
              * storage/DatabaseTracker.h: Added.
      
              * storage/SQLCallback.h: Added. C++ version of the javascript executeSql() callback
              (WebCore::SQLCallback::~SQLCallback):
              * storage/SQLCallback.idl: Added.
      
              * storage/SQLResultSet.cpp: Added. C++ version of the javascript SQLResultSet object
              (WebCore::SQLResultSet::SQLResultSet):
              (WebCore::SQLResultSet::insertId):
              (WebCore::SQLResultSet::rowsAffected):
              (WebCore::SQLResultSet::errorCode):
              (WebCore::SQLResultSet::error):
              (WebCore::SQLResultSet::rows):
              (WebCore::SQLResultSet::setInsertId):
              (WebCore::SQLResultSet::setRowsAffected):
              (WebCore::SQLResultSet::setErrorCode):
              (WebCore::SQLResultSet::setErrorMessage):
              * storage/SQLResultSet.h: Added.
              * storage/SQLResultSet.idl: Added.
      
              * storage/SQLResultSetRowList.cpp: Added. C++ version of the javascript SQLResultSetRowList object
              (WebCore::SQLResultSetRowList::length):
              * storage/SQLResultSetRowList.h: Added.
              (WebCore::SQLResultSetRowList::columnNames):
              (WebCore::SQLResultSetRowList::values):
              (WebCore::SQLResultSetRowList::addColumn):
              (WebCore::SQLResultSetRowList::addResult):
              * storage/SQLResultSetRowList.idl: Added.
      
              * storage/VersionChangeCallback.h: Added. C++ version of the javascript changeVersion() callback
              (WebCore::VersionChangeCallback::~VersionChangeCallback):
              * storage/VersionChangeCallback.idl: Added.
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Oliver + Same
      
              Forwarding header for the new wtf/Queue.h
      
              * ForwardingHeaders/wtf/Queue.h: Added.
      
      2007-10-19  Anders Carlsson <beidson@apple.com>
      
             	Reviewed by Sam Weinig
      
             	Most of the Javascript binding support for the Storage API
      
             	* bindings/js/JSCustomSQLCallback.cpp: Added.
             	(WebCore::JSCustomSQLCallback::JSCustomSQLCallback):
             	(WebCore::JSCustomSQLCallback::handleEvent):
             	* bindings/js/JSCustomSQLCallback.h: Added.
      		Add JSCustomSQLCallback which is an SQLCallback implementation that dispatches
      		handleEvent to a JS function or a JS object with a handleEvent function.
      
             	* bindings/js/JSCustomVersionChangeCallback.cpp: Added.
             	(WebCore::JSCustomVersionChangeCallback::JSCustomVersionChangeCallback):
             	(WebCore::JSCustomVersionChangeCallback::handleEvent):
             	* bindings/js/JSCustomVersionChangeCallback.h: Added.
      		Add JSCustomSQLCallback which is an SQLCallback implementation that dispatches
      		handleEvent to a JS function or a JS object with a handleEvent function.
      
             	* bindings/js/JSDatabaseCustom.cpp: Added.
             	(WebCore::JSDatabase::executeSql):
      		Custom implementation of executeSql that takes an array of parameters.
      
             	(WebCore::JSDatabase::changeVersion):
      		Custom implementation of changeVersion.
      
             	* bindings/js/JSSQLResultSetRowListCustom.cpp: Added.
             	(WebCore::JSSQLResultSetRowList::item):
      		Custom method that returns a JS object that corresponds to a given row in the database.
      
             	* bindings/scripts/CodeGeneratorJS.pm:
      
             	* page/DOMWindow.cpp:
             	(WebCore::DOMWindow::openDatabase):
             	* page/DOMWindow.h:
             	* page/DOMWindow.idl:
      		Add openDatabase implementation.
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Oliver
      
              Added tons of utility to the FileSystem abstractions, including moving
              some stuff over from IconDatabase
      
              * platform/FileSystem.h:
      
              * platform/cf/FileSystemCF.cpp: Added.
              (WebCore::fileSystemRepresentation):
      
              * platform/mac/FileSystemMac.mm:
      
              * platform/posix/FileSystemPOSIX.cpp: Added.
              (WebCore::fileExists):
              (WebCore::deleteFile):
              (WebCore::fileSize):
              (WebCore::pathByAppendingComponent):
              (WebCore::makeAllDirectories):
      
      2007-10-19  Timothy Hatcher  <timothy@apple.com>
      
              Reviewed by Adam Roben
      
              Preliminary Web Inspector support for the Storage API
              (This patch does not include the support artwork)
      
              * page/InspectorController.cpp:
              (WebCore::InspectorDatabaseResource::InspectorDatabaseResource):
              (WebCore::InspectorDatabaseResource::setScriptObject):
              (WebCore::databaseTableNames): Return the table names for a Database object.
              (WebCore::InspectorController::setWindowVisible):
              (WebCore::InspectorController::windowScriptObjectAvailable):
              (WebCore::InspectorController::populateScriptResources):
              (WebCore::InspectorController::addDatabaseScriptResource): Add the script object for the database.
              (WebCore::InspectorController::removeDatabaseScriptResource): Remove the script object for the database.
              (WebCore::InspectorController::clearDatabaseScriptResources): Remove all the database resources.
              (WebCore::InspectorController::didCommitLoad): Call clearDatabaseScriptResources().
              (WebCore::InspectorController::didOpenDatabase): Make a new InspectorDatabaseResource and add it to m_databaseResources.
              * page/InspectorController.h:
              * page/inspector/Database.js: Added.
              * page/inspector/DatabasePanel.js: Added.
              * page/inspector/ResourceCategory.js: Make resource categories assume less about the resource.
              * page/inspector/inspector.css: Add styles for the database panel.
              * page/inspector/inspector.html: Include DatabasePanel.js
              * page/inspector/inspector.js: Support for adding and removing Database resources.
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Tim Hatcher
      
              Added support for Chrome prompts required by the Storage API
      
              * page/Chrome.cpp:
              (WebCore::Chrome::runDatabaseSizeLimitPrompt):
              * page/Chrome.h:
              * page/ChromeClient.h:
              * platform/graphics/svg/SVGImageEmptyClients.h:
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Contributions and Review by Anders
      
              Various SQLite tweaks in preparation for the storage API
      
              * loader/icon/SQLDatabase.cpp:
              (WebCore::SQLDatabase::~SQLDatabase):
              (WebCore::SQLDatabase::authorizerFunction): Static callback from sqlite for authorizer functions
              (WebCore::SQLDatabase::setAuthorizer):
              (WebCore::SQLDatabase::lock):
              (WebCore::SQLDatabase::unlock):
              * loader/icon/SQLDatabase.h:
      
              * loader/icon/SQLStatement.cpp:
              (WebCore::SQLStatement::prepare): Switch to prepare16_v2
              (WebCore::SQLStatement::bindDouble): Added
              (WebCore::SQLStatement::bindValue): Bind a wrapped SQLValue object (described later)
              (WebCore::SQLStatement::bindParameterCount): Accessor to the sqlite3 API for validating statements
              * loader/icon/SQLStatement.h:
              (WebCore::SQLStatement::isPrepared):
      
              * platform/sql/SQLAuthorizer.cpp: Added.  Fully virtual interface to implement your own SQLite authorizer
              * platform/sql/SQLAuthorizer.h: Added.
              (WebCore::SQLAuthorizer::~SQLAuthorizer):
              (WebCore::SQLAuthorizer::createTable):
              (WebCore::SQLAuthorizer::createTempTable):
              (WebCore::SQLAuthorizer::dropTable):
              (WebCore::SQLAuthorizer::dropTempTable):
              (WebCore::SQLAuthorizer::allowAlterTable):
              (WebCore::SQLAuthorizer::createIndex):
              (WebCore::SQLAuthorizer::createTempIndex):
              (WebCore::SQLAuthorizer::dropIndex):
              (WebCore::SQLAuthorizer::dropTempIndex):
              (WebCore::SQLAuthorizer::createTrigger):
              (WebCore::SQLAuthorizer::createTempTrigger):
              (WebCore::SQLAuthorizer::dropTrigger):
              (WebCore::SQLAuthorizer::dropTempTrigger):
              (WebCore::SQLAuthorizer::createView):
              (WebCore::SQLAuthorizer::createTempView):
              (WebCore::SQLAuthorizer::dropView):
              (WebCore::SQLAuthorizer::dropTempView):
              (WebCore::SQLAuthorizer::createVTable):
              (WebCore::SQLAuthorizer::dropVTable):
              (WebCore::SQLAuthorizer::allowDelete):
              (WebCore::SQLAuthorizer::allowInsert):
              (WebCore::SQLAuthorizer::allowUpdate):
              (WebCore::SQLAuthorizer::allowTransaction):
              (WebCore::SQLAuthorizer::allowSelect):
              (WebCore::SQLAuthorizer::allowRead):
              (WebCore::SQLAuthorizer::allowAttach):
              (WebCore::SQLAuthorizer::allowDetach):
              (WebCore::SQLAuthorizer::allowReindex):
              (WebCore::SQLAuthorizer::allowAnalyze):
              (WebCore::SQLAuthorizer::allowFunction):
      
              * platform/sql/SQLValue.cpp: Added.  Contains a value for a SQLite database that can be one of a few types.
                For now, just a String or a double
              (WebCore::SQLValue::SQLValue):
              (WebCore::SQLValue::string):
              (WebCore::SQLValue::number):
              * platform/sql/SQLValue.h: Added.
              (WebCore::SQLValue::):
              (WebCore::SQLValue::SQLValue):
              (WebCore::SQLValue::type):
      
      2007-10-19  Brady Eidson <beidson@apple.com>
      
              Reviewed by Maciej
      
              Changed IconDatabase over to use new FileSystem apis
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::open):
      
      WebKit:
      
              Reviewed by Tim Hatcher
      
              Added support for Chrome prompts required by the Storage API
              Added support API for future managing of databases from the WebKit client
              Added preference and initialization for the databases path
      
              * Misc/WebDatabaseManager.h: Added.  WebDatabaseManager is how a WebKit application can list and
                remove the current available databases
              * Misc/WebDatabaseManager.mm: Added.
              (+[WebDatabaseManager origins]):
              (+[WebDatabaseManager databasesWithOrigin:]):
              (+[WebDatabaseManager deleteAllDatabases]):
              (+[WebDatabaseManager deleteAllDatabasesWithOrigin:]):
              (+[WebDatabaseManager deleteDatabaseWithOrigin:named:]):
              (WebKitSetWebDatabasesPathIfNecessary): Setup the database path
              * Misc/WebDatabaseManagerPrivate.h: Added.
      
              * WebCoreSupport/WebChromeClient.h: Support for calling the delegate to run the prompt for
                an origin exceeding its size limit
              * WebCoreSupport/WebChromeClient.mm:
              (WebChromeClient::runDatabaseSizeLimitPrompt):
              * WebKit.xcodeproj/project.pbxproj:
              * WebView/WebUIDelegate.h:
      
              * WebView/WebView.mm:
              (-[WebView _commonInitializationWithFrameName:groupName:]): Setup the database path
              * WebView/WebViewInternal.h:
      
      WebKitSite:
      
              Reviewed by Tim Hatcher
      
              Sample database API usage
      
              * misc/DatabaseExample.html: Added.
      
      WebKit/win:
      
              Reviewed by Anders
      
              Keep windows building with new Chrome additions
      
              * WebChromeClient.cpp:
              * WebChromeClient.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5def340
  24. 18 Jun, 2007 2 commits
    • weinig's avatar
      WebCore: · 8b5bc0db
      weinig authored
              Reviewed by Beth.
      
              Fix build and update licenses. 
      
              * WebCore.xcodeproj/project.pbxproj:
              * page/BarInfo.cpp:
              * page/BarInfo.h:
              * page/BarInfo.idl:
              * page/Screen.cpp:
              (WebCore::Screen::height):
              (WebCore::Screen::width):
              (WebCore::Screen::colorDepth):
              (WebCore::Screen::pixelDepth):
              (WebCore::Screen::availLeft):
              (WebCore::Screen::availTop):
              (WebCore::Screen::availHeight):
              (WebCore::Screen::availWidth):
              * page/Screen.h:
              * page/Screen.idl:
      
      WebKit:
      
              Reviewed by Beth.
      
              Build fix.
      
              * WebCoreSupport/WebChromeClient.mm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b5bc0db
    • weinig's avatar
      Reviewed by Geoff. · 6f399844
      weinig authored
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14211
              Move the BarInfo object out of the JS bindings
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_window.cpp:
              (KJS::WindowPrivate::WindowPrivate):
              (KJS::Window::mark):
              (KJS::Window::getValueProperty):
              (KJS::Window::clearHelperObjectProperties):
              (KJS::Window::disconnectFrame):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * page/BarInfo.cpp: Added.
              (WebCore::BarInfo::BarInfo):
              (WebCore::BarInfo::disconnectFrame):
              (WebCore::BarInfo::visible):
              * page/BarInfo.h: Added.
              (WebCore::BarInfo::):
              * page/BarInfo.idl: Added.
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::~DOMWindow):
              (WebCore::DOMWindow::disconnectFrame):
              (WebCore::DOMWindow::locationbar):
              (WebCore::DOMWindow::menubar):
              (WebCore::DOMWindow::personalbar):
              (WebCore::DOMWindow::scrollbars):
              (WebCore::DOMWindow::statusbar):
              (WebCore::DOMWindow::toolbar):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f399844
  25. 12 Jun, 2007 1 commit
  26. 07 Jul, 2006 1 commit
    • darin's avatar
      Reviewed by Adele. · 22a690e4
      darin authored
              - fix some license mistakes
      
              * LICENSE-APPLE: Added more years of publication to the copyright here.
      
              * html/CanvasGradient.idl: Corrected license on this file. It had the wrong one.
              * html/CanvasPattern.idl: Ditto.
              * html/CanvasRenderingContext2D.idl: Ditto.
              * html/HTMLCanvasElement.idl: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22a690e4
  27. 20 Mar, 2006 2 commits
    • darin's avatar
      Reviewed by Geoff. · d18e72a9
      darin authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=7867
                get rid of macro hacks for DOM, KDOM, KSVG, khtml, DOMString, QString
      
              * config.h: Remove the defines for DOM, KDOM, KSVG, khtml, DOMString, QString,
              and qstring().
      
              * WebCore.xcodeproj/project.pbxproj: Pass in WebCore instead of KSVG as the
              namespace for SVG names.
              * ksvg2/scripts/make_names.pl: Made a couple changes to trick the SVG names into
              recompiling, since they are in a different namespace now.
      
              * ForwardingHeaders/kjs/identifier.h: Added.
      
              * dom/PlatformWheelEvent.idl: Removed.
              * dom/WheelEvent.idl: Added. This file was renamed by accident.
      
              * bindings/js/JSDOMCore.cpp:
              * bindings/js/JSDOMEvents.cpp:
              * bindings/js/JSDOMHTML.cpp:
              * dom/Attr.idl:
              * dom/CharacterData.idl:
              * dom/DOMImplementation.idl:
              * dom/DocumentType.idl:
              * dom/Element.idl:
              * dom/Entity.idl:
              * dom/MutationEvent.idl:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.idl:
              * dom/Text.idl:
              * html/CanvasGradient.idl:
              * html/CanvasPattern.idl:
              * html/CanvasRenderingContext2D.idl:
              Touched, to get CodeGeneratorJS.pm changes to take effect.
       
              * css/CSSGrammar.y:
              * css/css_valueimpl.cpp: (WebCore::propertyID):
              Changed calls to get CSS property values to use an explicit SVG:: namespace,
              to match what the script writes out.
      
              * khtml/ecma/kjs_binding.h: Added forward declaration of WebCore::String.
      
              * ksvg2/scripts/cssmakeget rid of macro hacks for DOM, KDOM, KSVG, khtml, DOMString, QString
                props: Made this compile with warnings and strict turned on.
              Really just a trick to get properties to recompile, which turned out to be unneeded.
              * ksvg2/scripts/cssmakevalues: Ditto.
      
              * ksvg2/svg/SVGAElement.cpp:
              (SVGAElement::parseMappedAttribute):
              (SVGAElement::defaultEventHandler):
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              (SVGAnimateTransformElement::parseMappedAttribute):
              * ksvg2/svg/SVGAnimationElement.cpp:
              (SVGAnimationElement::parseMappedAttribute):
              * ksvg2/svg/SVGClipPathElement.cpp:
              (SVGClipPathElement::parseMappedAttribute):
              * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
              (SVGComponentTransferFunctionElement::parseMappedAttribute):
              * ksvg2/svg/SVGExternalResourcesRequired.cpp:
              (SVGExternalResourcesRequired::parseMappedAttribute):
              * ksvg2/svg/SVGFEBlendElement.cpp:
              (SVGFEBlendElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEColorMatrixElement.cpp:
              (SVGFEColorMatrixElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEComponentTransferElement.cpp:
              (SVGFEComponentTransferElement::parseMappedAttribute):
              * ksvg2/svg/SVGFECompositeElement.cpp:
              (SVGFECompositeElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
              (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
              (SVGFEDisplacementMapElement::SVGFEDisplacementMapElement):
              (SVGFEDisplacementMapElement::stringToChannel):
              (SVGFEDisplacementMapElement::parseMappedAttribute):
              (SVGFEDisplacementMapElement::filterEffect):
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEFloodElement.cpp:
              (SVGFEFloodElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
              (SVGFEGaussianBlurElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEImageElement.cpp:
              (SVGFEImageElement::parseMappedAttribute):
              * ksvg2/svg/SVGFELightElement.cpp:
              (SVGFELightElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEMergeNodeElement.cpp:
              (SVGFEMergeNodeElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEOffsetElement.cpp:
              (SVGFEOffsetElement::parseMappedAttribute):
              * ksvg2/svg/SVGFESpecularLightingElement.cpp:
              (SVGFESpecularLightingElement::parseMappedAttribute):
              * ksvg2/svg/SVGFETileElement.cpp:
              (SVGFETileElement::parseMappedAttribute):
              * ksvg2/svg/SVGFETurbulenceElement.cpp:
              (SVGFETurbulenceElement::parseMappedAttribute):
              * ksvg2/svg/SVGFilterElement.cpp:
              (SVGFilterElement::parseMappedAttribute):
              * ksvg2/svg/SVGGradientElement.cpp:
              (SVGGradientElement::parseMappedAttribute):
              * ksvg2/svg/SVGMaskElement.cpp:
              (WebCore::SVGMaskElement::parseMappedAttribute):
              * ksvg2/svg/SVGPolyElement.cpp:
              (SVGPolyElement::parseMappedAttribute):
              * ksvg2/svg/SVGStopElement.cpp:
              (SVGStopElement::parseMappedAttribute):
              * ksvg2/svg/SVGStyledElement.cpp:
              (WebCore::SVGStyledElement::parseMappedAttribute):
              * ksvg2/svg/SVGTests.cpp:
              (WebCore::SVGTests::parseMappedAttribute):
              * ksvg2/svg/SVGTextContentElement.cpp:
              (SVGTextContentElement::parseMappedAttribute):
              * ksvg2/svg/SVGTextPositioningElement.cpp:
              (SVGTextPositioningElement::parseMappedAttribute):
              * ksvg2/svg/SVGViewElement.cpp:
              (SVGViewElement::parseMappedAttribute):
              * ksvg2/svg/SVGZoomAndPan.cpp:
              (SVGZoomAndPan::parseMappedAttribute):
              Changed code that converts an AtomicString to a String to do it in a
              more-efficient fashion that works even with all the new conversions.
      
              * page/Frame.cpp:
              (WebCore::getString): Removed unneeded .deprecatedString().
              (WebCore::Frame::begin): Removed the only use of QSTRING_NULL.
      
              * platform/AtomicString.h: Added conversion to and from KJS::Identifier
              and KJS::UString.
              * platform/AtomicString.cpp:
              (WebCore::AtomicString::add): Added overloads for Identifier and UString.
              (WebCore::AtomicString::operator Identifier): Added.
              (WebCore::AtomicString::operator UString): Added.
      
              * platform/DeprecatedString.h: Added conversion to and from KJS::Identifier
              and KJS::UString.
              * platform/DeprecatedString.cpp:
              (DeprecatedString::DeprecatedString): Added overloads for Identifier and UString.
              (DeprecatedString::operator Identifier): Added.
              (DeprecatedString::operator UString): Added.
      
              * platform/PlatformString.h: Added conversion to and from KJS::Identifier
              and KJS::UString.
              * platform/String.cpp:
              (WebCore::String::String): Added overloads for Identifier and UString.
              (WebCore::String::operator Identifier): Added.
              (WebCore::String::operator UString): Added.
      
              * platform/StringImpl.h: Added constructors that take KJS::Identifier
              and KJS::UString
              * platform/StringImpl.cpp:
              (WebCore::getWordBreakIterator): Changed a use of UChar to say ::UChar
              instead because of ambiguity with KJS::UChar.
              (WebCore::StringImpl::StringImpl): Added overloads for Identifier and String.
      
              * bindings/js/JSCanvasRenderingContext2DBase.cpp:
              (WebCore::JSCanvasRenderingContext2DBaseProtoFunc::callAsFunction):
              (WebCore::toHTMLCanvasStyle):
              * bindings/scripts/CodeGeneratorJS.pm:
              * bridge/mac/WebCoreFrameBridge.mm:
              (aeDescFromJSValue):
              (-[WebCoreFrameBridge stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
              * dom/QualifiedName.cpp:
              (WebCore::QualifiedName::toString):
              * khtml/ecma/JSDOMParser.cpp:
              (KJS::DOMParserProtoFunc::callAsFunction):
              * khtml/ecma/JSXMLHttpRequest.cpp:
              (KJS::JSXMLHttpRequestProtoFunc::callAsFunction):
              * khtml/ecma/JSXSLTProcessor.cpp:
              (KJS::XSLTProcessorProtoFunc::callAsFunction):
              * khtml/ecma/kjs_binding.cpp:
              (KJS::valueToStringWithNullCheck):
              * khtml/ecma/kjs_css.cpp:
              (KJS::cssPropertyName):
              (KJS::DOMCSSStyleDeclaration::put):
              (KJS::DOMCSSStyleDeclarationProtoFunc::callAsFunction):
              (KJS::DOMStyleSheetList::nameGetter):
              (KJS::DOMStyleSheetList::getOwnPropertySlot):
              (KJS::DOMMediaList::put):
              (KJS::KJS::DOMMediaListProtoFunc::callAsFunction):
              (KJS::DOMCSSStyleSheetProtoFunc::callAsFunction):
              (KJS::DOMCSSRule::putValueProperty):
              (KJS::DOMCSSRuleFunc::callAsFunction):
              (KJS::DOMCSSValue::put):
              (KJS::DOMCSSPrimitiveValueProtoFunc::callAsFunction):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::putValueProperty):
              (KJS::DOMNode::toString):
              (KJS::DOMNodeProtoFunc::callAsFunction):
              (KJS::DOMEventTargetNodeProtoFunc::callAsFunction):
              (KJS::DOMNodeList::nameGetter):
              (KJS::DOMNodeList::getOwnPropertySlot):
              (KJS::DOMDocument::putValueProperty):
              (KJS::DOMDocumentProtoFunc::callAsFunction):
              (KJS::DOMElement::attributeGetter):
              (KJS::DOMElement::getOwnPropertySlot):
              (KJS::DOMNamedNodeMap::nameGetter):
              (KJS::DOMNamedNodeMap::getOwnPropertySlot):
              (KJS::DOMNamedNodeMapProtoFunc::callAsFunction):
              (KJS::DOMNamedNodesCollection::getOwnPropertySlot):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              (KJS::DOMEvent::getValueProperty):
              (KJS::DOMEventProtoFunc::callAsFunction):
              (KJS::DOMUIEventProtoFunc::callAsFunction):
              (KJS::DOMMouseEventProtoFunc::callAsFunction):
              (KJS::DOMKeyboardEventProtoFunc::callAsFunction):
              (KJS::Clipboard::putValueProperty):
              (KJS::ClipboardProtoFunc::callAsFunction):
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLDocFunction::callAsFunction):
              (KJS::JSHTMLDocument::namedItemGetter):
              (KJS::JSHTMLDocument::getOwnPropertySlot):
              (KJS::JSHTMLDocument::putValueProperty):
              (KJS::JSHTMLElement::framesetNameGetter):
              (KJS::JSHTMLElement::getOwnPropertySlot):
              (KJS::HTMLElementFunction::callAsFunction):
              (KJS::JSHTMLElement::putValueProperty):
              (KJS::JSHTMLCollection::callAsFunction):
              (KJS::JSHTMLCollection::getNamedItems):
              (KJS::HTMLCollectionProtoFunc::callAsFunction):
              (KJS::OptionConstructorImp::construct):
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Plugins::nameGetter):
              (KJS::Plugins::getOwnPropertySlot):
              (KJS::MimeTypes::nameGetter):
              (KJS::MimeTypes::getOwnPropertySlot):
              (KJS::Plugin::nameGetter):
              (KJS::Plugin::getOwnPropertySlot):
              * khtml/ecma/kjs_proxy.cpp:
              (WebCore::KJSProxy::evaluate):
              * khtml/ecma/kjs_range.cpp:
              (KJS::DOMRangeProtoFunc::callAsFunction):
              * khtml/ecma/kjs_views.cpp:
              (KJS::DOMAbstractViewProtoFunc::callAsFunction):
              * khtml/ecma/kjs_window.cpp:
              (KJS::parseModalDialogFeatures):
              (KJS::showModalDialog):
              (KJS::Window::childFrameGetter):
              (KJS::Window::namedFrameGetter):
              (KJS::Window::namedItemGetter):
              (KJS::Window::getOwnPropertySlot):
              (KJS::Window::put):
              (KJS::WindowFunc::callAsFunction):
              (KJS::ScheduledAction::execute):
              (KJS::Window::installTimeout):
              (KJS::FrameArray::nameGetter):
              (KJS::FrameArray::getOwnPropertySlot):
              (KJS::Location::put):
              (KJS::LocationFunc::callAsFunction):
              (KJS::SelectionFunc::callAsFunction):
              Removed explicit calls to domString(), sometimes replacing with explicit calls to the
              String() constructor. Other similar changes for AtomicString and DeprecatedString use.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d18e72a9
    • darin's avatar
      Reviewed by Anders. · bd62eba1
      darin authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=7875
                autogenerate bindings for Range
      
              * dom/Range.idl: Added.
              * khtml/ecma/kjs_range.cpp: Removed.
              * khtml/ecma/kjs_range.h: Removed.
      
              * WebCore.vcproj/WebCore/build-generated-files.sh: Removed code to generate
              kjs_range.lut.h.
      
              * WebCore.xcodeproj/project.pbxproj: Added Range.idl source file.
              Removed kjs_range.h and kjs_range.cpp source files. Sorted the "dom" group.
              Removed rule to generate kjs_range.lut.h.
      
              * bindings/js/JSDOMCore.cpp: Added include of JSRange.cpp.
      
              * bindings/scripts/CodeGeneratorJS.pm: Added DocumentFragment, Range, CompareHow,
              and short to the types this script can handle. Added code to generate toRange
              functions and the like. Added separate code to handle exceptions for getters
              vs. setters for attributes. Changed return values for the "bad ID" case to 0
              -- there's no need to generate the extra code to return jsUndefined() in such
              cases, which should be unreachable. Changed exception handling to use setDOMException
              directly instead of DOMExceptionTranslator; DOMExceptionTranslator was a trick
              to make it easier to convert existing bindings and shouldn't be used going
              forward. Fixed names of constructors to use the JavaScript class name (the
              interface name), not the name of the C++ implementation class. Fixed generation
              of code for functions that have no parameters but do raise exceptions.
      
              * bindings/scripts/IDLParser.pm: Added parsing for separate getter and setter
              exceptions in attributes. The syntax is not real IDL, but real IDL doesn't support
              declaring exceptions on attributes at all. We'll probably want to revisit our
              syntax for this some day.
      
              * bindings/scripts/IDLStructure.pm: Removed unused exceptionName field from
              domAttribute, and replaced raisesExceptions field with getterExceptions and
              setterExceptions. Added regular expressions for parsing getter/setter syntax.
              We'll probably have to redo this whole thing parse in a better way at some
              point -- the regular expressions allow any invalid syntax in between them.
      
              * dom/Attr.idl: Change exception declaration for setting the value attribute
              to use setter-specific exception syntax.
              * dom/CharacterData.idl: Change exception declaration for setting the data
              attribute to use setter-specific exception syntax.
              * dom/ProcessingInstruction.idl: Change exception declaration for setting the
              data attribute to use setter-specific exception syntax.
      
              * khtml/ecma/kjs_dom.cpp: Include JSRange.h instead of kjs_range.h.
              * khtml/ecma/kjs_window.cpp: Include JSRange.h instead of kjs_range.h.
              (KJS::Window::getValueProperty): Use JSRange::getConstructor instead of
              getRangeConstructor.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd62eba1
  28. 19 Mar, 2006 1 commit
  29. 16 Mar, 2006 2 commits
    • darin's avatar
      Oops, these files were supposed to go in. · ecc95eb8
      darin authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ecc95eb8
    • darin's avatar
      Reviewed by Hyatt. · 991c938e
      darin authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7749
                canvas should be in DOM, not implemented in the JS bindings
      
              * WebCore.xcodeproj/project.pbxproj: Added new files.
              Changed bindings-generation code to work on the new html directory
              as well as the dom one.
      
              * bindings/js/JSCanvasRenderingContext2DBase.cpp: Added.
              * bindings/js/JSCanvasRenderingContext2DBase.h: Added.
              * bindings/js/JSDOMHTML.cpp: Added.
              * html: Added.
              * html/CanvasGradient.cpp: Added.
              * html/CanvasGradient.h: Added.
              * html/CanvasGradient.idl: Added.
              * html/CanvasPattern.cpp: Added.
              * html/CanvasPattern.h: Added.
              * html/CanvasPattern.idl: Added.
              * html/CanvasRenderingContext2D.cpp: Added.
              * html/CanvasRenderingContext2D.h: Added.
              * html/CanvasRenderingContext2D.idl: Added.
              * html/CanvasStyle.cpp: Added.
              * html/CanvasStyle.h: Added.
      
              * bindings/js/JSDOMCore.cpp: Touched so that it will recompile.
              * bindings/js/JSDOMEvents.cpp: Ditto.
              * dom/Attr.idl: Ditto.
              * dom/DOMImplementation.idl: Ditto.
              * dom/DocumentType.idl: Ditto.
              * dom/MutationEvent.idl: Ditto.
              * dom/ProcessingInstruction.idl: Ditto.
              * dom/Text.idl: Ditto.
      
              * khtml/ecma/kjs_binding.h: (KJS::toJS): Added. Template so that you can call
              toJS on a PassRefPtr as well as on a raw pointer.
      
              * bindings/scripts/CodeGeneratorJS.pm: Fixed handling of a class that has only
              a legacy parent, no conventional parents. Added JSCanvasRenderingContext2DBase
              as a legacy parent, and html as a legacy module. Added CanvasRenderingContext2D,
              CanvasGradient, and CanvasPattern to the "waht to include". Added a special
              case for strings beginning with Canvas to not add an "Impl" suffix. Made the
              generated impl() function be a const member function. Made m_mimpl be private
              instead of protected. Generate a toJS function for each class. Added flaot as
              a type. Generate String, not DOMString. Made the HashTable const.
      
              * bindings/scripts/IDLParser.pm: Fix a couple small things. I had started to
              try to make a missing semicolon trigger an error, but ended up giving up on
              that for now.
      
              * khtml/html/html_canvasimpl.h:
              * khtml/html/html_canvasimpl.cpp:
              (WebCore::HTMLCanvasElementImpl::HTMLCanvasElementImpl): Set m_2DContext to 0.
              (WebCore::HTMLCanvasElementImpl::~HTMLCanvasElementImpl): Call detachCanvas
              on m_2DContext, if any.
              (WebCore::HTMLCanvasElementImpl::detach): Call reset on m_2DContext, if any.
              (WebCore::HTMLCanvasElementImpl::getContext): Added.
              (WebCore::HTMLCanvasElementImpl::size): Added.
              (WebCore::HTMLCanvasElementImpl::createPlatformImage): Added.
      
              * platform/Image.h:
              * platform/Image.cpp: (WebCore::Image::compositeOperatorFromString):
              Changed to take a String instead of a const char*.
      
              * khtml/html/html_imageimpl.h:
              * khtml/html/html_imageimpl.cpp: (WebCore::HTMLMapElementImpl::areas):
              Tweaked formatting. Changed to use PassRefPtr.
      
              * bindings/objc/DOMInternal.mm: (-[WebScriptObject _initializeScriptDOMNodeImp]):
              * khtml/ecma/JSXMLHttpRequest.cpp: (KJS::JSXMLHttpRequest::getValueProperty):
              * khtml/ecma/XSLTProcessor.cpp: (KJS::XSLTProcessorProtoFunc::callAsFunction):
              * khtml/ecma/domparser.cpp: (KJS::DOMParserProtoFunc::callAsFunction):
              * khtml/ecma/kjs_css.cpp:
              (KJS::DOMCSSStyleDeclaration::getValueProperty):
              (KJS::DOMCSSStyleDeclarationProtoFunc::callAsFunction):
              (KJS::toJS):
              (KJS::DOMStyleSheet::getValueProperty):
              (KJS::DOMStyleSheetList::indexGetter):
              (KJS::DOMStyleSheetList::nameGetter):
              (KJS::DOMStyleSheetListFunc::callAsFunction):
              (KJS::DOMCSSStyleSheet::getValueProperty):
              (KJS::DOMCSSRuleList::indexGetter):
              (KJS::DOMCSSRuleListFunc::callAsFunction):
              (KJS::DOMCSSRule::getValueProperty):
              (KJS::DOMCSSPrimitiveValueProtoFunc::callAsFunction):
              (KJS::DOMCSSValueList::indexGetter):
              (KJS::DOMCSSValueListFunc::callAsFunction):
              (KJS::DOMRect::getValueProperty):
              * khtml/ecma/kjs_css.h:
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::getValueProperty):
              (KJS::DOMNodeProtoFunc::callAsFunction):
              (KJS::DOMNodeList::indexGetter):
              (KJS::DOMNodeList::nameGetter):
              (KJS::DOMNodeList::callAsFunction):
              (KJS::DOMNodeListFunc::callAsFunction):
              (KJS::DOMDocument::getValueProperty):
              (KJS::DOMDocumentProtoFunc::callAsFunction):
              (KJS::DOMNamedNodeMap::indexGetter):
              (KJS::DOMNamedNodeMap::nameGetter):
              (KJS::DOMNamedNodeMapProtoFunc::callAsFunction):
              (KJS::toJS):
              (KJS::DOMNamedNodesCollection::indexGetter):
              * khtml/ecma/kjs_dom.h:
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              (KJS::JSLazyEventListener::parseCode):
              (KJS::DOMEvent::getValueProperty):
              (KJS::toJS):
              (KJS::DOMUIEvent::getValueProperty):
              (KJS::DOMMouseEvent::getValueProperty):
              * khtml/ecma/kjs_events.h:
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLDocFunction::callAsFunction):
              (KJS::HTMLDocument::namedItemGetter):
              (KJS::HTMLDocument::getValueProperty):
              (KJS::HTMLDocument::put):
              (KJS::HTMLDocument::putValueProperty):
              (KJS::HTMLElement::classInfo):
              (KJS::HTMLElement::formIndexGetter):
              (KJS::HTMLElement::selectIndexGetter):
              (KJS::HTMLElement::implementsCall):
              (KJS::HTMLElement::callAsFunction):
              (KJS::HTMLElement::linkGetter):
              (KJS::HTMLElement::isIndexGetter):
              (KJS::HTMLElement::styleGetter):
              (KJS::HTMLElement::selectGetter):
              (KJS::HTMLElement::optionGetter):
              (KJS::HTMLElement::inputGetter):
              (KJS::HTMLElement::textAreaGetter):
              (KJS::HTMLElement::buttonGetter):
              (KJS::HTMLElement::labelGetter):
              (KJS::HTMLElement::fieldSetGetter):
              (KJS::HTMLElement::legendGetter):
              (KJS::HTMLElement::objectGetter):
              (KJS::HTMLElement::tableGetter):
              (KJS::HTMLElement::frameGetter):
              (KJS::HTMLElement::iFrameGetter):
              (KJS::HTMLElement::getValueProperty):
              (KJS::HTMLElement::toString):
              (KJS::HTMLElement::pushEventHandlerScope):
              (KJS::toJS):
              (KJS::HTMLElementFunction::callAsFunction):
              (KJS::HTMLElement::put):
              (KJS::HTMLCollection::indexGetter):
              (KJS::HTMLCollection::callAsFunction):
              (KJS::HTMLCollection::getNamedItems):
              (KJS::HTMLCollectionProtoFunc::callAsFunction):
              (KJS::HTMLSelectCollection::put):
              (KJS::OptionConstructorImp::construct):
              (KJS::ImageConstructorImp::construct):
              * khtml/ecma/kjs_html.h:
              * khtml/ecma/kjs_proxy.cpp: (WebCore::KJSProxyImpl::evaluate):
              * khtml/ecma/kjs_range.cpp:
              (KJS::DOMRange::getValueProperty):
              (KJS::DOMRangeProtoFunc::callAsFunction):
              (KJS::toJS):
              * khtml/ecma/kjs_range.h:
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::DOMNodeIterator::getValueProperty):
              (KJS::DOMNodeIteratorProtoFunc::callAsFunction):
              (KJS::toJS):
              (KJS::DOMTreeWalker::getValueProperty):
              (KJS::DOMTreeWalkerProtoFunc::callAsFunction):
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/ecma/kjs_traversal.h:
              * khtml/ecma/kjs_views.cpp:
              (KJS::DOMAbstractView::getValueProperty):
              (KJS::DOMAbstractViewProtoFunc::callAsFunction):
              (KJS::toJS):
              * khtml/ecma/kjs_views.h:
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::getValueProperty):
              (KJS::Window::namedItemGetter):
              (KJS::Selection::getValueProperty):
              (KJS::SelectionFunc::callAsFunction):
              Rename uses and definitions of all the various converstions to JavaScript
              wrappers to the new common overloaded name: "toJS".
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      991c938e
  30. 06 Mar, 2006 1 commit
    • darin's avatar
      Reviewed by Maciej. · 8d1badc7
      darin authored
              - moved all the remnants of the public C++ DOM API out of khtml/dom
              - changed from "int" to "ExceptionCode" for DOM exceptions
              - removed unused CSS_HTML_RELATIVE
              - changed offsetInCharacters to be a member function of NodeImpl
              - changed DOM functions that take a NodeType to use NodeType instead of
                unsigned short for clarity (will still be unsigned short in bindings)
              - changed exception constants so they can be used directly in the
                implementation code (added in the offsets for different types of exceptions)
              - replaced the eventListenerType function with an isHTMLEventListener function
              - got rid of EventListenerEvent, which is a synonym for EventImpl*
              - eliminated handleEventImpl, whish is now the same as handleEvent
      
              - did other preparation for the "remove Impl suffix" renaming
                (tested by using a script that does the renaming)
      
              * khtml/dom/css_rule.h: Removed.
              * khtml/dom/css_stylesheet.h: Removed.
              * khtml/dom/css_value.h: Removed.
              * khtml/dom/dom2_events.cpp: Removed.
              * khtml/dom/dom2_events.h: Removed.
              * khtml/dom/dom2_range.h: Removed.
              * khtml/dom/dom2_traversal.cpp: Removed.
              * khtml/dom/dom2_traversal.h: Removed.
              * khtml/dom/dom_exception.h: Removed.
              * khtml/dom/dom_node.h: Removed.
      
              * dom/EventListener.h: Added.
              * dom/ExceptionCode.h: Added.
      
              * WebCore+SVG/kdom.h: Removed NodeType and ExceptionCodes
              * WebCore+SVG/kdomevents.h: Removed.
      
              * WebCore.xcodeproj/project.pbxproj: Updated for file changes.
              * WebCore.xcodeproj/project.pbxproj: Updated for file changes.
      
              * bindings/scripts/CodeGeneratorJS.pm: Removed unneeded DOM:: prefix. Updated file
              names and exception prefix for changes in DOM exceptions.
      
              * bindings/js/JSDOMCore.cpp: Touched to cause auto-generated code to be
              recompiled. We need to get this fixed!
              * bindings/js/JSDOMEvents.cpp: Ditto.
      
              * dom/Attr.idl:
              * dom/CharacterData.idl:
              * dom/DOMImplementation.idl:
              * dom/DocumentType.idl:
              * dom/Element.idl:
              * dom/Entity.idl:
              * dom/MutationEvent.idl:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.idl:
              * dom/Text.idl:
              * dom/WheelEvent.idl:
              Touched all IDL files so that changes in CodeGeneratorJS.pm would take effect.
              Added license headers.
      
              * bindings/objc/DOM.mm: Fixed garbled license agreement. Updated includes.
              Changed from a single "using namespace WebCore" to individual using statements
              because of the imminent conflict between DOMImplementation in Objective C
              and WebCore::DOMImplementation (currently has an Impl suffix). Added a typedef
              for WebCore::DOMImplementationImpl. Changed to use ExceptionCode instead of int.
      
              * bindings/objc/DOMCSS.h: Removed DOMCSSException and the special CSS exception
              codes. This is a feature of DOM Level 1 only. In DOM Level 2 these were eliminated
              and use basic DOM exception codes instead. We might have to do something for binary
              compatibility eventually, but perhaps not.
      
              * bindings/objc/DOMCSS.mm:
              * bindings/objc/DOMEvents.mm:
              * bindings/objc/DOMEventsInternal.h:
              * bindings/objc/DOMHTML.mm:
              * bindings/objc/DOMHTMLInternal.h:
              * bindings/objc/DOMViews.mm:
              * bindings/objc/DOMViewsInternal.h:
              Fixed garbled license agreements.
              Changed to use ExceptionCode instead of int and name the variable "ec".
      
              * bindings/objc/DOMInternal.h: Changed addDOMWrapperImpl to take NSObject* instead
              of id. This helps with overload resolution when addDOMWrapperImpl is renamed to be
              addDOMWrapper. Changed ALLOW_DOM_CAST to always use "class" in from of the type name
              of the WebCore class. This helps work around what seems like a bug in namespace support
              in Objective-C mode, although the bug only happens after the "remove Impl" renaming.
              * bindings/objc/DOMInternal.mm:
              (getDOMWrapperImpl): Changed to use HashMap.
              (addDOMWrapperImpl): Ditto.
              (removeDOMWrapper): Ditto.
              (raiseDOMException): Update to use new names for exception number ranges.
      
              * bridge/mac/WebCoreFrameBridge.mm:
              * khtml/ecma/xmlserializer.cpp:
              * kwq/KWQAccObject.mm:
              Removed unneeded includes.
      
              * css/css_ruleimpl.h: Moved "rule type" into this header.
      
              * dom/CommentImpl.h:
              * dom/CommentImpl.cpp: (WebCore::CommentImpl::offsetInCharacters): Added. Returns true.
      
              * khtml/ecma/XSLTProcessor.cpp: (KJS::XSLTProcessorProtoFunc::callAsFunction):
              Changed this around so we don't have a local variable named docImpl.
      
              * khtml/ecma/kjs_binding.cpp: (KJS::setDOMException): Updated for new form of exception
              constants.
      
              * khtml/ecma/kjs_events.h:
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent): Changed to no longer use EventListenerEvent.
              (KJS::JSAbstractEventListener::isHTMLEventListener): Added.
      
              * rendering/RenderTextField.h: Updated includes. Tweaked the code formatting of
              InputMutationListener. (Might be unnecessary since this class might be deleted soon.)
      
              * bridge/mac/MacFrame.mm:
              * css/css_computedstyle.cpp:
              * css/css_computedstyle.h:
              * css/css_ruleimpl.cpp:
              * css/css_stylesheetimpl.cpp:
              * css/css_stylesheetimpl.h:
              * css/css_valueimpl.cpp:
              * css/css_valueimpl.cpp:
              * css/css_valueimpl.h:
              * css/css_valueimpl.h:
              * css/cssparser.cpp:
              * css/cssstyleselector.cpp:
              * dom/CDATASectionImpl.cpp:
              * dom/CDATASectionImpl.h:
              * dom/CharacterDataImpl.cpp:
              * dom/CharacterDataImpl.h:
              * dom/ContainerNodeImpl.cpp:
              * dom/DOMImplementationImpl.cpp:
              * dom/DocumentFragmentImpl.cpp:
              * dom/DocumentFragmentImpl.h:
              * dom/DocumentImpl.cpp:
              * dom/DocumentImpl.h:
              * dom/DocumentTypeImpl.cpp:
              * dom/DocumentTypeImpl.h:
              * dom/NamedNodeMapImpl.h:
              * dom/NodeImpl.cpp:
              * dom/NodeImpl.h:
              * dom/NodeListImpl.cpp:
              * dom/TextImpl.cpp:
              * dom/TextImpl.h:
              * dom/dom2_eventsimpl.cpp:
              * dom/dom2_eventsimpl.h:
              * dom/dom2_rangeimpl.cpp:
              * dom/dom2_rangeimpl.h:
              * dom/dom2_traversalimpl.cpp:
              * dom/dom2_traversalimpl.h:
              * dom/dom_elementimpl.cpp:
              * dom/dom_elementimpl.h:
              * dom/dom_position.cpp:
              * dom/dom_xmlimpl.cpp:
              * dom/dom_xmlimpl.h:
              * dom/xml_tokenizer.cpp:
              * editing/AppendNodeCommand.cpp:
              * editing/ApplyStyleCommand.cpp:
              * editing/CompositeEditCommand.cpp:
              * editing/DeleteFromTextNodeCommand.cpp:
              * editing/InsertIntoTextNodeCommand.cpp:
              * editing/InsertLineBreakCommand.cpp:
              * editing/InsertNodeBeforeCommand.cpp:
              * editing/InsertParagraphSeparatorCommand.cpp:
              * editing/JoinTextNodesCommand.cpp:
              * editing/MergeIdenticalElementsCommand.cpp:
              * editing/RemoveNodeAttributeCommand.cpp:
              * editing/RemoveNodeCommand.cpp:
              * editing/ReplaceSelectionCommand.cpp:
              * editing/Selection.cpp:
              * editing/SelectionController.cpp:
              * editing/SelectionController.h:
              * editing/SetNodeAttributeCommand.cpp:
              * editing/SplitElementCommand.cpp:
              * editing/SplitTextNodeCommand.cpp:
              * editing/VisiblePosition.cpp:
              * editing/WrapContentsInDummySpanCommand.cpp:
              * editing/htmlediting.cpp:
              * editing/markup.cpp:
              * editing/visible_text.cpp:
              * khtml/ecma/kjs_binding.h:
              * khtml/ecma/kjs_css.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_html.cpp:
              * khtml/ecma/kjs_range.cpp:
              * khtml/ecma/kjs_traversal.cpp:
              * khtml/ecma/kjs_traversal.h:
              * khtml/ecma/kjs_window.cpp:
              * khtml/html/HTMLElementImpl.cpp:
              * khtml/html/HTMLOptionElementImpl.cpp:
              * khtml/html/HTMLOptionElementImpl.h:
              * khtml/html/HTMLOptionsCollectionImpl.cpp:
              * khtml/html/HTMLSelectElementImpl.cpp:
              * khtml/html/HTMLTextAreaElementImpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_documentimpl.h:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/html_tableimpl.h:
              * khtml/html/htmlparser.cpp:
              * khtml/xbl/xbl_tokenizer.cpp:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * ksvg2/misc/SVGDocumentExtensions.cpp:
              * ksvg2/svg/SVGAnimationElementImpl.cpp:
              * ksvg2/svg/SVGDOMImplementationImpl.cpp:
              * ksvg2/svg/SVGDOMImplementationImpl.h:
              * ksvg2/svg/SVGDocumentImpl.cpp:
              * ksvg2/svg/SVGDocumentImpl.h:
              * ksvg2/svg/SVGElementImpl.cpp:
              * ksvg2/svg/SVGLengthImpl.cpp:
              * ksvg2/svg/SVGLocatableImpl.cpp:
              * ksvg2/svg/SVGPolyElementImpl.cpp:
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              * ksvg2/svg/SVGStyleElementImpl.cpp:
              * ksvg2/svg/SVGStyleElementImpl.h:
              * ksvg2/svg/SVGUseElementImpl.cpp:
              * page/Frame.cpp:
              * page/FrameView.cpp:
              * rendering/render_object.cpp:
              * xml/xmlhttprequest.cpp:
              Changed to use ExceptionCode instead of int and name the variable "ec".
              Also updated use of exception codes and other constants to get them from
              their new locations.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d1badc7
  31. 05 Mar, 2006 1 commit
    • ggaren's avatar
      JavaScriptCore: · 77d8fc4c
      ggaren authored
              Reviewed by Maciej.
      
              - JSC support for the fix for <rdar://problem/4467143> JavaScript 
              enumeration of HTML element properties skips DOM node properties
      
              * kjs/lookup.h: 
              (1) Added the KJS_DEFINE_PROTOTYPE_WITH_PROTOTYPE macro. The 
              class definiton macro needs to know about the prototype's prototype so 
              that the class constructor properly sets it. 
              (2) Removed the KJS_IMPLEMENT_PROTOTYPE_WITH_PARENT macro. The class
              implementation macro does not need to know about the prototype's
              prototype, since getOwnPropertySlot should only look in the current 
              object's property map, and not its prototype's.
      
      LayoutTests:
      
              Reviewed by Maciej.
      
              - Layout test for <rdar://problem/4467143> JavaScript enumeration of 
              HTML element properties skips DOM node properties
      
              * fast/dom/prototype-chain-expected.txt: Added.
              * fast/dom/prototype-chain.html: Added.
      
      WebCore:
      
              Reviewed by Maciej.
      
              - Second cut at fixing <rdar://problem/4467143> JavaScript enumeration 
              of HTML element properties skips DOM node properties
       
              The approach here is for prototypes, in their constructor methods, 
              to set their own prototypes, preserving the prototype 
              chain in cases of multiple levels of inheritance. (Previously, our
              code assumed that a prototype never had a prototype of its own,
              and always used an empty object as a prototype's prototype).
      
              * bindings/scripts/CodeGeneratorJS.pm: Use the new
              DEFINE_PROTOTYPE_WITH_PROTOTYPE macro in place of the  
              KJS_IMPLEMENT_PROTOTYPE_WITH_PARENT macro.
              * khtml/ecma/kjs_dom.cpp: Ditto.
              * khtml/ecma/kjs_dom.h: Ditto.
              * khtml/ecma/kjs_events.cpp: Ditto.
      
              Touched these files to force a rebuild:
      
              * bindings/js/JSDOMCore.cpp:
              * bindings/js/JSDOMEvents.cpp:
              * dom/Attr.idl:
              * dom/CharacterData.idl:
              * dom/DOMImplementation.idl:
              * dom/DocumentType.idl:
              * dom/Element.idl:
              * dom/Entity.idl:
              * dom/MutationEvent.idl:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.idl:
              * dom/Text.idl:
              * dom/WheelEvent.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77d8fc4c
  32. 09 Feb, 2006 1 commit
    • mjs's avatar
      Rubber-stamped by Hyatt. · b1742373
      mjs authored
              
              - moved khtml/xml to dom
      
              * dom: moved from khtml/xml
              * WebCore.xcodeproj/project.pbxproj: Updated for new file locations.
              * WebCore+SVG/KDOMHeaders.h: Updated for new header locations.
              * dom/dom2_rangeimpl.cpp: ditto
              * dom/dom2_traversalimpl.cpp: ditto
              * dom/dom_textimpl.cpp: ditto
              * dom/dom_xmlimpl.cpp: ditto
              * khtml/dom/dom2_events.cpp: ditto
              * khtml/ecma/kjs_binding.cpp: ditto
              * khtml/ecma/kjs_dom.cpp: ditto
              * khtml/ecma/kjs_events.cpp: ditto
              * khtml/ecma/kjs_html.cpp: ditto
              * khtml/ecma/kjs_range.cpp: ditto
              * khtml/ecma/kjs_views.cpp: ditto
              * khtml/editing/Selection.cpp: ditto
              * khtml/editing/SelectionController.cpp: ditto
              * khtml/editing/delete_from_text_node_command.cpp: ditto
              * khtml/editing/edit_command.cpp: ditto
              * khtml/editing/insert_into_text_node_command.cpp: ditto
              * khtml/editing/insert_line_break_command.cpp: ditto
              * khtml/editing/insert_paragraph_separator_command.cpp: ditto
              * khtml/editing/insert_text_command.cpp: ditto
              * khtml/editing/join_text_nodes_command.cpp: ditto
              * khtml/editing/markup.cpp: ditto
              * khtml/editing/merge_identical_elements_command.cpp: ditto
              * khtml/editing/rebalance_whitespace_command.cpp: ditto
              * khtml/editing/remove_node_attribute_command.cpp: ditto
              * khtml/editing/set_node_attribute_command.cpp: ditto
              * khtml/editing/split_element_command.cpp: ditto
              * khtml/editing/split_text_node_command.cpp: ditto
              * khtml/editing/split_text_node_containing_element.cpp: ditto
              * khtml/editing/visible_position.cpp: ditto
              * khtml/editing/visible_position.h: ditto
              * khtml/editing/visible_text.cpp: ditto
              * khtml/editing/visible_text.h: ditto
              * khtml/editing/visible_units.cpp: ditto
              * khtml/editing/wrap_contents_in_dummy_span_command.cpp: ditto
              * khtml/html/HTMLElementImpl.h: ditto
              * khtml/html/html_documentimpl.cpp: ditto
              * khtml/html/html_headimpl.cpp: ditto
              * khtml/xbl/xbl_binding_manager.cpp: ditto
              * khtml/xbl/xbl_tokenizer.cpp: ditto
              * khtml/xbl/xbl_tokenizer.h: ditto
              * ksvg2/svg/SVGAElementImpl.cpp: ditto
              * rendering/InlineTextBox.cpp: ditto
              * rendering/RenderContainer.cpp: ditto
              * rendering/RenderText.h: ditto
              * rendering/RenderTextField.cpp: ditto
              * rendering/render_frames.cpp: ditto
              * rendering/render_layer.cpp: ditto
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b1742373
  33. 06 Feb, 2006 1 commit
    • andersca's avatar
      2006-02-05 Anders Carlsson <andersca@mac.com> · 555a6d7b
      andersca authored
              Reviewed by Maciej.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=7091
              Autogenerate even more.
      
              * JSCore.cpp:
              Add new generated files.
              
              * bindings/scripts/CodeGeneratorJS.pm:
              Add "IsIndex" extended attribute for parameters. Any parameter that is "unsigned long" 
              and has this attribute will be checked to make sure that it's not < 0. If it is, an index size error
              exception will be thrown.
              
              * khtml/ecma/kjs_dom.cpp:
              (KJS::toAttr):
              Use JSAttr::info.
              
              (KJS::getDOMNode):
              Use new constructors.
              
              * khtml/ecma/kjs_dom.h:
              Remove classes that are generated now.
              
              * khtml/xml/Attr.idl: Added.
              * khtml/xml/CharacterData.idl: Added.
              * khtml/xml/Entity.idl: Added.
              * khtml/xml/Notation.idl: Added.
              * khtml/xml/ProcessingInstruction.idl: Added.
              * khtml/xml/Text.idl: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      555a6d7b