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. 15 Apr, 2013 1 commit
    • mjs@apple.com's avatar
      Remove V8-specific extended attributes from IDL files · 27089042
      mjs@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114523
      
      Reviewed by Geoffrey Garen.
      
      No tests because no behavior change is expected.
      
      * Modules/encryptedmedia/MediaKeyMessageEvent.idl:
      * Modules/encryptedmedia/MediaKeyNeededEvent.idl:
      * Modules/encryptedmedia/MediaKeySession.idl:
      * Modules/encryptedmedia/MediaKeys.idl:
      * Modules/filesystem/HTMLInputElementFileSystem.idl:
      * Modules/indexeddb/IDBAny.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBuffer.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/MediaStream.idl:
      * Modules/webaudio/AudioDestinationNode.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackCueList.idl:
      * html/track/TextTrackList.idl:
      * html/track/TextTrackRegion.idl:
      * html/track/TextTrackRegionList.idl:
      * html/track/TrackEvent.idl:
      * storage/Storage.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElement.idl:
      * workers/WorkerContext.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XPathNSResolver.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27089042
  3. 08 Feb, 2013 1 commit
    • jer.noble@apple.com's avatar
      Bring WebKit up to speed with latest Encrypted Media spec. · 09c10fbf
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97037
      
      Reviewed by Eric Carlson.
      
      Source/JavaScriptCore:
      
      Define the ENABLE_ENCRYPTED_MEDIA_V2 setting.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      The most recent version of the Encrypted Media Extensions spec breaks functionality out of the
      HTMLMediaElement and into new MediaKeys and MediaKeySession classes. Since the CDM functionality
      has been pulled out of the media element, we create a proxy CDM class and factory system for
      creating specific CDM key system implementations. The spec also breaks out MediaKeyEvent
      into distinct event classes, MediaKeyNeededEvent and MediaKeyMessageEvent, for needkey and
      keymessage events, respectively.
      
      Tests: media/encrypted-media/encrypted-media-v2-events.html
             media/encrypted-media/encrypted-media-v2-syntax.html
      
      CDM is a proxy class (a la MediaPlayer) for a specific CDMPrivateInterface implementation. A CDM
      implementation is registered with the CDMFactory and will be created if that implementation supports
      the key system passed into the MediaKeys constructor. CDMSession is a pure-virtual interface exposed
      by concrete CDMPrivate subclasses.  Its lifetime is owned by MediaKeySession.
      * Modules/encryptedmedia/CDM.cpp: Added.
      (WebCore::installedCDMFactories): Initialize all the known CDM subtypes. Ports will add CDM implementations here.
      (WebCore::CDM::registerCDMFactory): Registers a new CDMFactory using the passed in function pointers.
      (WebCore::CDMFactoryForKeySystem): Return the first CDM factory which supports the requested key system.
      (WebCore::CDM::supportsKeySystem): Walk the installed CDMs and ask if the given key system is supported.
      (WebCore::CDM::supportsKeySystemMIMETypeAndCodec): Ditto, with an additional MIME type and codec string.
      (WebCore::CDM::create): Simple constructor wrapper.
      (WebCore::CDM::CDM): Simple constructor; calls bestCDMForKeySystem() to create it's private implementation.
      (WebCore::CDM::~CDM): Simple destructor.
      (WebCore::CDM::createSession): Creates a new CDMSession.
      * Modules/encryptedmedia/CDM.h: Added.
      (WebCore::CDM::keySystem): Simple accessor for m_keySystem.
      (WebCore::CDMSession::CDMSession): Simple constructor.
      (WebCore::CDMSession::~CDMSession): Simple destructor.
      * Modules/encryptedmedia/CDMPrivate.h: Added.
      (WebCore::CDMPrivateInterface::CDMPrivateInterface): Simple constructor.
      (WebCore::CDMPrivateInterface::~CDMPrivateInterface): Simple destructor.
      
      The new classes, MediaKeyMessageEvent and MediaKeyNeededEvent, take distinct subsets of the initializers of
      the original MediaKeyMessageEvent.
      * Modules/encryptedmedia/MediaKeyMessageEvent.cpp: Copied from Source/WebCore/html/MediaKeyEvent.cpp.
      (WebCore::MediaKeyMessageEventInit::MediaKeyMessageEventInit): Initializer now only takes message and destinationURL
          parameters.
      (WebCore::MediaKeyMessageEvent::MediaKeyMessageEvent): Simple constructor.
      (WebCore::MediaKeyMessageEvent::~MediaKeyMessageEvent): Simple destructor.
      (WebCore::MediaKeyMessageEvent::interfaceName): Standard interfaceName.
      * Modules/encryptedmedia/MediaKeyMessageEvent.h: Copied from Source/WebCore/html/MediaKeyEvent.h.
      (WebCore::MediaKeyMessageEvent::create): Simple construction wrapper.
      (WebCore::MediaKeyMessageEvent::message): Simple accessor for m_message.
      (WebCore::MediaKeyMessageEvent::destinationURL): Simple accessor for m_destinationURL.
      * Modules/encryptedmedia/MediaKeyMessageEvent.idl: Copied from Source/WebCore/html/MediaKeyEvent.idl.
      * Modules/encryptedmedia/MediaKeyNeededEvent.cpp: Copied from Source/WebCore/html/MediaKeyEvent.h.
      (WebCore::MediaKeyNeededEventInit::MediaKeyNeededEventInit): Initializer now only takes initData parameter.
      (WebCore::MediaKeyNeededEvent::MediaKeyNeededEvent): Simple constructor.
      (WebCore::MediaKeyNeededEvent::~MediaKeyNeededEvent): Simple destructor.
      (WebCore::MediaKeyNeededEvent::interfaceName): Standard interfaceName.
      * Modules/encryptedmedia/MediaKeyNeededEvent.h: Copied from Source/WebCore/html/MediaKeyEvent.h.
      (WebCore::MediaKeyNeededEvent::create): Simple construction wrapper.
      (WebCore::MediaKeyNeededEvent::initData): Simple accessor for m_initData.
      * Modules/encryptedmedia/MediaKeyNeededEvent.idl: Copied from Source/WebCore/html/MediaKeyEvent.idl.
      
      MediaKeySession is a new class that maps keys and key requests to a given session ID:
      * Modules/encryptedmedia/MediaKeySession.cpp: Added.
      (WebCore::MediaKeySession::create): Simple construction wrapper.
      (WebCore::MediaKeySession::MediaKeySession): Simple constructor.
      (WebCore::MediaKeySession::~MediaKeySession): Simple destructor; calls close().
      (WebCore::MediaKeySession::setError): Simple setter for m_error;
      (WebCore::MediaKeySession::close): Tell the CDM to clear any saved session keys.
      (WebCore::MediaKeySession::generateKeyRequest): Start a one-shot timer, handled in keyRequestTimerFired.
      (WebCore::MediaKeySession::keyRequestTimerFired): Follow the steps in the spec; ask the CDM to generate a key request.
      (WebCore::MediaKeySession::addKey): Start a one-shot timer, handled in addKeyTimerFired.
      (WebCore::MediaKeySession::addKeyTimerFired): Follow the steps in the spec; provide the key data to the CDM.
      * Modules/encryptedmedia/MediaKeySession.h: Added.
      (WebCore::MediaKeySession::keySystem): Simple accessor for m_keySystem.
      (WebCore::MediaKeySession::sessionId): Simple accessor for m_sessionId.
      (WebCore::MediaKeySession::error): Simple accessor for m_error;
      * Modules/encryptedmedia/MediaKeySession.idl:
      
      MediaKeySession inherits from EventTarget, and must override the pure virtual functions in that class:
      * Modules/encryptedmedia/MediaKeySession.cpp: Added.
      (WebCore::MediaKeySession::interfaceName):
      * Modules/encryptedmedia/MediaKeySession.h: Added.
      (WebCore::MediaKeySession::refEventTarget):
      (WebCore::MediaKeySession::derefEventTarget):
      (WebCore::MediaKeySession::eventTargetData):
      (WebCore::MediaKeySession::ensureEventTargetData):
      (WebCore::MediaKeySession::scriptExecutionContext):
      
      MediaKeys is a new class that encapsulates a CDM and a number of key sessions:
      * Modules/encryptedmedia/MediaKeys.cpp: Added.
      (WebCore::MediaKeys::create): Throw an exception if the key system parameter is unsupported; create a CDM object
          and a new MediaKeys session.
      (WebCore::MediaKeys::MediaKeys): Simple constructor.
      (WebCore::MediaKeys::~MediaKeys): Simple destructor.
      (WebCore::MediaKeys::createSession): Follow the spec and create a new key session.
      * Modules/encryptedmedia/MediaKeys.h: Added.
      * Modules/encryptedmedia/MediaKeys.idl: Copied from Source/WebCore/html/MediaError.idl.
      
      Provide a new interface to HTMLMediaElement for MediaPlayer which does not require a sessionId or a key system:
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::mediaPlayerKeyNeeded):
      * platform/graphics/MediaPlayer.cpp:
      (WebCore::MediaPlayer::keyNeeded):
      
      MediaKeyError now has a systemCode parameter and member variable.
      * html/MediaKeyError.h:
      (WebCore::MediaKeyError::create): Take a systemCode parameter with a default (0) value.
      (WebCore::MediaKeyError::MediaKeyError): Ditto.
      (WebCore::MediaKeyError::systemCode): Simple accessor for m_systemCode.
      * html/MediaKeyError.idl:
      
      Add new methods to HTMLMediaElement to support MediaKeys. Support different initializer
      for the MediaKeyNeededEvent.
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::setMediaKeys): Simple setter for m_mediaKeys.
      (WebCore::HTMLMediaElement::mediaPlayerKeyNeeded): This version takes fewer parameters
          than the deprecated version.
      * html/HTMLMediaElement.h:
      (WebCore::HTMLMediaElement::mediaKeys): Simple accessor for m_mediaKeys.
      * html/HTMLMediaElement.idl: Add the mediaKeys attribute.
      
      Add an ENABLE(ENCRYPTED_MEDIA_V2) check to the existing ENABLE(ENCRYPTED_MEDIA) one:
      * html/MediaError.h:
      * html/MediaError.idl:
      * platform/graphics/MediaPlayer.cpp:
      (WebCore::bestMediaEngineForTypeAndCodecs):
      (WebCore::MediaPlayer::supportsType):
      * platform/graphics/MediaPlayer.h:
      (WebCore::MediaPlayer::keyNeeded): This version takes fewer parameters than the
          deprecated version.
      
      Support the new version of canPlayType which takes an extra parameter:
      * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
      * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
      (WebCore::MediaPlayerPrivateAVFoundationObjC::registerMediaEngine):
      (WebCore::MediaPlayerPrivateAVFoundationObjC::extendedSupportsType):
      * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
      * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
      (WebCore::MediaPlayerPrivateQTKit::registerMediaEngine):
      (WebCore::MediaPlayerPrivateQTKit::extendedSupportsType):
      
      Add a mock CDM for use within DRT and WKTR to test the MediaKeys and MediaKeySession
      APIs and events:
      * testing/Internals.cpp:
      (WebCore::Internals::initializeMockCDM): Add the MockCDM class to the CDM factories.
      * testing/Internals.h:
      * testing/Internals.idl: Add the initializeMockCDM() method.
      * testing/MockCDM.cpp: Added.
      (WebCore::MockCDM::supportsKeySystem): Only supports the 'com.webcore.mock' key system.
      (WebCore::MockCDM::supportsMIMEType): Only supports the 'video/mock' mime type.
      (WebCore::initDataPrefix): Static method which returns a Uint8Array containing 'mock'.
      (WebCore::keyPrefix): Static method which returns a Uint8Array containing 'key'.
      (WebCore::keyRequest): Static method which returns a Uint8Array containing 'request'.
      (WebCore::generateSessionId): Return a monotonically increasing number.
      (WebCore::MockCDMSession::MockCDMSession): Simple constructor.
      (WebCore::MockCDMSession::generateKeyRequest): Ignores the parameters and returns a keyRequest() array.
      (WebCore::MockCDMSession::releaseKeys): No-op.
      (WebCore::MockCDMSession::addKey): Checks that the key starts with the keyPrefix() array.
      * testing/MockCDM.h: Added.
      (WebCore::MockCDM::create):
      (WebCore::MockCDM::~MockCDM): Simple destructor.
      (WebCore::MockCDM::MockCDM): Simple constructor.
      
      Add the new classes to the built system:
      * Configurations/FeatureDefines.xcconfig:
      * DerivedSources.make:
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj:
      
      Miscelaneous changes:
      * dom/EventNames.in: Add the two new event types, MediaKeyMessageEvent and MediaKeyNeededEvent.
      * dom/EventTargetFactory.in: Add the new EventTarget, MediaKeySession.
      * page/DOMWindow.idl: Add constructors for the new classes to the window object.
      
      Source/WTF:
      
      Define the ENABLE_ENCRYPTED_MEDIA_V2 setting.
      
      * wtf/Platform.h:
      
      LayoutTests:
      
      Added new tests for the updated Encrypted Media Extensions spec.
      
      * media/encrypted-media/encrypted-media-v2-events-expected.txt: Added.
      * media/encrypted-media/encrypted-media-v2-events.html: Added.
      * media/encrypted-media/encrypted-media-v2-syntax-expected.txt: Added.
      * media/encrypted-media/encrypted-media-v2-syntax.html: Added.
      * platform/Chromium/TestExpectations: Skip the new media/encrypted-media/ v2 tests.
      * platform/mac/media/encrypted-media/encrypted-media-can-play-type-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09c10fbf
  4. 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
  5. 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
  6. 12 Apr, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Add Encrypted Media Extensions events and errors to HTMLMediaElement · 710a467a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82974
      
      Patch by David Dorwin <ddorwin@chromium.org> on 2012-04-12
      Reviewed by Adam Barth.
      
      The new events and errors are behind the ENABLE(ENCRYPTED_MEDIA) feature define.
      Implementation is based on v0.1 of the draft proposal at
      http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#events.
      
      Source/WebCore:
      
      Tests: fast/events/constructors/media-key-event-constructor.html
             media/encrypted-media/encrypted-media-constants.html
             media/encrypted-media/encrypted-media-events.html
      
      * WebCore.gypi:
      * bindings/v8/Dictionary.cpp:
      (WebCore::Dictionary::get):
      (WebCore):
      * bindings/v8/Dictionary.h:
      (WebCore):
      (Dictionary):
      * dom/EventNames.h:
      (WebCore):
      * dom/EventNames.in:
      * html/HTMLAttributeNames.in:
      * html/HTMLMediaElement.cpp:
      (WebCore):
      (WebCore::HTMLMediaElement::mediaPlayerKeyAdded):
      (WebCore::HTMLMediaElement::mediaPlayerKeyError):
      (WebCore::HTMLMediaElement::mediaPlayerKeyMessage):
      (WebCore::HTMLMediaElement::mediaPlayerKeyNeeded):
      * html/HTMLMediaElement.h:
      (HTMLMediaElement):
      * html/HTMLMediaElement.idl:
      * html/MediaError.h:
      * html/MediaError.idl:
      * html/MediaKeyError.h: Added.
      (WebCore):
      (MediaKeyError):
      (WebCore::MediaKeyError::create):
      (WebCore::MediaKeyError::code):
      (WebCore::MediaKeyError::MediaKeyError):
      * html/MediaKeyError.idl: Added.
      * html/MediaKeyEvent.cpp: Added.
      (WebCore):
      (WebCore::MediaKeyEventInit::MediaKeyEventInit):
      (WebCore::MediaKeyEvent::MediaKeyEvent):
      (WebCore::MediaKeyEvent::~MediaKeyEvent):
      (WebCore::MediaKeyEvent::interfaceName):
      * html/MediaKeyEvent.h: Added.
      (WebCore):
      (MediaKeyEventInit):
      (MediaKeyEvent):
      (WebCore::MediaKeyEvent::create):
      (WebCore::MediaKeyEvent::keySystem):
      (WebCore::MediaKeyEvent::sessionId):
      (WebCore::MediaKeyEvent::initData):
      (WebCore::MediaKeyEvent::message):
      (WebCore::MediaKeyEvent::defaultURL):
      (WebCore::MediaKeyEvent::errorCode):
      (WebCore::MediaKeyEvent::systemCode):
      * html/MediaKeyEvent.idl: Added.
      * page/DOMWindow.idl:
      * platform/graphics/MediaPlayer.cpp:
      (WebCore):
      (WebCore::MediaPlayer::keyAdded):
      (WebCore::MediaPlayer::keyError):
      (WebCore::MediaPlayer::keyMessage):
      (WebCore::MediaPlayer::keyNeeded):
      * platform/graphics/MediaPlayer.h:
      (MediaPlayerClient):
      (WebCore::MediaPlayerClient::mediaPlayerKeyAdded):
      (WebCore::MediaPlayerClient::mediaPlayerKeyError):
      (WebCore::MediaPlayerClient::mediaPlayerKeyMessage):
      (WebCore::MediaPlayerClient::mediaPlayerKeyNeeded):
      (MediaPlayer):
      
      Source/WebKit/chromium:
      
      * public/WebMediaPlayerClient.h:
      * src/AssertMatchingEnums.cpp:
      * src/WebMediaPlayerClientImpl.cpp:
      (WebKit::WebMediaPlayerClientImpl::keyAdded):
      (WebKit):
      (WebKit::WebMediaPlayerClientImpl::keyError):
      (WebKit::WebMediaPlayerClientImpl::keyMessage):
      (WebKit::WebMediaPlayerClientImpl::keyNeeded):
      * src/WebMediaPlayerClientImpl.h:
      (WebMediaPlayerClientImpl):
      
      LayoutTests:
      
      * fast/events/constructors/media-key-event-constructor-expected.txt: Added.
      * fast/events/constructors/media-key-event-constructor.html: Added.
      * fast/js/resources/js-test-pre.js:
      (shouldBeZero):
      (shouldBeEmptyString):
      * media/encrypted-media/encrypted-media-constants-expected.txt: Added.
      * media/encrypted-media/encrypted-media-constants.html: Added.
      * media/encrypted-media/encrypted-media-events-expected.txt: Added.
      * media/encrypted-media/encrypted-media-events.html: Added.
      * media/video-test.js:
      (testExpected):
      (testArraysEqual):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      710a467a
  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. 23 Dec, 2009 1 commit
  12. 08 May, 2009 1 commit
    • eric.carlson@apple.com's avatar
      2009-05-08 Eric Carlson <eric.carlson@apple.com> · f60a0b2d
      eric.carlson@apple.com authored
              Reviewed by Darin Adler.
              
              https://bugs.webkit.org/show_bug.cgi?id=25627
              Bug 25627: HTMLMediaElement: some errors should fire on <source> elements
      
              Update for HTML5 spec change to fire 'error' events on <source> element
              when there is a failure while processing/loading a <source>.
      
              Test: media/video-source-error.html
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::enqueueEvent): Remove white-space.
              (WebCore::HTMLMediaElement::loadInternal): Call cancelPendingEventsAndCallbacks instead
              of just calling m_pendingEvents.clear() as we now also need to cancel pending errors on
              all <source> element. 
              (WebCore::HTMLMediaElement::selectMediaResource): Call isSafeToLoadURL() here instead of in
              loadResource() as we need to report errors differently depending on the type of failure. Use
              KURL instead of String.
              (WebCore::HTMLMediaElement::loadNextSourceChild): nextSourceChild -> selectNextSourceChild.
              Fail silently when there are no more <source> canditates because that is what spec mandates.
              Keep url as KURL instead of converting to String.
              (WebCore::HTMLMediaElement::loadResource): ASSERT that the URL is safe to load as we now 
              assume the safety check now done before this function. Takes KURL instead of String.
              (WebCore::HTMLMediaElement::isSafeToLoadURL): New, checks to see if a url is safe to load, logs
              failure if not.
              (WebCore::HTMLMediaElement::noneSupported): MEDIA_ERR_NONE_SUPPORTED -> MEDIA_ERR_SRC_NOT_SUPPORTED
              (WebCore::HTMLMediaElement::cancelPendingEventsAndCallbacks): New, clear all events pending on
              the media and all source elements.
              (WebCore::HTMLMediaElement::setNetworkState): Fire an error on the source element when the 
              the failure happened while processing one. Only call nonSupported() when the failure happened
              while processing media element 'src' attribute.
              (WebCore::HTMLMediaElement::havePotentialSourceChild): nextSourceChild -> selectNextSourceChild.
              Deal with selectNextSourceChild returning a KURL instead of a String.
              (WebCore::HTMLMediaElement::selectNextSourceChild): Renamed from nextSourceChild, add optional
              param to control whether or not errors are fired on a source element when it will not be used.
              Check safety of url here instead of waiting until loadResource(). Return a KURL instead of a
              String.
              (WebCore::HTMLMediaElement::initialURL): nextSourceChild -> selectNextSourceChild. Keep url as
              a KURL instead of a String.
              * html/HTMLMediaElement.h:
              (WebCore::HTMLMediaElement::):
      
              * html/HTMLSourceElement.cpp:
              (WebCore::HTMLSourceElement::HTMLSourceElement): Initialize timer related variables.
              (WebCore::HTMLSourceElement::scheduleErrorEvent): New, start one-shot timer to fire an error
              event ASAP.
              (WebCore::HTMLSourceElement::cancelPendingErrorEvent): New, cancel pending error event.
              (WebCore::HTMLSourceElement::errorEventTimerFired): New, fire error event if it has not been
              cancelled.
              * html/HTMLSourceElement.h:
      
              * html/MediaError.h: 
              (WebCore::MediaError::): MEDIA_ERR_NONE_SUPPORTED -> MEDIA_ERR_SRC_NOT_SUPPORTED
              * html/MediaError.idl: Ditto
      
      2009-05-08  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Darin Adler.
      
              https://bugs.webkit.org/show_bug.cgi?id=25627
              Bug 25627: HTMLMediaElement: some errors should fire on <source> elements
      
              Update tests for MEDIA_ERR_NONE_SUPPORTED change to MEDIA_ERR_SRC_NOT_SUPPORTED.
              Add video-source-error.html to test errors fired on <source> elements .
      
              * media/media-constants-expected.txt:
              * media/media-constants.html:
              * media/unsupported-rtsp.html:
              * media/video-error-does-not-exist.html:
              * media/video-source-error.html: Added.
              * media/video-src-change.html:
              * media/video-src-invalid-remove.html:
              * media/video-src-plus-source.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f60a0b2d
  13. 23 Mar, 2009 1 commit
    • eric.carlson@apple.com's avatar
      2009-03-23 Eric Carlson <eric.carlson@apple.com> · 72a6d933
      eric.carlson@apple.com authored
              Reviewed by Adele Peterson.
      
              https://bugs.webkit.org/show_bug.cgi?id=24588
              
              Update media element implementation to current HTML5 spec
      
              New tests: 
                     media/media-constants.html
                     media/video-seek-no-src-exception.html
                     media/video-source-add-src.html
                     media/video-src-invalid-remove.html
                     media/video-src-plus-source.html
                     media/video-timeupdate-during-playback.html
      
              * dom/EventNames.h: Remove obsolute events, add new ones.
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize new member vars.
              (WebCore::HTMLMediaElement::attributeChanged): Trigger load() only when we don't
              have a source.
              (WebCore::HTMLMediaElement::removedFromDocument): Deal with state name changes.
              (WebCore::HTMLMediaElement::scheduleProgressEvent): New, create a progress event and 
              add it to the event queue to be dispatch when the timer fires.
              (WebCore::HTMLMediaElement::scheduleEvent): New, create a generic event and add
              it to the event queue to be dispatch when the timer fires.
              (WebCore::HTMLMediaElement::enqueueEvent): Add an event to the queue and ticke the 
              asynch event timer.
              (WebCore::HTMLMediaElement::asyncEventTimerFired): Dispatch all pending events.
              (WebCore::HTMLMediaElement::loadTimerFired): Either trigger the initial load or
              try to load the next <source> url.
              (WebCore::HTMLMediaElement::load): Minor style change.
              (WebCore::HTMLMediaElement::loadInternal): The first part of the spec load algorithm, cleanup
              the current load (if any) and set up state for a new load.
              (WebCore::HTMLMediaElement::selectMediaResource): Deal with no 'src' or <source>, post 'loadstart'
              event, and initiate load from 'src' if present.
              (WebCore::HTMLMediaElement::loadNextSourceChild): Initiate load from next <source> url, or trigger
              noneSupported() if no more to consider.
              (WebCore::HTMLMediaElement::loadResource): Instantiate a new MediaPlayer and ask it to load a url.
              (WebCore::HTMLMediaElement::startProgressEventTimer): Start the repeating progress event timer.
              (WebCore::HTMLMediaElement::noneSupported): Post error event and set up state when no valid 
              media url was found.
              (WebCore::HTMLMediaElement::mediaEngineError): Post error event and set up state when no valid 
              media engine failed with a decode error or a network error.
              (WebCore::HTMLMediaElement::mediaPlayerNetworkStateChanged):
              (WebCore::HTMLMediaElement::setNetworkState): Updated for new spec network states.
              (WebCore::HTMLMediaElement::mediaPlayerReadyStateChanged):
              (WebCore::HTMLMediaElement::setReadyState): Updated for new spec ready state.
              (WebCore::HTMLMediaElement::progressEventTimerFired): Bail if the network is not active.
              (WebCore::HTMLMediaElement::seek): Return INVALID_STATE_ERR exception if state is too low or
              if player hasn't been set up yet. This is necessary becase load() is async. Clear the flag
              we use to guard against sending 'ended' more than once.
              (WebCore::HTMLMediaElement::duration): Don't bother calling media engine before it has metadata.
              (WebCore::HTMLMediaElement::setDefaultPlaybackRate): Remove exception param, 0 is no longer an
              invalid rate. 
              (WebCore::HTMLMediaElement::setPlaybackRate): Remove exception param, 0 is no longer an
              invalid rate. Cache rate being set so we can use it later if media engine isn't ready now.
              (WebCore::HTMLMediaElement::play): Remove exception param, play() before load() now just
              starts loading asynchronously.
              (WebCore::HTMLMediaElement::playInternal): Remove exception param. Fire 'waiting' or 'playing'
              event depending on current state.
              (WebCore::HTMLMediaElement::pause): Remove exception param, pause() before load() now just
              starts loading asynchronously.
              (WebCore::HTMLMediaElement::pauseInternal): Remove exception param.
              (WebCore::HTMLMediaElement::setVolume): dispatchEventAsync -> scheduleEvent
              (WebCore::HTMLMediaElement::setMuted): dispatchEventAsync -> scheduleEvent
              (WebCore::HTMLMediaElement::togglePlayState): Remove exception param.
              (WebCore::HTMLMediaElement::beginScrubbing): pause() doesn't take an exception param.
              (WebCore::HTMLMediaElement::startPlaybackProgressTimer): New, starts timer that fires 4 times per
              second when the movie is playing to timeupdate so we can post 'timeupdate' events.
              (WebCore::HTMLMediaElement::playbackProgressTimerFired): Timer proc.
              (WebCore::HTMLMediaElement::scheduleTimeupdateEvent): Bottleneck around scheduling a 'timeupdate'
              event because we both fire them them when the spec says we should and when the media engine
              says that time has jumped, but we don't want to fire more than one at a given movie time. We also
              use this bottleneck to keep track of the last time one was posted so we won't fire too often
              during playback.
              (WebCore::HTMLMediaElement::canPlay): readyState now tracks whether or not we have metadata.
              (WebCore::HTMLMediaElement::havePotentialSourceChild): New, checks to see if there are a <source>
              element with a 'src' attribute that we have not tried to load yet.
              (WebCore::HTMLMediaElement::nextSourceChild): New, returns the url and content type of the next
              <source> element that we haven't tried to load.
              (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): Schedule 'seeked' event when seeking completes.
              Set a flag when we post the 'ended' event, clear it when time changed and we aren't at the end since
              some media engines call this proc more than once when playback reaches the end and stops, but we
              don't want to post 'ended' more than once.
              (WebCore::HTMLMediaElement::mediaPlayerDurationChanged): New, added so media engine can inform
              when the movie duration changes and we can post 'durationchanged' event.
              (WebCore::HTMLMediaElement::mediaPlayerRateChanged): New, added so media engine can inform when
              the rate changed and we can updated our cached rate. This is useful because we only want to know
              post periodic 'timeupdate' events when the movie is actually playing, and because we want to know
              the actual playback rate when it differs from what we tried to set.
              (WebCore::HTMLMediaElement::mediaPlayerSizeChanged): New, added so media engine can inform when
              a movie's intrinsic size changes and we can inform the renderer.
              (WebCore::HTMLMediaElement::potentiallyPlaying): Renamed from activelyPlaying since the spec now
              uses "actively playing" for this concept. Update logic for new state names and un-comment calls
              to stoppedDueToErrors() and pausedForUserInteraction() since the spec says those condiditons
              are part of the answer.
              (WebCore::HTMLMediaElement::endedPlayback): Update logic for new state names. 
              (WebCore::HTMLMediaElement::stoppedDueToErrors): New, spec says this logic should be part of
              the determination of "potentially playing".
              (WebCore::HTMLMediaElement::pausedForUserInteraction): New, placeholder for when (if) user
              agent supports this spec concept.
              (WebCore::HTMLMediaElement::updatePlayState): Stop timer used to fire periodic 'timeupdate' 
              events when we pauses the movie. Set the media engine rate before calling play() in case it
              wasn't set up when the rate was changed.
              (WebCore::HTMLMediaElement::stopPeriodicTimers): New, stop the progress event and 'timeupate'
              event timers.
              (WebCore::HTMLMediaElement::userCancelledLoad): New, logic pulled out of documentWillBecomeInactive
              and updated for the current spec.
              (WebCore::HTMLMediaElement::documentWillBecomeInactive): Moved some logic to userCancelledLoad.
              (WebCore::HTMLMediaElement::documentDidBecomeActive): Update comments.
              (WebCore::HTMLMediaElement::initialURL): Update for refactoring of code that determines the 
              initial url.
              * html/HTMLMediaElement.h: Change ReadyState and NetworkState enums to match names in the spec,
              update for changes in .cpp.
              (WebCore::HTMLMediaElement::):
      
              * html/HTMLMediaElement.idl: Update ready state and network state constants for spec changes.
              defaultPlaybackRate, playbackRate, play(), and pause() no longer raise exceptions.
      
              * html/HTMLSourceElement.cpp:
              (WebCore::HTMLSourceElement::insertedIntoDocument): Update for network state name changes.
      
              * html/HTMLVideoElement.cpp:
              (WebCore::HTMLVideoElement::updatePosterImage): Update for ready state name changes.
      
              * html/MediaError.h:
              (WebCore::MediaError::): add MEDIA_ERR_NONE_SUPPORTED.
      
              * html/MediaError.idl: add MEDIA_ERR_NONE_SUPPORTED.
      
              * loader/MediaDocument.cpp:
              (WebCore::MediaDocument::defaultEventHandler): play() and pause() don't take an exception.
      
              * platform/graphics/MediaPlayer.cpp:
              (WebCore::NullMediaPlayerPrivate::readyState): Update for newtork state name changes.
              (WebCore::MediaPlayer::sizeChanged): New, so engine can report intrinsic size changes.
              (WebCore::MediaPlayer::rateChanged): New, so engine can report rate changes.
              (WebCore::MediaPlayer::durationChanged): New, so engine can report duration changes.
              * platform/graphics/MediaPlayer.h: Update NetworkState and ReadyState enum names to match spec
              states.
              (WebCore::MediaPlayerClient::mediaPlayerDurationChanged): New.
              (WebCore::MediaPlayerClient::mediaPlayerRateChanged): New.
              (WebCore::MediaPlayerClient::mediaPlayerSizeChanged): New.
              (WebCore::MediaPlayer::):
      
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): Update for network/ready state name changes.
              (WebCore::MediaPlayerPrivate::load): Ditto.
              (WebCore::MediaPlayerPrivate::updateStates): Ditto.
              (WebCore::MediaPlayerPrivate::loadingFailed): Ditto.
      
              * platform/graphics/mac/MediaPlayerPrivateQTKit.h: Update for network/ready state name changes.
              Remove endPointTimer, it is no longer necessary. Add m_enabledTrackCount and m_duration.
              (WebCore::MediaPlayerPrivate::metaDataAvailable):
              * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
              (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): No more m_endPointTimer or m_endTime. Initialize
              m_enabledTrackCount and m_duration. Update for network/ready state name changes.
              (WebCore::MediaPlayerPrivate::load): Update for network/ready state name changes.
              (WebCore::MediaPlayerPrivate::play): No more m_endPointTimer.
              (WebCore::MediaPlayerPrivate::pause): Ditto.
              (WebCore::MediaPlayerPrivate::currentTime): No more m_endTime.
              (WebCore::MediaPlayerPrivate::seek): Ditto.
              (WebCore::MediaPlayerPrivate::doSeek): Ditto, plus don't call setRate(0) when the rate is
              already zero.
              (WebCore::MediaPlayerPrivate::setEndTime): No more m_endTime.
              (WebCore::MediaPlayerPrivate::updateStates): Update for network/ready state name changes. Return
              different errors depending on what causes a failure. Watch for and report duration changes.
              (WebCore::MediaPlayerPrivate::rateChanged): Report rate changes.
              (WebCore::MediaPlayerPrivate::sizeChanged): Report size changes.
              (WebCore::MediaPlayerPrivate::didEnd): No more endpoint timer.
              (WebCore::MediaPlayerPrivate::setVisible): Update for network/ready state name changes.
              (WebCore::MediaPlayerPrivate::disableUnsupportedTracks): Don't return number of unsupported
              tracks, store in m_enabledTrackCount so we can use it to help determine causes of failure.
      
              * platform/graphics/qt/MediaPlayerPrivatePhonon.cpp:
              (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): Update for network/ready state name changes.
              (WebCore::MediaPlayerPrivate::load): Ditto.
              (WebCore::MediaPlayerPrivate::duration): Ditto.
              (WebCore::MediaPlayerPrivate::updateStates): Ditto.
              (WebCore::MediaPlayerPrivate::naturalSize): Ditto.
      
              * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp:
              (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): No more m_endPointTimer. Update for 
              network/ready state name changes.
              (WebCore::MediaPlayerPrivate::load): Update for network/ready state name changes. No more
              m_endPointTimer.
              (WebCore::MediaPlayerPrivate::play): No more m_endPointTimer.
              (WebCore::MediaPlayerPrivate::pause): Ditto. 
              (WebCore::MediaPlayerPrivate::setEndTime): Ditto.
              (WebCore::MediaPlayerPrivate::updateStates): Update for network/ready state name changes.
              (WebCore::MediaPlayerPrivate::didEnd): No more m_endPointTimer.
              * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h:
      
              * rendering/MediaControlElements.cpp:
              (WebCore::MediaControlPlayButtonElement::defaultEventHandler): Update for network/ready state 
              name changes.
              (WebCore::MediaControlSeekButtonElement::defaultEventHandler): Ditto.
      
      2009-03-23  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Adele Peterson.
              
              https://bugs.webkit.org/show_bug.cgi?id=24588
              Bug 24588: Update media element implementation to current spec
      
              * media/media-constants-expected.txt: Test all media constants.
              * media/media-constants.html: Ditto.
              * media/remove-from-document-expected.txt: Updated for spec changes.
              * media/remove-from-document-no-load.html: Ditto.
              * media/remove-from-document.html: Ditto.
              * media/unsupported-rtsp-expected.txt: Ditto.
              * media/unsupported-rtsp.html: Ditto.
              * media/video-currentTime-set-expected.txt: Ditto.
              * media/video-currentTime-set.html: Ditto.
              * media/video-error-does-not-exist-expected.txt: Ditto.
              * media/video-error-does-not-exist.html: Ditto.
              * media/video-load-networkState-expected.txt: Ditto.
              * media/video-load-networkState.html: Ditto.
              * media/video-load-readyState-expected.txt: Ditto.
              * media/video-load-readyState.html: Ditto.
              * media/video-loop-expected.txt: Ditto.
              * media/video-loop.html: Ditto.
              * media/video-pause-empty-events-expected.txt: Ditto.
              * media/video-pause-empty-events.html: Ditto.
              * media/video-play-empty-events-expected.txt: Ditto.
              * media/video-play-empty-events.html: Ditto.
              * media/video-play-pause-events-expected.txt: Ditto.
              * media/video-play-pause-events.html: Ditto.
              * media/video-play-pause-exception-expected.txt: Ditto.
              * media/video-play-pause-exception.html: Ditto.
              * media/video-seek-no-src-exception-expected.txt: Test that seeking 
              whene there is no 'src' attribute throws an INVALID_STATE_ERR exception.
              * media/video-seek-no-src-exception.html: 
              * media/video-seek-past-end-playing-expected.txt: Ditto.
              * media/video-seek-past-end-playing.html: Ditto.
              * media/video-seeking-expected.txt: Ditto.
              * media/video-seeking.html: Ditto.
              * media/video-source-add-src-expected.txt: Test that adding a 'src' 
              attribute does nothing when a <source> element has already been chosen.
              * media/video-source-add-src.html: 
              * media/video-src-change-expected.txt: Ditto.
              * media/video-src-change.html: Ditto.
              * media/video-src-invalid-remove-expected.txt: Test that removing invalid 
              'src' attribute triggers <source> elements loading.
              * media/video-src-invalid-remove.html: 
              * media/video-src-plus-source-expected.txt: Test that a <source> element 
              is not used when a bogus 'src' attribute is present.
              * media/video-src-plus-source.html: 
              * media/video-src-remove-expected.txt: Ditto.
              * media/video-src-remove.html: Ditto.
              * media/video-test.js: 
              (findMediaElement):
              (testExpected):
              (waitForEvent):
              (failTest):
              * media/video-timeupdate-during-playback-expected.txt: Test that 'timeupdate' events
              are posted while an element is playing but not while paused.
              * media/video-timeupdate-during-playback.html:
      
              * platform/mac/Skipped: Skip media/video-error-abort.html for now, need to figure out how to 
              test now that the 'loadstart' event is now fired asynchronously.
              * platform/win/Skipped
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72a6d933
  14. 30 Oct, 2007 1 commit
    • antti's avatar
      Rubber stamped by Adele. · 76787a87
      antti authored
              Initial media (<video> and <audio>) support from feature branch and 
              QTKit based platform implementation.
              
              This will need to be updated to match current draft specification.
      
              * Configurations/WebCore.xcconfig:
              * DerivedSources.make:
              * WebCore.base.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSEventCustom.cpp:
              (WebCore::toJS):
              * bindings/js/JSHTMLAudioElementConstructor.cpp: Added.
              (WebCore::JSHTMLAudioElementConstructor::JSHTMLAudioElementConstructor):
              (WebCore::JSHTMLAudioElementConstructor::implementsConstruct):
              (WebCore::JSHTMLAudioElementConstructor::construct):
              * bindings/js/JSHTMLAudioElementConstructor.h: Added.
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              (WebCore::createJSHTMLWrapper):
              * bindings/js/kjs_window.cpp:
              (KJS::Window::getValueProperty):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * bindings/scripts/CodeGeneratorJS.pm:
              * dom/Document.cpp:
              (WebCore::Document::createEvent):
              (WebCore::Document::willSaveToCache):
              (WebCore::Document::didRestoreFromCache):
              (WebCore::Document::registerForCacheCallbacks):
              (WebCore::Document::unregisterForCacheCallbacks):
              * dom/Document.h:
              * dom/Element.cpp:
              (WebCore::Element::setBooleanAttribute):
              * dom/Element.h:
              (WebCore::Element::willSaveToCache):
              * dom/Event.cpp:
              (WebCore::Event::isProgressEvent):
              * dom/Event.h:
              * dom/EventNames.h:
              * dom/EventTargetNode.cpp:
              (WebCore::EventTargetNode::dispatchProgressEvent):
              * dom/EventTargetNode.h:
              * dom/ProgressEvent.cpp: Added.
              (WebCore::ProgressEvent::ProgressEvent):
              (WebCore::ProgressEvent::initProgressEvent):
              (WebCore::ProgressEvent::initProgressEventNS):
              * dom/ProgressEvent.h: Added.
              (WebCore::ProgressEvent::lengthComputable):
              (WebCore::ProgressEvent::loaded):
              (WebCore::ProgressEvent::total):
              (WebCore::ProgressEvent::isProgressEvent):
              * dom/ProgressEvent.idl: Added.
              * history/CachedPage.cpp:
              (WebCore::CachedPage::CachedPage):
              * html/HTMLAttributeNames.in:
              * html/HTMLAudioElement.cpp: Added.
              (WebCore::HTMLAudioElement::HTMLAudioElement):
              * html/HTMLAudioElement.h: Added.
              (WebCore::HTMLAudioElement::tagPriority):
              * html/HTMLAudioElement.idl: Added.
              * html/HTMLElement.cpp:
              (WebCore::inlineTagList):
              * html/HTMLElementFactory.cpp:
              (WebCore::audioConstructor):
              (WebCore::videoConstructor):
              (WebCore::sourceConstructor):
              (WebCore::createFunctionMap):
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::~HTMLInputElement):
              (WebCore::HTMLInputElement::setInputType):
              (WebCore::HTMLInputElement::willMoveToNewOwnerDocument):
              (WebCore::HTMLInputElement::didMoveToNewOwnerDocument):
              * html/HTMLMediaElement.cpp: Added.
              (WebCore::HTMLMediaElement::HTMLMediaElement):
              (WebCore::HTMLMediaElement::~HTMLMediaElement):
              (WebCore::HTMLMediaElement::checkDTD):
              (WebCore::HTMLMediaElement::rendererIsNeeded):
              (WebCore::HTMLMediaElement::createRenderer):
              (WebCore::HTMLMediaElement::insertedIntoDocument):
              (WebCore::HTMLMediaElement::removedFromDocument):
              (WebCore::HTMLMediaElement::scheduleLoad):
              (WebCore::HTMLMediaElement::initAndDispatchProgressEvent):
              (WebCore::HTMLMediaElement::dispatchEventAsync):
              (WebCore::HTMLMediaElement::loadTimerFired):
              (WebCore::HTMLMediaElement::asyncEventTimerFired):
              (WebCore::serializeTimeOffset):
              (WebCore::parseTimeOffset):
              (WebCore::HTMLMediaElement::getTimeOffsetAttribute):
              (WebCore::HTMLMediaElement::setTimeOffsetAttribute):
              (WebCore::HTMLMediaElement::error):
              (WebCore::HTMLMediaElement::src):
              (WebCore::HTMLMediaElement::HTMLMediaElement::setSrc):
              (WebCore::HTMLMediaElement::currentSrc):
              (WebCore::HTMLMediaElement::networkState):
              (WebCore::HTMLMediaElement::bufferingRate):
              (WebCore::HTMLMediaElement::load):
              (WebCore::HTMLMediaElement::movieNetworkStateChanged):
              (WebCore::HTMLMediaElement::movieReadyStateChanged):
              (WebCore::HTMLMediaElement::setReadyState):
              (WebCore::HTMLMediaElement::progressEventTimerFired):
              (WebCore::HTMLMediaElement::seek):
              (WebCore::HTMLMediaElement::readyState):
              (WebCore::HTMLMediaElement::seeking):
              (WebCore::HTMLMediaElement::currentTime):
              (WebCore::HTMLMediaElement::setCurrentTime):
              (WebCore::HTMLMediaElement::duration):
              (WebCore::HTMLMediaElement::paused):
              (WebCore::HTMLMediaElement::defaultPlaybackRate):
              (WebCore::HTMLMediaElement::setDefaultPlaybackRate):
              (WebCore::HTMLMediaElement::playbackRate):
              (WebCore::HTMLMediaElement::setPlaybackRate):
              (WebCore::HTMLMediaElement::ended):
              (WebCore::HTMLMediaElement::autoplay):
              (WebCore::HTMLMediaElement::setAutoplay):
              (WebCore::HTMLMediaElement::play):
              (WebCore::HTMLMediaElement::pause):
              (WebCore::HTMLMediaElement::loopCount):
              (WebCore::HTMLMediaElement::setLoopCount):
              (WebCore::HTMLMediaElement::start):
              (WebCore::HTMLMediaElement::setStart):
              (WebCore::HTMLMediaElement::end):
              (WebCore::HTMLMediaElement::setEnd):
              (WebCore::HTMLMediaElement::loopStart):
              (WebCore::HTMLMediaElement::setLoopStart):
              (WebCore::HTMLMediaElement::loopEnd):
              (WebCore::HTMLMediaElement::setLoopEnd):
              (WebCore::HTMLMediaElement::currentLoop):
              (WebCore::HTMLMediaElement::setCurrentLoop):
              (WebCore::HTMLMediaElement::controls):
              (WebCore::HTMLMediaElement::setControls):
              (WebCore::HTMLMediaElement::volume):
              (WebCore::HTMLMediaElement::setVolume):
              (WebCore::HTMLMediaElement::muted):
              (WebCore::HTMLMediaElement::setMuted):
              (WebCore::HTMLMediaElement::pickMedia):
              (WebCore::HTMLMediaElement::checkIfSeekNeeded):
              (WebCore::HTMLMediaElement::movieVolumeChanged):
              (WebCore::HTMLMediaElement::movieDidEnd):
              (WebCore::HTMLMediaElement::movieCuePointReached):
              (WebCore::HTMLMediaElement::addCuePoint):
              (WebCore::HTMLMediaElement::removeCuePoint):
              (WebCore::HTMLMediaElement::buffered):
              (WebCore::HTMLMediaElement::played):
              (WebCore::HTMLMediaElement::seekable):
              (WebCore::HTMLMediaElement::effectiveStart):
              (WebCore::HTMLMediaElement::effectiveEnd):
              (WebCore::HTMLMediaElement::effectiveLoopStart):
              (WebCore::HTMLMediaElement::effectiveLoopEnd):
              (WebCore::HTMLMediaElement::activelyPlaying):
              (WebCore::HTMLMediaElement::endedPlayback):
              (WebCore::HTMLMediaElement::willSaveToCache):
              (WebCore::HTMLMediaElement::didRestoreFromCache):
              * html/HTMLMediaElement.h: Added.
              (WebCore::HTMLMediaElement::movie):
              (WebCore::HTMLMediaElement::isVideo):
              (WebCore::HTMLMediaElement::):
              (WebCore::HTMLMediaElement::CallbackEntry::CallbackEntry):
              * html/HTMLMediaElement.idl: Added.
              * html/HTMLSourceElement.cpp: Added.
              (WebCore::HTMLSourceElement::HTMLSourceElement):
              (WebCore::HTMLSourceElement::~HTMLSourceElement):
              (WebCore::HTMLSourceElement::insertedIntoDocument):
              (WebCore::HTMLSourceElement::src):
              (WebCore::HTMLSourceElement::setSrc):
              (WebCore::HTMLSourceElement::media):
              (WebCore::HTMLSourceElement::setMedia):
              (WebCore::HTMLSourceElement::type):
              (WebCore::HTMLSourceElement::setType):
              * html/HTMLSourceElement.h: Added.
              (WebCore::HTMLSourceElement::endTagRequirement):
              (WebCore::HTMLSourceElement::tagPriority):
              * html/HTMLSourceElement.idl: Added.
              * html/HTMLTagNames.in:
              * html/HTMLVideoElement.cpp: Added.
              (WebCore::HTMLVideoElement::HTMLVideoElement):
              (WebCore::HTMLVideoElement::videoWidth):
              (WebCore::HTMLVideoElement::videoHeight):
              * html/HTMLVideoElement.h: Added.
              (WebCore::HTMLVideoElement::tagPriority):
              (WebCore::HTMLVideoElement::isVideo):
              * html/HTMLVideoElement.idl: Added.
              * html/MediaError.h: Added.
              (WebCore::MediaError::):
              (WebCore::MediaError::MediaError):
              (WebCore::MediaError::code):
              * html/MediaError.idl: Added.
              * html/TimeRanges.cpp: Added.
              (TimeRanges::TimeRanges):
              (TimeRanges::start):
              (TimeRanges::end):
              (TimeRanges::add):
              (TimeRanges::contain):
              * html/TimeRanges.h: Added.
              (WebCore::TimeRanges::TimeRanges):
              (WebCore::TimeRanges::length):
              (WebCore::TimeRanges::Range::Range):
              * html/TimeRanges.idl: Added.
              * page/DOMWindow.idl:
              * platform/MIMETypeRegistry.cpp:
              (WebCore::initialiseSupportedMovieMIMETypes):
              (WebCore::initialiseMIMETypeRegistry):
              (WebCore::MIMETypeRegistry::isSupportedMovieMIMEType):
              (WebCore::MIMETypeRegistry::getSupportedMovieMIMETypes):
              * platform/MIMETypeRegistry.h:
              * platform/graphics/Movie.cpp: Added.
              (WebCore::Movie::Movie):
              (WebCore::Movie::~Movie):
              (WebCore::Movie::load):
              (WebCore::Movie::cancelLoad):
              (WebCore::Movie::play):
              (WebCore::Movie::pause):
              (WebCore::Movie::duration):
              (WebCore::Movie::currentTime):
              (WebCore::Movie::seek):
              (WebCore::Movie::paused):
              (WebCore::Movie::seeking):
              (WebCore::Movie::naturalSize):
              (WebCore::Movie::hasVideo):
              (WebCore::Movie::networkState):
              (WebCore::Movie::readyState):
              (WebCore::Movie::volume):
              (WebCore::Movie::setVolume):
              (WebCore::Movie::rate):
              (WebCore::Movie::setRate):
              (WebCore::Movie::muted):
              (WebCore::Movie::setMuted):
              (WebCore::Movie::dataRate):
              (WebCore::Movie::setEndTime):
              (WebCore::Movie::addCuePoint):
              (WebCore::Movie::removeCuePoint):
              (WebCore::Movie::clearCuePoints):
              (WebCore::Movie::maxTimeBuffered):
              (WebCore::Movie::maxTimeSeekable):
              (WebCore::Movie::bytesLoaded):
              (WebCore::Movie::totalBytesKnown):
              (WebCore::Movie::totalBytes):
              (WebCore::Movie::setRect):
              (WebCore::Movie::visible):
              (WebCore::Movie::setVisible):
              (WebCore::Movie::paint):
              (WebCore::Movie::getSupportedTypes):
              (WebCore::Movie::networkStateChanged):
              (WebCore::Movie::readyStateChanged):
              (WebCore::Movie::volumeChanged):
              (WebCore::Movie::didEnd):
              (WebCore::Movie::cuePointReached):
              * platform/graphics/Movie.h: Added.
              (WebCore::MovieClient::~MovieClient):
              (WebCore::MovieClient::movieNetworkStateChanged):
              (WebCore::MovieClient::movieReadyStateChanged):
              (WebCore::MovieClient::movieVolumeChanged):
              (WebCore::MovieClient::movieDidEnd):
              (WebCore::MovieClient::movieCuePointReached):
              (WebCore::Movie::parentWidget):
              (WebCore::Movie::setParentWidget):
              (WebCore::Movie::rect):
              (WebCore::Movie::):
              * platform/graphics/mac/MoviePrivateQTKit.h: Added.
              * platform/graphics/mac/MoviePrivateQTKit.mm: Added.
              (WebCore::MoviePrivate::MoviePrivate):
              (WebCore::MoviePrivate::~MoviePrivate):
              (WebCore::MoviePrivate::createQTMovie):
              (WebCore::MoviePrivate::createQTMovieView):
              (WebCore::MoviePrivate::createQTTime):
              (WebCore::MoviePrivate::load):
              (WebCore::MoviePrivate::play):
              (WebCore::MoviePrivate::pause):
              (WebCore::MoviePrivate::duration):
              (WebCore::MoviePrivate::currentTime):
              (WebCore::MoviePrivate::seek):
              (WebCore::MoviePrivate::setEndTime):
              (WebCore::MoviePrivate::addCuePoint):
              (WebCore::MoviePrivate::removeCuePoint):
              (WebCore::MoviePrivate::clearCuePoints):
              (WebCore::MoviePrivate::startCuePointTimerIfNeeded):
              (WebCore::MoviePrivate::cancelSeek):
              (WebCore::MoviePrivate::seekTimerFired):
              (WebCore::MoviePrivate::cuePointTimerFired):
              (WebCore::MoviePrivate::paused):
              (WebCore::MoviePrivate::seeking):
              (WebCore::MoviePrivate::naturalSize):
              (WebCore::MoviePrivate::hasVideo):
              (WebCore::MoviePrivate::setVolume):
              (WebCore::MoviePrivate::setMuted):
              (WebCore::MoviePrivate::setRate):
              (WebCore::MoviePrivate::dataRate):
              (WebCore::MoviePrivate::networkState):
              (WebCore::MoviePrivate::readyState):
              (WebCore::MoviePrivate::maxTimeBuffered):
              (WebCore::MoviePrivate::maxTimeSeekable):
              (WebCore::MoviePrivate::maxTimeLoaded):
              (WebCore::MoviePrivate::bytesLoaded):
              (WebCore::MoviePrivate::totalBytesKnown):
              (WebCore::MoviePrivate::totalBytes):
              (WebCore::MoviePrivate::cancelLoad):
              (WebCore::MoviePrivate::updateStates):
              (WebCore::MoviePrivate::loadStateChanged):
              (WebCore::MoviePrivate::rateChanged):
              (WebCore::MoviePrivate::sizeChanged):
              (WebCore::MoviePrivate::timeChanged):
              (WebCore::MoviePrivate::volumeChanged):
              (WebCore::MoviePrivate::didEnd):
              (WebCore::MoviePrivate::setRect):
              (WebCore::MoviePrivate::setVisible):
              (WebCore::MoviePrivate::paint):
              (WebCore::MoviePrivate::getSupportedTypes):
              (-[WebCoreMovieObserver loadStateChanged:]):
              (-[WebCoreMovieObserver rateChanged:]):
              (-[WebCoreMovieObserver sizeChanged:]):
              (-[WebCoreMovieObserver timeChanged:]):
              (-[WebCoreMovieObserver volumeChanged:]):
              (-[WebCoreMovieObserver didEnd:]):
              (-[WebCoreMovieObserver setCallback:WebCore::]):
              * platform/mac/WebCoreSystemInterface.h:
              * platform/mac/WebCoreSystemInterface.mm:
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::collectLayers):
              * rendering/RenderVideo.cpp: Added.
              (WebCore::RenderVideo::RenderVideo):
              (WebCore::RenderVideo::~RenderVideo):
              (WebCore::RenderVideo::movie):
              (WebCore::RenderVideo::videoSizeChanged):
              (WebCore::RenderVideo::paint):
              (WebCore::RenderVideo::layout):
              (WebCore::RenderVideo::updateFromElement):
              (WebCore::RenderVideo::updateMovie):
              (WebCore::RenderVideo::isWidthSpecified):
              (WebCore::RenderVideo::isHeightSpecified):
              (WebCore::RenderVideo::calcReplacedWidth):
              (WebCore::RenderVideo::calcReplacedHeight):
              (WebCore::RenderVideo::calcAspectRatioWidth):
              (WebCore::RenderVideo::calcAspectRatioHeight):
              (WebCore::RenderVideo::calcPrefWidths):
              * rendering/RenderVideo.h: Added.
              (WebCore::RenderVideo::renderName):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76787a87
  15. 19 Jun, 2007 1 commit
    • weinig's avatar
      Reviewed by Geoff. · 4484b814
      weinig authored
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14226
              Move the History object out of the JS bindings
      
              - Autogenerate JSHistory.
      
              * 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::):
              * bridge/GlobalHistory.h: Copied from WebCore/bridge/History.h.
              * bridge/History.h: Removed.
              * bridge/mac/GlobalHistoryMac.mm: Copied from WebCore/bridge/mac/HistoryMac.mm.
              * bridge/mac/HistoryMac.mm: Removed.
              * bridge/win/GlobalHistoryWin.cpp: Copied from WebCore/bridge/win/HistoryWin.cpp.
              * bridge/win/HistoryWin.cpp: Removed.
              * css/cssstyleselector.cpp:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::disconnectFrame):
              (WebCore::DOMWindow::history):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * page/History.cpp: Added.
              (WebCore::History::History):
              (WebCore::History::frame):
              (WebCore::History::disconnectFrame):
              (WebCore::History::length):
              (WebCore::History::back):
              (WebCore::History::forward):
              (WebCore::History::go):
              * page/History.h: Added.
              * page/History.idl: Added.
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/qt/TemporaryLinkStubs.cpp:
              * platform/wx/TemporaryLinkStubs.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4484b814
  16. 12 Jun, 2007 1 commit
  17. 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
  18. 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
  19. 19 Mar, 2006 1 commit
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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