- 11 Oct, 2013 1 commit
-
-
akling@apple.com authored
<https://webkit.org/b/122632> Reviewed by Sam Weinig. This code was only using the ExecState to find the VM. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 15 Aug, 2013 1 commit
-
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=119064 .: Reviewed by Oliver Hunt. Automake work courtesy of Zan Dobersek <zdobersek@igalia.com>. * Source/autotools/symbols.filter: Source/JavaScriptCore: Reviewed by Oliver Hunt. Typed arrays were previously deficient in several major ways: - They were defined separately in WebCore and in the jsc shell. The two implementations were different, and the jsc shell one was basically wrong. The WebCore one was quite awful, also. - Typed arrays were not visible to the JIT except through some weird hooks. For example, the JIT could not ask "what is the Structure that this typed array would have if I just allocated it from this global object". Also, it was difficult to wire any of the typed array intrinsics, because most of the functionality wasn't visible anywhere in JSC. - Typed array allocation was brain-dead. Allocating a typed array involved two JS objects, two GC weak handles, and three malloc allocations. - Neutering. It involved keeping tabs on all native views but not the view wrappers, even though the native views can autoneuter just by asking the buffer if it was neutered anytime you touch them; while the JS view wrappers are the ones that you really want to reach out to. - Common case-ing. Most typed arrays have one buffer and one view, and usually nobody touches the buffer. Yet we created all of that stuff anyway, using data structures optimized for the case where you had a lot of views. - Semantic goofs. Typed arrays should, in the future, behave like ES features rather than DOM features, for example when it comes to exceptions. Firefox already does this and I agree with them. This patch cleanses our codebase of these sins: - Typed arrays are almost entirely defined in JSC. Only the lifecycle management of native references to buffers is left to WebCore. - Allocating a typed array requires either two GC allocations (a cell and a copied storage vector) or one GC allocation, a malloc allocation, and a weak handle (a cell and a malloc'd storage vector, plus a finalizer for the latter). The latter is only used for oversize arrays. Remember that before it was 7 allocations no matter what. - Typed arrays require just 4 words of overhead: Structure*, Butterfly*, mode/length, void* vector. Before it was a lot more than that - remember, there were five additional objects that did absolutely nothing for anybody. - Native views aren't tracked by the buffer, or by the wrappers. They are transient. In the future we'll probably switch to not even having them be malloc'd. - Native array buffers have an efficient way of tracking all of their JS view wrappers, both for neutering, and for lifecycle management. The GC special-cases native array buffers. This saves a bunch of grief; for example it means that a JS view wrapper can refer to its buffer via the butterfly, which would be dead by the time we went to finalize. - Typed array semantics now match Firefox, which also happens to be where the standards are going. The discussion on webkit-dev seemed to confirm that Chrome is also heading in this direction. This includes making Uint8ClampedArray not a subtype of Uint8Array, and getting rid of ArrayBufferView as a JS-visible construct. This is up to a 10x speed-up on programs that allocate a lot of typed arrays. It's a 1% speed-up on Octane. It also opens up a bunch of possibilities for further typed array optimizations in the JSC JITs, including inlining typed array allocation, inlining more of the accessors, reducing the cost of type checks, etc. An additional property of this patch is that typed arrays are mostly implemented using templates. This deduplicates a bunch of code, but does mean that we need some hacks for exporting s_info's of template classes. See JSGenericTypedArrayView.h and JSTypedArrays.cpp. Those hacks are fairly low-impact compared to code duplication. Automake work courtesy of Zan Dobersek <zdobersek@igalia.com>. * CMakeLists.txt: * DerivedSources.make: * GNUmakefile.list.am: * JSCTypedArrayStubs.h: Removed. * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj: * JavaScriptCore.xcodeproj/project.pbxproj: * Target.pri: * bytecode/ByValInfo.h: (JSC::hasOptimizableIndexingForClassInfo): (JSC::jitArrayModeForClassInfo): (JSC::typedArrayTypeForJITArrayMode): * bytecode/SpeculatedType.cpp: (JSC::speculationFromClassInfo): * dfg/DFGArrayMode.cpp: (JSC::DFG::toTypedArrayType): * dfg/DFGArrayMode.h: (JSC::DFG::ArrayMode::typedArrayType): * dfg/DFGSpeculativeJIT.cpp: (JSC::DFG::SpeculativeJIT::checkArray): (JSC::DFG::SpeculativeJIT::compileGetByValOnIntTypedArray): (JSC::DFG::SpeculativeJIT::compilePutByValForIntTypedArray): (JSC::DFG::SpeculativeJIT::compileGetByValOnFloatTypedArray): (JSC::DFG::SpeculativeJIT::compilePutByValForFloatTypedArray): (JSC::DFG::SpeculativeJIT::compileGetIndexedPropertyStorage): (JSC::DFG::SpeculativeJIT::compileGetArrayLength): * dfg/DFGSpeculativeJIT.h: * dfg/DFGSpeculativeJIT32_64.cpp: (JSC::DFG::SpeculativeJIT::compile): * dfg/DFGSpeculativeJIT64.cpp: (JSC::DFG::SpeculativeJIT::compile): * heap/CopyToken.h: * heap/DeferGC.h: (JSC::DeferGCForAWhile::DeferGCForAWhile): (JSC::DeferGCForAWhile::~DeferGCForAWhile): * heap/GCIncomingRefCounted.h: Added. (JSC::GCIncomingRefCounted::GCIncomingRefCounted): (JSC::GCIncomingRefCounted::~GCIncomingRefCounted): (JSC::GCIncomingRefCounted::numberOfIncomingReferences): (JSC::GCIncomingRefCounted::incomingReferenceAt): (JSC::GCIncomingRefCounted::singletonFlag): (JSC::GCIncomingRefCounted::hasVectorOfCells): (JSC::GCIncomingRefCounted::hasAnyIncoming): (JSC::GCIncomingRefCounted::hasSingleton): (JSC::GCIncomingRefCounted::singleton): (JSC::GCIncomingRefCounted::vectorOfCells): * heap/GCIncomingRefCountedInlines.h: Added. (JSC::::addIncomingReference): (JSC::::filterIncomingReferences): * heap/GCIncomingRefCountedSet.h: Added. (JSC::GCIncomingRefCountedSet::size): * heap/GCIncomingRefCountedSetInlines.h: Added. (JSC::::GCIncomingRefCountedSet): (JSC::::~GCIncomingRefCountedSet): (JSC::::addReference): (JSC::::sweep): (JSC::::removeAll): (JSC::::removeDead): * heap/Heap.cpp: (JSC::Heap::addReference): (JSC::Heap::extraSize): (JSC::Heap::size): (JSC::Heap::capacity): (JSC::Heap::collect): (JSC::Heap::decrementDeferralDepth): (JSC::Heap::decrementDeferralDepthAndGCIfNeeded): * heap/Heap.h: * interpreter/CallFrame.h: (JSC::ExecState::dataViewTable): * jit/JIT.h: * jit/JITPropertyAccess.cpp: (JSC::JIT::privateCompileGetByVal): (JSC::JIT::privateCompilePutByVal): (JSC::JIT::emitIntTypedArrayGetByVal): (JSC::JIT::emitFloatTypedArrayGetByVal): (JSC::JIT::emitIntTypedArrayPutByVal): (JSC::JIT::emitFloatTypedArrayPutByVal): * jsc.cpp: (GlobalObject::finishCreation): * runtime/ArrayBuffer.cpp: (JSC::ArrayBuffer::transfer): * runtime/ArrayBuffer.h: (JSC::ArrayBuffer::createAdopted): (JSC::ArrayBuffer::ArrayBuffer): (JSC::ArrayBuffer::gcSizeEstimateInBytes): (JSC::ArrayBuffer::pin): (JSC::ArrayBuffer::unpin): (JSC::ArrayBufferContents::tryAllocate): * runtime/ArrayBufferView.cpp: (JSC::ArrayBufferView::ArrayBufferView): (JSC::ArrayBufferView::~ArrayBufferView): (JSC::ArrayBufferView::setNeuterable): * runtime/ArrayBufferView.h: (JSC::ArrayBufferView::isNeutered): (JSC::ArrayBufferView::buffer): (JSC::ArrayBufferView::baseAddress): (JSC::ArrayBufferView::byteOffset): (JSC::ArrayBufferView::verifySubRange): (JSC::ArrayBufferView::clampOffsetAndNumElements): (JSC::ArrayBufferView::calculateOffsetAndLength): * runtime/ClassInfo.h: * runtime/CommonIdentifiers.h: * runtime/DataView.cpp: Added. (JSC::DataView::DataView): (JSC::DataView::create): (JSC::DataView::wrap): * runtime/DataView.h: Added. (JSC::DataView::byteLength): (JSC::DataView::getType): (JSC::DataView::get): (JSC::DataView::set): * runtime/Float32Array.h: * runtime/Float64Array.h: * runtime/GenericTypedArrayView.h: Added. (JSC::GenericTypedArrayView::data): (JSC::GenericTypedArrayView::set): (JSC::GenericTypedArrayView::setRange): (JSC::GenericTypedArrayView::zeroRange): (JSC::GenericTypedArrayView::zeroFill): (JSC::GenericTypedArrayView::length): (JSC::GenericTypedArrayView::byteLength): (JSC::GenericTypedArrayView::item): (JSC::GenericTypedArrayView::checkInboundData): (JSC::GenericTypedArrayView::getType): * runtime/GenericTypedArrayViewInlines.h: Added. (JSC::::GenericTypedArrayView): (JSC::::create): (JSC::::createUninitialized): (JSC::::subarray): (JSC::::wrap): * runtime/IndexingHeader.h: (JSC::IndexingHeader::arrayBuffer): (JSC::IndexingHeader::setArrayBuffer): * runtime/Int16Array.h: * runtime/Int32Array.h: * runtime/Int8Array.h: * runtime/JSArrayBuffer.cpp: Added. (JSC::JSArrayBuffer::JSArrayBuffer): (JSC::JSArrayBuffer::finishCreation): (JSC::JSArrayBuffer::create): (JSC::JSArrayBuffer::createStructure): (JSC::JSArrayBuffer::getOwnPropertySlot): (JSC::JSArrayBuffer::getOwnPropertyDescriptor): (JSC::JSArrayBuffer::put): (JSC::JSArrayBuffer::defineOwnProperty): (JSC::JSArrayBuffer::deleteProperty): (JSC::JSArrayBuffer::getOwnNonIndexPropertyNames): * runtime/JSArrayBuffer.h: Added. (JSC::JSArrayBuffer::impl): (JSC::toArrayBuffer): * runtime/JSArrayBufferConstructor.cpp: Added. (JSC::JSArrayBufferConstructor::JSArrayBufferConstructor): (JSC::JSArrayBufferConstructor::finishCreation): (JSC::JSArrayBufferConstructor::create): (JSC::JSArrayBufferConstructor::createStructure): (JSC::constructArrayBuffer): (JSC::JSArrayBufferConstructor::getConstructData): (JSC::JSArrayBufferConstructor::getCallData): * runtime/JSArrayBufferConstructor.h: Added. * runtime/JSArrayBufferPrototype.cpp: Added. (JSC::arrayBufferProtoFuncSlice): (JSC::JSArrayBufferPrototype::JSArrayBufferPrototype): (JSC::JSArrayBufferPrototype::finishCreation): (JSC::JSArrayBufferPrototype::create): (JSC::JSArrayBufferPrototype::createStructure): * runtime/JSArrayBufferPrototype.h: Added. * runtime/JSArrayBufferView.cpp: Added. (JSC::JSArrayBufferView::ConstructionContext::ConstructionContext): (JSC::JSArrayBufferView::JSArrayBufferView): (JSC::JSArrayBufferView::finishCreation): (JSC::JSArrayBufferView::getOwnPropertySlot): (JSC::JSArrayBufferView::getOwnPropertyDescriptor): (JSC::JSArrayBufferView::put): (JSC::JSArrayBufferView::defineOwnProperty): (JSC::JSArrayBufferView::deleteProperty): (JSC::JSArrayBufferView::getOwnNonIndexPropertyNames): (JSC::JSArrayBufferView::finalize): * runtime/JSArrayBufferView.h: Added. (JSC::JSArrayBufferView::sizeOf): (JSC::JSArrayBufferView::ConstructionContext::operator!): (JSC::JSArrayBufferView::ConstructionContext::structure): (JSC::JSArrayBufferView::ConstructionContext::vector): (JSC::JSArrayBufferView::ConstructionContext::length): (JSC::JSArrayBufferView::ConstructionContext::mode): (JSC::JSArrayBufferView::ConstructionContext::butterfly): (JSC::JSArrayBufferView::mode): (JSC::JSArrayBufferView::vector): (JSC::JSArrayBufferView::length): (JSC::JSArrayBufferView::offsetOfVector): (JSC::JSArrayBufferView::offsetOfLength): (JSC::JSArrayBufferView::offsetOfMode): * runtime/JSArrayBufferViewInlines.h: Added. (JSC::JSArrayBufferView::slowDownAndWasteMemoryIfNecessary): (JSC::JSArrayBufferView::buffer): (JSC::JSArrayBufferView::impl): (JSC::JSArrayBufferView::neuter): (JSC::JSArrayBufferView::byteOffset): * runtime/JSCell.cpp: (JSC::JSCell::slowDownAndWasteMemory): (JSC::JSCell::getTypedArrayImpl): * runtime/JSCell.h: * runtime/JSDataView.cpp: Added. (JSC::JSDataView::JSDataView): (JSC::JSDataView::create): (JSC::JSDataView::createUninitialized): (JSC::JSDataView::set): (JSC::JSDataView::typedImpl): (JSC::JSDataView::getOwnPropertySlot): (JSC::JSDataView::getOwnPropertyDescriptor): (JSC::JSDataView::slowDownAndWasteMemory): (JSC::JSDataView::getTypedArrayImpl): (JSC::JSDataView::createStructure): * runtime/JSDataView.h: Added. * runtime/JSDataViewPrototype.cpp: Added. (JSC::JSDataViewPrototype::JSDataViewPrototype): (JSC::JSDataViewPrototype::create): (JSC::JSDataViewPrototype::createStructure): (JSC::JSDataViewPrototype::getOwnPropertySlot): (JSC::JSDataViewPrototype::getOwnPropertyDescriptor): (JSC::getData): (JSC::setData): (JSC::dataViewProtoFuncGetInt8): (JSC::dataViewProtoFuncGetInt16): (JSC::dataViewProtoFuncGetInt32): (JSC::dataViewProtoFuncGetUint8): (JSC::dataViewProtoFuncGetUint16): (JSC::dataViewProtoFuncGetUint32): (JSC::dataViewProtoFuncGetFloat32): (JSC::dataViewProtoFuncGetFloat64): (JSC::dataViewProtoFuncSetInt8): (JSC::dataViewProtoFuncSetInt16): (JSC::dataViewProtoFuncSetInt32): (JSC::dataViewProtoFuncSetUint8): (JSC::dataViewProtoFuncSetUint16): (JSC::dataViewProtoFuncSetUint32): (JSC::dataViewProtoFuncSetFloat32): (JSC::dataViewProtoFuncSetFloat64): * runtime/JSDataViewPrototype.h: Added. * runtime/JSFloat32Array.h: Added. * runtime/JSFloat64Array.h: Added. * runtime/JSGenericTypedArrayView.h: Added. (JSC::JSGenericTypedArrayView::byteLength): (JSC::JSGenericTypedArrayView::byteSize): (JSC::JSGenericTypedArrayView::typedVector): (JSC::JSGenericTypedArrayView::canGetIndexQuickly): (JSC::JSGenericTypedArrayView::canSetIndexQuickly): (JSC::JSGenericTypedArrayView::getIndexQuicklyAsNativeValue): (JSC::JSGenericTypedArrayView::getIndexQuicklyAsDouble): (JSC::JSGenericTypedArrayView::getIndexQuickly): (JSC::JSGenericTypedArrayView::setIndexQuicklyToNativeValue): (JSC::JSGenericTypedArrayView::setIndexQuicklyToDouble): (JSC::JSGenericTypedArrayView::setIndexQuickly): (JSC::JSGenericTypedArrayView::canAccessRangeQuickly): (JSC::JSGenericTypedArrayView::typedImpl): (JSC::JSGenericTypedArrayView::createStructure): (JSC::JSGenericTypedArrayView::info): (JSC::toNativeTypedView): * runtime/JSGenericTypedArrayViewConstructor.h: Added. * runtime/JSGenericTypedArrayViewConstructorInlines.h: Added. (JSC::::JSGenericTypedArrayViewConstructor): (JSC::::finishCreation): (JSC::::create): (JSC::::createStructure): (JSC::constructGenericTypedArrayView): (JSC::::getConstructData): (JSC::::getCallData): * runtime/JSGenericTypedArrayViewInlines.h: Added. (JSC::::JSGenericTypedArrayView): (JSC::::create): (JSC::::createUninitialized): (JSC::::validateRange): (JSC::::setWithSpecificType): (JSC::::set): (JSC::::getOwnPropertySlot): (JSC::::getOwnPropertyDescriptor): (JSC::::put): (JSC::::defineOwnProperty): (JSC::::deleteProperty): (JSC::::getOwnPropertySlotByIndex): (JSC::::putByIndex): (JSC::::deletePropertyByIndex): (JSC::::getOwnNonIndexPropertyNames): (JSC::::getOwnPropertyNames): (JSC::::visitChildren): (JSC::::copyBackingStore): (JSC::::slowDownAndWasteMemory): (JSC::::getTypedArrayImpl): * runtime/JSGenericTypedArrayViewPrototype.h: Added. * runtime/JSGenericTypedArrayViewPrototypeInlines.h: Added. (JSC::genericTypedArrayViewProtoFuncSet): (JSC::genericTypedArrayViewProtoFuncSubarray): (JSC::::JSGenericTypedArrayViewPrototype): (JSC::::finishCreation): (JSC::::create): (JSC::::createStructure): * runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::reset): (JSC::JSGlobalObject::visitChildren): * runtime/JSGlobalObject.h: (JSC::JSGlobalObject::arrayBufferPrototype): (JSC::JSGlobalObject::arrayBufferStructure): (JSC::JSGlobalObject::typedArrayStructure): * runtime/JSInt16Array.h: Added. * runtime/JSInt32Array.h: Added. * runtime/JSInt8Array.h: Added. * runtime/JSTypedArrayConstructors.cpp: Added. * runtime/JSTypedArrayConstructors.h: Added. * runtime/JSTypedArrayPrototypes.cpp: Added. * runtime/JSTypedArrayPrototypes.h: Added. * runtime/JSTypedArrays.cpp: Added. * runtime/JSTypedArrays.h: Added. * runtime/JSUint16Array.h: Added. * runtime/JSUint32Array.h: Added. * runtime/JSUint8Array.h: Added. * runtime/JSUint8ClampedArray.h: Added. * runtime/Operations.h: * runtime/Options.h: * runtime/SimpleTypedArrayController.cpp: Added. (JSC::SimpleTypedArrayController::SimpleTypedArrayController): (JSC::SimpleTypedArrayController::~SimpleTypedArrayController): (JSC::SimpleTypedArrayController::toJS): * runtime/SimpleTypedArrayController.h: Added. * runtime/Structure.h: (JSC::Structure::couldHaveIndexingHeader): * runtime/StructureInlines.h: (JSC::Structure::hasIndexingHeader): * runtime/TypedArrayAdaptors.h: Added. (JSC::IntegralTypedArrayAdaptor::toNative): (JSC::IntegralTypedArrayAdaptor::toJSValue): (JSC::IntegralTypedArrayAdaptor::toDouble): (JSC::FloatTypedArrayAdaptor::toNative): (JSC::FloatTypedArrayAdaptor::toJSValue): (JSC::FloatTypedArrayAdaptor::toDouble): (JSC::Uint8ClampedAdaptor::toNative): (JSC::Uint8ClampedAdaptor::toJSValue): (JSC::Uint8ClampedAdaptor::toDouble): (JSC::Uint8ClampedAdaptor::clamp): * runtime/TypedArrayController.cpp: Added. (JSC::TypedArrayController::TypedArrayController): (JSC::TypedArrayController::~TypedArrayController): * runtime/TypedArrayController.h: Added. * runtime/TypedArrayDescriptor.h: Removed. * runtime/TypedArrayInlines.h: Added. * runtime/TypedArrayType.cpp: Added. (JSC::classInfoForType): (WTF::printInternal): * runtime/TypedArrayType.h: Added. (JSC::toIndex): (JSC::isTypedView): (JSC::elementSize): (JSC::isInt): (JSC::isFloat): (JSC::isSigned): (JSC::isClamped): * runtime/TypedArrays.h: Added. * runtime/Uint16Array.h: * runtime/Uint32Array.h: * runtime/Uint8Array.h: * runtime/Uint8ClampedArray.h: * runtime/VM.cpp: (JSC::VM::VM): (JSC::VM::~VM): * runtime/VM.h: Source/WebCore: Reviewed by Oliver Hunt. Typed arrays are now implemented in JavaScriptCore, and WebCore is merely a client of them. There is only one layering violation: WebCore installs a WebCoreTypedArrayController on VM, which makes the ArrayBuffer<->JSArrayBuffer relationship resemble DOM wrappers. By default, JSC makes the ownership go one way; the JSArrayBuffer keeps the ArrayBuffer alive but if ArrayBuffer is kept alive from native code then the JSArrayByffer may die. WebCoreTypedArrayController will keep the JSArrayBuffer alive if the ArrayBuffer is in the opaque root set. To make non-JSDOMWrappers behave like DOM wrappers, a bunch of code is changed to make most references to wrappers refer to JSObject* rather than JSDOMWrapper*. Array buffer views are now transient; the JS array buffer view wrappers don't own them or keep them alive. This required a bunch of changes to make bindings code use RefPtr<ArrayBufferView> to hold onto their views. Also there is a bunch of new code to make JSC-provided array buffers and views obey the toJS/to<ClassName> idiom for wrapping and unwrapping. Finally, the DataView API is now completely different: the JSDataView provides the same user-visible JS API but using its own internal magic; the C++ code that uses DataView now uses a rather different API that is not aware of usual DOM semantics, since it's in JSC and not WebCore. It's equally useful for all of WebCore's purposes, but some code had to change to adapt the new conventions. Some tests have been changed or rebased due to changes in behavior, that bring us into conformance with where the standards are going and allow us to match Firefox behavior. Automake work and some additional GTK changes courtesy of Zan Dobersek <zdobersek@igalia.com>. Additional Qt changes courtesy of Arunprasad Rajkumar <arurajku@cisco.com>. * CMakeLists.txt: * DerivedSources.make: * ForwardingHeaders/runtime/DataView.h: Added. * ForwardingHeaders/runtime/JSArrayBuffer.h: Added. * ForwardingHeaders/runtime/JSArrayBufferView.h: Added. * ForwardingHeaders/runtime/JSDataView.h: Added. * ForwardingHeaders/runtime/JSTypedArrays.h: Added. * ForwardingHeaders/runtime/TypedArrayController.h: Added. * ForwardingHeaders/runtime/TypedArrayInlines.h: Added. * ForwardingHeaders/runtime/TypedArrays.h: Added. * GNUmakefile.list.am: * Modules/webaudio/RealtimeAnalyser.h: * Target.pri: * UseJSC.cmake: * WebCore.exp.in: * WebCore.vcxproj/WebCore.vcxproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/DOMWrapperWorld.h: * bindings/js/JSArrayBufferCustom.cpp: Removed. * bindings/js/JSArrayBufferViewHelper.h: Removed. * bindings/js/JSAudioContextCustom.cpp: * bindings/js/JSBindingsAllInOne.cpp: * bindings/js/JSBlobCustom.cpp: * bindings/js/JSCSSRuleCustom.cpp: (WebCore::toJS): * bindings/js/JSCSSValueCustom.cpp: (WebCore::toJS): * bindings/js/JSCryptoCustom.cpp: (WebCore::JSCrypto::getRandomValues): * bindings/js/JSDOMBinding.h: (WebCore::wrapperOwner): (WebCore::wrapperContext): (WebCore::getInlineCachedWrapper): (WebCore::setInlineCachedWrapper): (WebCore::clearInlineCachedWrapper): (WebCore::getCachedWrapper): (WebCore::cacheWrapper): (WebCore::uncacheWrapper): (WebCore::wrap): (WebCore::toJS): (WebCore::toArrayBufferView): (WebCore::toInt8Array): (WebCore::toInt16Array): (WebCore::toInt32Array): (WebCore::toUint8Array): (WebCore::toUint8ClampedArray): (WebCore::toUint16Array): (WebCore::toUint32Array): (WebCore::toFloat32Array): (WebCore::toFloat64Array): (WebCore::toDataView): * bindings/js/JSDataViewCustom.cpp: Removed. * bindings/js/JSDictionary.cpp: * bindings/js/JSDictionary.h: * bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::location): (WebCore::toJS): * bindings/js/JSEventCustom.cpp: (WebCore::toJS): * bindings/js/JSFileReaderCustom.cpp: * bindings/js/JSHTMLCollectionCustom.cpp: (WebCore::toJS): * bindings/js/JSHTMLTemplateElementCustom.cpp: (WebCore::JSHTMLTemplateElement::content): * bindings/js/JSImageDataCustom.cpp: (WebCore::toJS): * bindings/js/JSInjectedScriptHostCustom.cpp: * bindings/js/JSMessageEventCustom.cpp: * bindings/js/JSMessagePortCustom.cpp: * bindings/js/JSSVGPathSegCustom.cpp: (WebCore::toJS): * bindings/js/JSStyleSheetCustom.cpp: (WebCore::toJS): * bindings/js/JSTrackCustom.cpp: (WebCore::toJS): * bindings/js/JSWebGLRenderingContextCustom.cpp: * bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::send): * bindings/js/SerializedScriptValue.cpp: (WebCore::SerializedScriptValue::transferArrayBuffers): * bindings/js/WebCoreJSClientData.h: (WebCore::initNormalWorldClientData): * bindings/js/WebCoreTypedArrayController.cpp: Added. (WebCore::WebCoreTypedArrayController::WebCoreTypedArrayController): (WebCore::WebCoreTypedArrayController::~WebCoreTypedArrayController): (WebCore::WebCoreTypedArrayController::toJS): (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::isReachableFromOpaqueRoots): (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::finalize): * bindings/js/WebCoreTypedArrayController.h: Added. (WebCore::WebCoreTypedArrayController::wrapperOwner): * bindings/scripts/CodeGenerator.pm: (ForAllParents): (ParseInterface): (SkipIncludeHeader): (IsTypedArrayType): (IsWrapperType): * bindings/scripts/CodeGeneratorJS.pm: (AddIncludesForType): (GenerateHeader): (GenerateImplementation): (GenerateParametersCheck): (GetNativeType): (JSValueToNative): (NativeToJSValue): (GenerateConstructorDefinition): (GenerateConstructorHelperMethods): * fileapi/WebKitBlobBuilder.cpp: (WebCore::BlobBuilder::append): * fileapi/WebKitBlobBuilder.h: * html/canvas/ArrayBuffer.idl: Removed. * html/canvas/ArrayBufferView.idl: Removed. * html/canvas/DataView.cpp: Removed. * html/canvas/DataView.h: Removed. * html/canvas/DataView.idl: Removed. * html/canvas/Float32Array.idl: Removed. * html/canvas/Float64Array.idl: Removed. * html/canvas/Int16Array.idl: Removed. * html/canvas/Int32Array.idl: Removed. * html/canvas/Int8Array.idl: Removed. * html/canvas/Uint16Array.idl: Removed. * html/canvas/Uint32Array.idl: Removed. * html/canvas/Uint8Array.idl: Removed. * html/canvas/Uint8ClampedArray.idl: Removed. * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::readPixels): (WebCore::WebGLRenderingContext::validateTexFuncData): * page/Crypto.cpp: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForLoadingOfResource): (WebCore::MediaPlayerPrivateAVFoundationObjC::extractKeyURIKeyIDAndCertificateFromInitData): * platform/graphics/filters/FECustomFilter.h: * platform/graphics/filters/FEGaussianBlur.cpp: * platform/graphics/filters/FilterEffect.cpp: * testing/MockCDM.cpp: Source/WebKit2: Reviewed by Oliver Hunt. You don't need to include JSUint8Array anymore if you just want to unwrap one; JSDOMBinding gives you all of the things you need. * WebProcess/InjectedBundle/InjectedBundle.cpp: Source/WTF: Reviewed by Oliver Hunt. - Added the notion of a reference counted object that can be marked Deferred, which is like a special-purpose upref. - Added a common byte flipper. Automake work courtesy of Zan Dobersek <zdobersek@igalia.com>. * GNUmakefile.list.am: * WTF.xcodeproj/project.pbxproj: * wtf/DeferrableRefCounted.h: Added. (WTF::DeferrableRefCountedBase::ref): (WTF::DeferrableRefCountedBase::hasOneRef): (WTF::DeferrableRefCountedBase::refCount): (WTF::DeferrableRefCountedBase::isDeferred): (WTF::DeferrableRefCountedBase::DeferrableRefCountedBase): (WTF::DeferrableRefCountedBase::~DeferrableRefCountedBase): (WTF::DeferrableRefCountedBase::derefBase): (WTF::DeferrableRefCountedBase::setIsDeferredBase): (WTF::DeferrableRefCounted::deref): (WTF::DeferrableRefCounted::setIsDeferred): (WTF::DeferrableRefCounted::DeferrableRefCounted): (WTF::DeferrableRefCounted::~DeferrableRefCounted): * wtf/FlipBytes.h: Added. (WTF::needToFlipBytesIfLittleEndian): (WTF::flipBytes): (WTF::flipBytesIfLittleEndian): LayoutTests: Reviewed by Oliver Hunt. * fast/canvas/webgl/array-set-invalid-arguments-expected.txt: * fast/canvas/webgl/array-set-out-of-bounds-expected.txt: * fast/canvas/webgl/array-unit-tests-expected.txt: * fast/canvas/webgl/array-unit-tests.html: * fast/canvas/webgl/data-view-crash-expected.txt: * fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js: (checkView): * fast/dom/call-a-constructor-as-a-function-expected.txt: * fast/dom/call-a-constructor-as-a-function.html: * fast/js/constructor-length.html: * fast/js/global-constructors-attributes-dedicated-worker-expected.txt: * fast/js/global-constructors-attributes-expected.txt: * fast/js/global-constructors-attributes-shared-worker-expected.txt: * fast/js/regress/ArrayBuffer-Int8Array-alloc-expected.txt: Added. * fast/js/regress/ArrayBuffer-Int8Array-alloc-huge-long-lived-expected.txt: Added. * fast/js/regress/ArrayBuffer-Int8Array-alloc-huge-long-lived.html: Added. * fast/js/regress/ArrayBuffer-Int8Array-alloc-large-long-lived-expected.txt: Added. * fast/js/regress/ArrayBuffer-Int8Array-alloc-large-long-lived.html: Added. * fast/js/regress/ArrayBuffer-Int8Array-alloc-long-lived-buffer-expected.txt: Added. * fast/js/regress/ArrayBuffer-Int8Array-alloc-long-lived-buffer.html: Added. * fast/js/regress/ArrayBuffer-Int8Array-alloc-long-lived-expected.txt: Added. * fast/js/regress/ArrayBuffer-Int8Array-alloc-long-lived.html: Added. * fast/js/regress/ArrayBuffer-Int8Array-alloc.html: Added. * fast/js/regress/Int32Array-Int8Array-view-alloc-expected.txt: Added. * fast/js/regress/Int32Array-Int8Array-view-alloc.html: Added. * fast/js/regress/Int32Array-alloc-expected.txt: Added. * fast/js/regress/Int32Array-alloc-huge-expected.txt: Added. * fast/js/regress/Int32Array-alloc-huge-long-lived-expected.txt: Added. * fast/js/regress/Int32Array-alloc-huge-long-lived.html: Added. * fast/js/regress/Int32Array-alloc-huge.html: Added. * fast/js/regress/Int32Array-alloc-large-expected.txt: Added. * fast/js/regress/Int32Array-alloc-large-long-lived-expected.txt: Added. * fast/js/regress/Int32Array-alloc-large-long-lived.html: Added. * fast/js/regress/Int32Array-alloc-large.html: Added. * fast/js/regress/Int32Array-alloc-long-lived-expected.txt: Added. * fast/js/regress/Int32Array-alloc-long-lived.html: Added. * fast/js/regress/Int32Array-alloc.html: Added. * fast/js/regress/script-tests/ArrayBuffer-Int8Array-alloc-huge-long-lived.js: Added. * fast/js/regress/script-tests/ArrayBuffer-Int8Array-alloc-large-long-lived.js: Added. * fast/js/regress/script-tests/ArrayBuffer-Int8Array-alloc-long-lived-buffer.js: Added. * fast/js/regress/script-tests/ArrayBuffer-Int8Array-alloc-long-lived.js: Added. * fast/js/regress/script-tests/ArrayBuffer-Int8Array-alloc.js: Added. * fast/js/regress/script-tests/Int32Array-Int8Array-view-alloc.js: Added. * fast/js/regress/script-tests/Int32Array-alloc-huge-long-lived.js: Added. * fast/js/regress/script-tests/Int32Array-alloc-huge.js: Added. * fast/js/regress/script-tests/Int32Array-alloc-large-long-lived.js: Added. * fast/js/regress/script-tests/Int32Array-alloc-large.js: Added. * fast/js/regress/script-tests/Int32Array-alloc-long-lived.js: Added. * fast/js/regress/script-tests/Int32Array-alloc.js: Added. * platform/mac/fast/js/constructor-length-expected.txt: * webgl/resources/webgl_test_files/conformance/typedarrays/array-unit-tests.html: * webgl/resources/webgl_test_files/conformance/typedarrays/data-view-test.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Aug, 2013 1 commit
-
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=119489 Reviewed by Filip Pizlo. Source/JavaScriptCore: Move TypedArray implementation into JSC in advance of re-implementation * GNUmakefile.list.am: * JSCTypedArrayStubs.h: * JavaScriptCore.xcodeproj/project.pbxproj: * runtime/ArrayBuffer.cpp: Renamed from Source/WTF/wtf/ArrayBuffer.cpp. (JSC::ArrayBuffer::transfer): (JSC::ArrayBuffer::addView): (JSC::ArrayBuffer::removeView): * runtime/ArrayBuffer.h: Renamed from Source/WTF/wtf/ArrayBuffer.h. (JSC::ArrayBufferContents::ArrayBufferContents): (JSC::ArrayBufferContents::data): (JSC::ArrayBufferContents::sizeInBytes): (JSC::ArrayBufferContents::transfer): (JSC::ArrayBufferContents::copyTo): (JSC::ArrayBuffer::isNeutered): (JSC::ArrayBuffer::~ArrayBuffer): (JSC::ArrayBuffer::clampValue): (JSC::ArrayBuffer::create): (JSC::ArrayBuffer::createUninitialized): (JSC::ArrayBuffer::ArrayBuffer): (JSC::ArrayBuffer::data): (JSC::ArrayBuffer::byteLength): (JSC::ArrayBuffer::slice): (JSC::ArrayBuffer::sliceImpl): (JSC::ArrayBuffer::clampIndex): (JSC::ArrayBufferContents::tryAllocate): (JSC::ArrayBufferContents::~ArrayBufferContents): * runtime/ArrayBufferView.cpp: Renamed from Source/WTF/wtf/ArrayBufferView.cpp. (JSC::ArrayBufferView::ArrayBufferView): (JSC::ArrayBufferView::~ArrayBufferView): (JSC::ArrayBufferView::neuter): * runtime/ArrayBufferView.h: Renamed from Source/WTF/wtf/ArrayBufferView.h. (JSC::ArrayBufferView::buffer): (JSC::ArrayBufferView::baseAddress): (JSC::ArrayBufferView::byteOffset): (JSC::ArrayBufferView::setNeuterable): (JSC::ArrayBufferView::isNeuterable): (JSC::ArrayBufferView::verifySubRange): (JSC::ArrayBufferView::clampOffsetAndNumElements): (JSC::ArrayBufferView::setImpl): (JSC::ArrayBufferView::setRangeImpl): (JSC::ArrayBufferView::zeroRangeImpl): (JSC::ArrayBufferView::calculateOffsetAndLength): * runtime/Float32Array.h: Renamed from Source/WTF/wtf/Float32Array.h. (JSC::Float32Array::set): (JSC::Float32Array::getType): (JSC::Float32Array::create): (JSC::Float32Array::createUninitialized): (JSC::Float32Array::Float32Array): (JSC::Float32Array::subarray): * runtime/Float64Array.h: Renamed from Source/WTF/wtf/Float64Array.h. (JSC::Float64Array::set): (JSC::Float64Array::getType): (JSC::Float64Array::create): (JSC::Float64Array::createUninitialized): (JSC::Float64Array::Float64Array): (JSC::Float64Array::subarray): * runtime/Int16Array.h: Renamed from Source/WTF/wtf/Int16Array.h. (JSC::Int16Array::getType): (JSC::Int16Array::create): (JSC::Int16Array::createUninitialized): (JSC::Int16Array::Int16Array): (JSC::Int16Array::subarray): * runtime/Int32Array.h: Renamed from Source/WTF/wtf/Int32Array.h. (JSC::Int32Array::getType): (JSC::Int32Array::create): (JSC::Int32Array::createUninitialized): (JSC::Int32Array::Int32Array): (JSC::Int32Array::subarray): * runtime/Int8Array.h: Renamed from Source/WTF/wtf/Int8Array.h. (JSC::Int8Array::getType): (JSC::Int8Array::create): (JSC::Int8Array::createUninitialized): (JSC::Int8Array::Int8Array): (JSC::Int8Array::subarray): * runtime/IntegralTypedArrayBase.h: Renamed from Source/WTF/wtf/IntegralTypedArrayBase.h. (JSC::IntegralTypedArrayBase::set): (JSC::IntegralTypedArrayBase::IntegralTypedArrayBase): * runtime/TypedArrayBase.h: Renamed from Source/WTF/wtf/TypedArrayBase.h. (JSC::TypedArrayBase::data): (JSC::TypedArrayBase::set): (JSC::TypedArrayBase::setRange): (JSC::TypedArrayBase::zeroRange): (JSC::TypedArrayBase::length): (JSC::TypedArrayBase::byteLength): (JSC::TypedArrayBase::item): (JSC::TypedArrayBase::checkInboundData): (JSC::TypedArrayBase::TypedArrayBase): (JSC::TypedArrayBase::create): (JSC::TypedArrayBase::createUninitialized): (JSC::TypedArrayBase::subarrayImpl): (JSC::TypedArrayBase::neuter): * runtime/Uint16Array.h: Renamed from Source/WTF/wtf/Uint16Array.h. (JSC::Uint16Array::getType): (JSC::Uint16Array::create): (JSC::Uint16Array::createUninitialized): (JSC::Uint16Array::Uint16Array): (JSC::Uint16Array::subarray): * runtime/Uint32Array.h: Renamed from Source/WTF/wtf/Uint32Array.h. (JSC::Uint32Array::getType): (JSC::Uint32Array::create): (JSC::Uint32Array::createUninitialized): (JSC::Uint32Array::Uint32Array): (JSC::Uint32Array::subarray): * runtime/Uint8Array.h: Renamed from Source/WTF/wtf/Uint8Array.h. (JSC::Uint8Array::getType): (JSC::Uint8Array::create): (JSC::Uint8Array::createUninitialized): (JSC::Uint8Array::Uint8Array): (JSC::Uint8Array::subarray): * runtime/Uint8ClampedArray.h: Renamed from Source/WTF/wtf/Uint8ClampedArray.h. (JSC::Uint8ClampedArray::getType): (JSC::Uint8ClampedArray::create): (JSC::Uint8ClampedArray::createUninitialized): (JSC::Uint8ClampedArray::zeroFill): (JSC::Uint8ClampedArray::set): (JSC::Uint8ClampedArray::Uint8ClampedArray): (JSC::Uint8ClampedArray::subarray): * runtime/VM.h: Source/WebCore: Update WebCore for new location of TypedArray implementation. * ForwardingHeaders/runtime/ArrayBuffer.h: Added. * ForwardingHeaders/runtime/ArrayBufferView.h: Added. * ForwardingHeaders/runtime/Float32Array.h: Added. * ForwardingHeaders/runtime/Float64Array.h: Added. * ForwardingHeaders/runtime/Int16Array.h: Added. * ForwardingHeaders/runtime/Int32Array.h: Added. * ForwardingHeaders/runtime/Int8Array.h: Added. * ForwardingHeaders/runtime/IntegralTypedArrayBase.h: Added. * ForwardingHeaders/runtime/TypedArrayBase.h: Added. * ForwardingHeaders/runtime/Uint16Array.h: Added. * ForwardingHeaders/runtime/Uint32Array.h: Added. * ForwardingHeaders/runtime/Uint8Array.h: Added. * ForwardingHeaders/runtime/Uint8ClampedArray.h: Added. * Modules/webaudio/AnalyserNode.h: (WebCore::AnalyserNode::getFloatFrequencyData): (WebCore::AnalyserNode::getByteFrequencyData): (WebCore::AnalyserNode::getByteTimeDomainData): * Modules/webaudio/AsyncAudioDecoder.cpp: * Modules/webaudio/AsyncAudioDecoder.h: (WebCore::AsyncAudioDecoder::DecodingTask::audioData): * Modules/webaudio/AudioBuffer.h: * Modules/webaudio/AudioContext.cpp: * Modules/webaudio/AudioParam.h: * Modules/webaudio/AudioParamTimeline.h: * Modules/webaudio/PeriodicWave.h: * Modules/webaudio/RealtimeAnalyser.cpp: * Modules/webaudio/RealtimeAnalyser.h: * Modules/webaudio/ScriptProcessorNode.cpp: * Modules/webaudio/WaveShaperProcessor.h: * Modules/websockets/ThreadableWebSocketChannel.h: * Modules/websockets/WebSocket.cpp: * Modules/websockets/WebSocket.h: * Modules/websockets/WebSocketChannel.cpp: * Modules/websockets/WebSocketChannel.h: * Modules/websockets/WorkerThreadableWebSocketChannel.cpp: * Modules/websockets/WorkerThreadableWebSocketChannel.h: * WebCore.exp.in: * bindings/js/JSArrayBufferCustom.cpp: * bindings/js/JSArrayBufferViewHelper.h: * bindings/js/JSAudioContextCustom.cpp: * bindings/js/JSCryptoCustom.cpp: * bindings/js/JSDictionary.h: * bindings/js/JSFileReaderCustom.cpp: * bindings/js/JSWebGLRenderingContextCustom.cpp: * bindings/js/JSXMLHttpRequestCustom.cpp: * bindings/js/SerializedScriptValue.cpp: (WebCore::SerializedScriptValue::transferArrayBuffers): * bindings/js/SerializedScriptValue.h: * bindings/scripts/CodeGeneratorJS.pm: (AddIncludesForType): (GenerateHeader): (NativeToJSValue): * dom/MessageEvent.h: * fileapi/FileReader.cpp: * fileapi/FileReader.h: * fileapi/FileReaderLoader.cpp: * fileapi/FileReaderLoader.h: * fileapi/FileReaderSync.cpp: * fileapi/FileReaderSync.h: * fileapi/WebKitBlobBuilder.cpp: * fileapi/WebKitBlobBuilder.h: * html/HTMLMediaElement.cpp: * html/ImageData.h: * html/canvas/ArrayBuffer.idl: * html/canvas/ArrayBufferView.idl: * html/canvas/CanvasRenderingContext2D.cpp: * html/canvas/DataView.h: * 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/WebGLBuffer.h: (WebCore::WebGLBuffer::elementArrayBuffer): * html/canvas/WebGLGetInfo.cpp: * html/canvas/WebGLGetInfo.h: * html/canvas/WebGLRenderingContext.cpp: * html/canvas/WebGLRenderingContext.h: * inspector/InspectorMemoryAgent.cpp: * page/Crypto.cpp: * page/Crypto.h: * platform/graphics/GraphicsContext3D.cpp: * platform/graphics/ImageBuffer.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: * platform/graphics/cg/ImageBufferDataCG.h: * platform/graphics/filters/FEBlend.cpp: * platform/graphics/filters/FEColorMatrix.cpp: * platform/graphics/filters/FEComponentTransfer.cpp: * platform/graphics/filters/FEComposite.cpp: * platform/graphics/filters/FEConvolveMatrix.cpp: * platform/graphics/filters/FECustomFilter.cpp: * platform/graphics/filters/FEDisplacementMap.cpp: * platform/graphics/filters/FEDropShadow.cpp: * platform/graphics/filters/FEGaussianBlur.cpp: * platform/graphics/filters/FELighting.h: * platform/graphics/filters/FEMorphology.cpp: * platform/graphics/filters/FETurbulence.cpp: * platform/graphics/filters/FilterEffect.cpp: * platform/graphics/filters/FilterEffect.h: * platform/graphics/mac/GraphicsContext3DMac.mm: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * testing/Internals.h: * xml/XMLHttpRequest.cpp: * xml/XMLHttpRequest.h: (WebCore::XMLHttpRequest::optionalResponseArrayBuffer): Source/WTF: Remove TypedArray implementation from WTF * GNUmakefile.list.am: * WTF.xcodeproj/project.pbxproj: * wtf/Forward.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Jun, 2013 1 commit
-
-
ch.dumez@sisa.samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=118071 Reviewed by Kentaro Hara. .: Update GENERATE_BINDINGS CMake macro to take 2 additional parameters now needed by the preprocess-idls.pl script. * Source/cmake/WebKitMacros.cmake: Source/WebCore: Expose WorkerGlobalScope interface in worker environment as per the latest specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#the-workerglobalscope-common-interface Also expose the SharedWorkerGlobalScope interface when the JavaScript global environment is a shared worker environment, and the DedicatedWorkerGlobalScope interface when the JavaScript global environment is a dedicated worker environment: http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#sharedworkerglobalscope http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#dedicatedworkerglobalscope The semantics of the [GlobalContext] IDL extended attribute has changed to support this use case. The value for the extended attribute is now the name of the interface to which the Constructor attribute should be added (Window, WorkerGlobalScope, SharedWorkerGlobalScope...). It is possible to specify several interface names by using '&' as separator. For e.g. [GlobalContext=DOMWindow&WorkerGlobalScope]. Tests: fast/js/global-constructors-attributes-dedicated-worker.html fast/js/global-constructors-attributes-shared-worker.html * CMakeLists.txt: * DerivedSources.make: * DerivedSources.pri: * GNUmakefile.am: * Modules/websockets/WebSocket.idl: * UseJSC.cmake: * bindings/scripts/CodeGeneratorJS.pm: (GenerateConstructorHelperMethods): * bindings/scripts/IDLAttributes.txt: * bindings/scripts/generate-bindings.pl: (checkIfIDLAttributesExists): * bindings/scripts/preprocess-idls.pl: * dom/MessageChannel.idl: * dom/MessageEvent.idl: * fileapi/Blob.idl: * fileapi/FileReader.idl: * fileapi/FileReaderSync.idl: * html/DOMURL.idl: * html/canvas/ArrayBuffer.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/Uint16Array.idl: * html/canvas/Uint32Array.idl: * html/canvas/Uint8Array.idl: * html/canvas/Uint8ClampedArray.idl: * page/EventSource.idl: * workers/DedicatedWorkerGlobalScope.idl: * workers/SharedWorkerGlobalScope.idl: * workers/WorkerGlobalScope.idl: * workers/WorkerLocation.idl: * xml/XMLHttpRequest.idl: Tools: Update bindings test script to pass 2 additional parameters now needed by the preprocess-idls.pl script. * Scripts/webkitpy/bindings/main.py: (BindingsTests.generate_supplemental_dependency): (BindingsTests.main): LayoutTests: Split fast/js/global-constructors-attributes-worker.html test into 2 for both shared and dedicated workers, as the output is now different. * fast/js/global-constructors-attributes-dedicated-worker-expected.txt: Copied from LayoutTests/fast/js/global-constructors-attributes-worker-expected.txt. * fast/js/global-constructors-attributes-dedicated-worker.html: Copied from LayoutTests/fast/js/global-constructors-attributes-worker.html. * fast/js/global-constructors-attributes-shared-worker-expected.txt: Renamed from LayoutTests/fast/js/global-constructors-attributes-worker-expected.txt. * fast/js/global-constructors-attributes-shared-worker.html: Renamed from LayoutTests/fast/js/global-constructors-attributes-worker.html. * fast/js/script-tests/global-constructors-attributes.js: (.self.postMessage): (.self.onconnect.self.postMessage): (.self.onconnect): * platform/efl/fast/js/global-constructors-attributes-dedicated-worker-expected.txt: Copied from LayoutTests/platform/gtk/fast/js/global-constructors-attributes-worker-expected.txt. * platform/efl/fast/js/global-constructors-attributes-shared-worker-expected.txt: Copied from LayoutTests/platform/gtk/fast/js/global-constructors-attributes-worker-expected.txt. * platform/gtk/fast/js/global-constructors-attributes-dedicated-worker-expected.txt: Renamed from LayoutTests/platform/gtk/fast/js/global-constructors-attributes-worker-expected.txt. * platform/gtk/fast/js/global-constructors-attributes-shared-worker-expected.txt: Renamed from LayoutTests/platform/efl/fast/js/global-constructors-attributes-worker-expected.txt. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 Jun, 2013 1 commit
-
-
ch.dumez@sisa.samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=117183 Reviewed by Kentaro Hara. .: Update GENERATE_BINDINGS macro to take an additional _workercontext_constructors_file optional argument. * Source/cmake/WebKitMacros.cmake: Source/WebCore: Add [GlobalContext=WindowOnly|WorkerOnly|WindowAndWorker] IDL extended attribute to indicate to the bindings generator on which global context the constructor attribute should be generated for interfaces without [NoInterfaceObject]: - WindowOnly: only on the global Window object (default if ommitted) - WorkerOnly: only on the worker context - WindowAndWorker: On both the global Window object and the worker context This covers all the current use cases. The JSC bindings generator now automatically generates the Constructor attributes on the WorkerContext for non-callback interfaces which do not have the [NoInterfaceObject] extended attribute but have [GlobalContext=WorkerOnly|WindowAndWorker] extended attribute. No new tests, already covered by: fast/js/global-constructors-attributes.html fast/js/global-constructors-attributes-worker.html * CMakeLists.txt: * DerivedSources.make: Pass new --workerContextConstructorsFile argument to preprocess-idls.pl. * DerivedSources.pri: Ditto. * GNUmakefile.am: Ditto. * PlatformBlackBerry.cmake: Ditto. * UseJSC.cmake: Ditto. * bindings/scripts/IDLAttributes.txt: Add [GlobalContext=WindowOnly|WorkerOnly|WindowAndWorker] IDL extended attribute. * bindings/scripts/preprocess-idls.pl: Add support for [GlobalContext] extended attribute and generate a partial interface for WorkerContext global constructors that are automatically generated. * dom/MessageEvent.idl: Add [GlobalContext=WindowAndWorker]. * fileapi/Blob.idl: Add [GlobalContext=WindowAndWorker]. * fileapi/FileReader.idl: Add [GlobalContext=WindowAndWorker]. * fileapi/FileReaderSync.idl: Add [GlobalContext=WorkerOnly] and remove [NoInterfaceObject] as the interface should only be visible in worker environment as per the spec. * html/DOMURL.idl: Add [GlobalContext=WindowAndWorker]. * html/canvas/ArrayBuffer.idl: Add [GlobalContext=WindowAndWorker]. * html/canvas/DataView.idl: Add [GlobalContext=WindowAndWorker]. * html/canvas/Float32Array.idl: Add [GlobalContext=WindowAndWorker]. * html/canvas/Float64Array.idl: Add [GlobalContext=WindowAndWorker]. * html/canvas/Int16Array.idl: Add [GlobalContext=WindowAndWorker]. * html/canvas/Int32Array.idl: Add [GlobalContext=WindowAndWorker]. * html/canvas/Int8Array.idl: Add [GlobalContext=WindowAndWorker]. * html/canvas/Uint16Array.idl: Add [GlobalContext=WindowAndWorker]. * html/canvas/Uint32Array.idl: Add [GlobalContext=WindowAndWorker]. * html/canvas/Uint8Array.idl: Add [GlobalContext=WindowAndWorker]. * html/canvas/Uint8ClampedArray.idl: Add [GlobalContext=WindowAndWorker]. * workers/WorkerContext.idl: Remove several Constructor attributes which are now automatically generated. * workers/WorkerLocation.idl: Add [GlobalContext=WorkerOnly] and remove [NoInterfaceObject] as the interface should only be visible in worker environment as per the spec. Tools: Pass new --workerContextConstructorsFile to preprocess-idl.pl for bindings tests. * Scripts/webkitpy/bindings/main.py: (BindingsTests.generate_supplemental_dependency): (BindingsTests.main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 May, 2013 1 commit
-
-
ch.dumez@sisa.samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=116308 Reviewed by Kentaro Hara. Get rid of WebKit-specific [ConstructorParameters] IDL extended attribute. Instead, [CustomConstructor] arguments are now explicitly specified, similarly to [Constructor] arguments and the constructor object's "length" property is now automatically computed for custom constructors as well. This is less error-prone as the value is not hardcoded, more consistent with [Constructor] extended attribute and gives more information about the custom constructor in the IDL file. We also get rid of a WebKit-specific IDL attribute which is always nice. No new tests, already covered by fast/js/constructor-length.html. * Modules/mediastream/MediaStream.idl: * Modules/webaudio/AudioContext.idl: * Modules/websockets/WebSocket.idl: * bindings/scripts/CodeGeneratorJS.pm: (GenerateConstructorHelperMethods): * bindings/scripts/IDLAttributes.txt: * bindings/scripts/IDLParser.pm: (applyTypedefs): (parseAttributeRest): (copyExtendedAttributes): (parseExtendedAttributeRest): (applyExtendedAttributeList): * bindings/scripts/test/JS/JSFloat64Array.cpp: (WebCore::JSFloat64ArrayConstructor::finishCreation): * bindings/scripts/test/TestTypedArray.idl: * dom/MutationObserver.idl: * fileapi/Blob.idl: * html/DOMFormData.idl: * html/canvas/ArrayBuffer.idl: * html/canvas/DataView.idl: * page/WebKitPoint.idl: * workers/SharedWorker.idl: * workers/Worker.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 Apr, 2013 2 commits
-
-
ch.dumez@sisa.samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=115418 Reviewed by Kentaro Hara. Source/WebCore: Stop using "in" keyword in IDL files as this is no longer part of the Web IDL specification and it brings no additional information. For now, the IDL parser will still accept the "in" keyword for operation argument to not break anything. However, we should remove support for it later on. No new tests, no behavior change. * Modules/battery/BatteryManager.idl: * Modules/encryptedmedia/MediaKeySession.idl: * Modules/encryptedmedia/MediaKeys.idl: * Modules/filesystem/DOMWindowFileSystem.idl: * Modules/filesystem/DirectoryEntry.idl: * Modules/filesystem/DirectoryEntrySync.idl: * Modules/filesystem/DirectoryReader.idl: * Modules/filesystem/EntriesCallback.idl: * Modules/filesystem/Entry.idl: * Modules/filesystem/EntryArray.idl: * Modules/filesystem/EntryArraySync.idl: * Modules/filesystem/EntryCallback.idl: * Modules/filesystem/EntrySync.idl: * Modules/filesystem/ErrorCallback.idl: * Modules/filesystem/FileCallback.idl: * Modules/filesystem/FileEntry.idl: * Modules/filesystem/FileSystemCallback.idl: * Modules/filesystem/FileWriter.idl: * Modules/filesystem/FileWriterCallback.idl: * Modules/filesystem/FileWriterSync.idl: * Modules/filesystem/MetadataCallback.idl: * Modules/filesystem/WorkerContextFileSystem.idl: * Modules/gamepad/GamepadList.idl: * Modules/geolocation/Geolocation.idl: * Modules/geolocation/PositionCallback.idl: * Modules/geolocation/PositionErrorCallback.idl: * Modules/indexeddb/IDBCursor.idl: * Modules/indexeddb/IDBDatabase.idl: * Modules/indexeddb/IDBFactory.idl: * Modules/indexeddb/IDBIndex.idl: * Modules/indexeddb/IDBKeyRange.idl: * Modules/indexeddb/IDBObjectStore.idl: * Modules/indexeddb/IDBRequest.idl: * Modules/indexeddb/IDBTransaction.idl: * Modules/mediasource/MediaSource.idl: * Modules/mediasource/SourceBuffer.idl: * Modules/mediasource/SourceBufferList.idl: * Modules/mediastream/MediaStream.idl: * Modules/mediastream/MediaStreamTrack.idl: * Modules/mediastream/NavigatorMediaStream.idl: * Modules/mediastream/NavigatorUserMediaErrorCallback.idl: * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl: * Modules/mediastream/RTCDTMFSender.idl: * Modules/mediastream/RTCDataChannel.idl: * Modules/mediastream/RTCErrorCallback.idl: * Modules/mediastream/RTCIceCandidate.idl: * Modules/mediastream/RTCPeerConnection.idl: * Modules/mediastream/RTCSessionDescription.idl: * Modules/mediastream/RTCSessionDescriptionCallback.idl: * Modules/mediastream/RTCStatsCallback.idl: * Modules/mediastream/RTCStatsReport.idl: * Modules/mediastream/RTCStatsResponse.idl: * Modules/navigatorcontentutils/NavigatorContentUtils.idl: * Modules/networkinfo/NetworkInfoConnection.idl: * Modules/notifications/Notification.idl: * Modules/notifications/NotificationCenter.idl: * Modules/notifications/NotificationPermissionCallback.idl: * Modules/quota/StorageErrorCallback.idl: * Modules/quota/StorageInfo.idl: * Modules/quota/StorageQuota.idl: * Modules/quota/StorageQuotaCallback.idl: * Modules/quota/StorageUsageCallback.idl: * Modules/speech/SpeechGrammarList.idl: * Modules/speech/SpeechRecognition.idl: * Modules/speech/SpeechRecognitionResult.idl: * Modules/speech/SpeechRecognitionResultList.idl: * Modules/speech/SpeechSynthesisUtterance.idl: * Modules/vibration/NavigatorVibration.idl: * Modules/webaudio/AnalyserNode.idl: * Modules/webaudio/AudioBuffer.idl: * Modules/webaudio/AudioBufferCallback.idl: * Modules/webaudio/AudioBufferSourceNode.idl: * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioListener.idl: * Modules/webaudio/AudioNode.idl: * Modules/webaudio/AudioParam.idl: * Modules/webaudio/BiquadFilterNode.idl: * Modules/webaudio/OfflineAudioContext.idl: * Modules/webaudio/OscillatorNode.idl: * Modules/webaudio/PannerNode.idl: * Modules/webdatabase/DOMWindowWebDatabase.idl: * Modules/webdatabase/Database.idl: * Modules/webdatabase/DatabaseCallback.idl: * Modules/webdatabase/DatabaseSync.idl: * Modules/webdatabase/SQLResultSetRowList.idl: * Modules/webdatabase/SQLStatementCallback.idl: * Modules/webdatabase/SQLStatementErrorCallback.idl: * Modules/webdatabase/SQLTransaction.idl: * Modules/webdatabase/SQLTransactionCallback.idl: * Modules/webdatabase/SQLTransactionErrorCallback.idl: * Modules/webdatabase/SQLTransactionSync.idl: * Modules/webdatabase/SQLTransactionSyncCallback.idl: * Modules/webdatabase/WorkerContextWebDatabase.idl: * Modules/websockets/WebSocket.idl: * bindings/scripts/test/TestCallback.idl: * bindings/scripts/test/TestCustomNamedGetter.idl: * bindings/scripts/test/TestDomainSecurity.idl: * bindings/scripts/test/TestEventTarget.idl: * bindings/scripts/test/TestInterface.idl: * bindings/scripts/test/TestMediaQueryListListener.idl: * bindings/scripts/test/TestNamedConstructor.idl: * bindings/scripts/test/TestObj.idl: * bindings/scripts/test/TestOverloadedConstructors.idl: * bindings/scripts/test/TestSerializedScriptValueInterface.idl: * bindings/scripts/test/TestSupplemental.idl: * bindings/scripts/test/TestTypedArray.idl: * bindings/scripts/test/TestTypedefs.idl: * css/CSSHostRule.idl: * css/CSSMediaRule.idl: * css/CSSPrimitiveValue.idl: * css/CSSRuleList.idl: * css/CSSStyleDeclaration.idl: * css/CSSStyleSheet.idl: * css/CSSSupportsRule.idl: * css/CSSValueList.idl: * css/FontLoader.idl: * css/MediaList.idl: * css/MediaQueryList.idl: * css/MediaQueryListListener.idl: * css/StyleMedia.idl: * css/StyleSheetList.idl: * css/WebKitCSSKeyframesRule.idl: * css/WebKitCSSMatrix.idl: * dom/CharacterData.idl: * dom/ClientRectList.idl: * dom/Clipboard.idl: * dom/CompositionEvent.idl: * dom/CustomEvent.idl: * dom/DOMImplementation.idl: * dom/DOMNamedFlowCollection.idl: * dom/DOMStringList.idl: * dom/DataTransferItem.idl: * dom/DataTransferItemList.idl: * dom/DeviceMotionEvent.idl: * dom/DeviceOrientationEvent.idl: * dom/Document.idl: * dom/DocumentFragment.idl: * dom/Element.idl: * dom/Event.idl: * dom/EventListener.idl: * dom/EventTarget.idl: * dom/HashChangeEvent.idl: * dom/KeyboardEvent.idl: * dom/MessageEvent.idl: * dom/MessagePort.idl: * dom/MouseEvent.idl: * dom/MutationEvent.idl: * dom/MutationObserver.idl: * dom/NamedNodeMap.idl: * dom/Node.idl: * dom/NodeFilter.idl: * dom/NodeList.idl: * dom/OverflowEvent.idl: * dom/PropertyNodeList.idl: * dom/Range.idl: * dom/RequestAnimationFrameCallback.idl: * dom/ShadowRoot.idl: * dom/StringCallback.idl: * dom/Text.idl: * dom/TextEvent.idl: * dom/TouchEvent.idl: * dom/TouchList.idl: * dom/UIEvent.idl: * dom/WebKitNamedFlow.idl: * dom/WheelEvent.idl: * fileapi/Blob.idl: * fileapi/FileList.idl: * fileapi/FileReader.idl: * fileapi/FileReaderSync.idl: * html/DOMFormData.idl: * html/DOMTokenList.idl: * html/DOMURL.idl: * html/HTMLAllCollection.idl: * html/HTMLAudioElement.idl: * html/HTMLButtonElement.idl: * html/HTMLCanvasElement.idl: * html/HTMLCollection.idl: * html/HTMLDocument.idl: * html/HTMLElement.idl: * html/HTMLFieldSetElement.idl: * html/HTMLFormControlsCollection.idl: * html/HTMLInputElement.idl: * html/HTMLKeygenElement.idl: * html/HTMLMediaElement.idl: * html/HTMLObjectElement.idl: * html/HTMLOptionElement.idl: * html/HTMLOptionsCollection.idl: * html/HTMLOutputElement.idl: * html/HTMLPropertiesCollection.idl: * html/HTMLSelectElement.idl: * html/HTMLTableElement.idl: * html/HTMLTableRowElement.idl: * html/HTMLTableSectionElement.idl: * html/HTMLTextAreaElement.idl: * html/MediaController.idl: * html/TimeRanges.idl: * html/canvas/ArrayBuffer.idl: * html/canvas/CanvasGradient.idl: * html/canvas/CanvasRenderingContext2D.idl: * html/canvas/DOMPath.idl: * html/canvas/DataView.idl: * html/canvas/EXTDrawBuffers.idl: * html/canvas/Float32Array.idl: * html/canvas/Float64Array.idl: * html/canvas/Int16Array.idl: * html/canvas/Int32Array.idl: * html/canvas/Int8Array.idl: * html/canvas/OESVertexArrayObject.idl: * html/canvas/Uint16Array.idl: * html/canvas/Uint32Array.idl: * html/canvas/Uint8Array.idl: * html/canvas/Uint8ClampedArray.idl: * html/canvas/WebGLDebugShaders.idl: * html/canvas/WebGLRenderingContext.idl: * html/track/AudioTrackList.idl: * html/track/TextTrack.idl: * html/track/TextTrackCue.idl: * html/track/TextTrackCueList.idl: * html/track/TextTrackList.idl: * html/track/TextTrackRegionList.idl: * html/track/VideoTrackList.idl: * inspector/InjectedScriptHost.idl: * inspector/InspectorFrontendHost.idl: * inspector/JavaScriptCallFrame.idl: * loader/appcache/DOMApplicationCache.idl: * page/Console.idl: * page/Crypto.idl: * page/DOMSecurityPolicy.idl: * page/DOMSelection.idl: * page/DOMWindow.idl: * page/EventSource.idl: * page/History.idl: * page/Location.idl: * page/PagePopupController.idl: * page/Performance.idl: * page/PerformanceEntryList.idl: * page/SpeechInputResultList.idl: * plugins/DOMMimeTypeArray.idl: * plugins/DOMPlugin.idl: * plugins/DOMPluginArray.idl: * storage/Storage.idl: * storage/StorageEvent.idl: * svg/ElementTimeControl.idl: * svg/SVGAngle.idl: * svg/SVGColor.idl: * svg/SVGDocument.idl: * svg/SVGElementInstanceList.idl: * svg/SVGFEDropShadowElement.idl: * svg/SVGFEGaussianBlurElement.idl: * svg/SVGFEMorphologyElement.idl: * svg/SVGFilterElement.idl: * svg/SVGLength.idl: * svg/SVGLengthList.idl: * svg/SVGLocatable.idl: * svg/SVGMarkerElement.idl: * svg/SVGMatrix.idl: * svg/SVGNumberList.idl: * svg/SVGPaint.idl: * svg/SVGPathElement.idl: * svg/SVGPathSegList.idl: * svg/SVGPoint.idl: * svg/SVGPointList.idl: * svg/SVGSVGElement.idl: * svg/SVGStringList.idl: * svg/SVGStyledElement.idl: * svg/SVGTests.idl: * svg/SVGTextContentElement.idl: * svg/SVGTransform.idl: * svg/SVGTransformList.idl: * testing/InternalSettings.idl: * testing/Internals.idl: * workers/AbstractWorker.idl: * workers/DedicatedWorkerContext.idl: * workers/SharedWorker.idl: * workers/Worker.idl: * workers/WorkerContext.idl: * xml/DOMParser.idl: * xml/XMLHttpRequest.idl: * xml/XMLHttpRequestUpload.idl: * xml/XMLSerializer.idl: * xml/XPathEvaluator.idl: * xml/XPathExpression.idl: * xml/XPathNSResolver.idl: * xml/XPathResult.idl: * xml/XSLTProcessor.idl: Source/WebKit/win: Remove "in" keyword from IDL files as this is no longer part of the Web IDL specification. * Interfaces/DOMEvents.idl: * Interfaces/DOMPrivate.idl: * Interfaces/DOMWindow.idl: Tools: Remove "in" keyword from IDL files as this is no longer part of the Web IDL specification. * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl: * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarker.idl: * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarkerRange.idl: * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl: * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: * WebKitTestRunner/InjectedBundle/Bindings/GCController.idl: * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: * WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ch.dumez@sisa.samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=115380 Reviewed by Kentaro Hara. Source/WebCore: Replace [Optional] with standard WebIDL optional type prefix: http://dev.w3.org/2006/webapi/WebIDL/#dfn-optional-argument The default behavior now matches WebIDL: [Optional] => optional Two cases where WebKit has extended bindings behavior still require a non-standard IDL attribute: [Optional=DefaultIsNullString] => [Default=NullString] optional [Optional=DefaultIsUndefined] => [Default=Undefined] optional Based on corresponding Blink patch from Joshua Bell for compatibility. No new tests, no behavior change. * Modules/battery/BatteryManager.idl: * Modules/encryptedmedia/MediaKeySession.idl: * Modules/encryptedmedia/MediaKeys.idl: * Modules/filesystem/DOMWindowFileSystem.idl: * Modules/filesystem/DirectoryEntry.idl: * Modules/filesystem/DirectoryReader.idl: * Modules/filesystem/Entry.idl: * Modules/filesystem/FileEntry.idl: * Modules/filesystem/FileWriter.idl: * Modules/filesystem/WorkerContextFileSystem.idl: * Modules/gamepad/GamepadList.idl: * Modules/geolocation/Geolocation.idl: * Modules/indexeddb/IDBCursor.idl: * Modules/indexeddb/IDBDatabase.idl: * Modules/indexeddb/IDBFactory.idl: * Modules/indexeddb/IDBIndex.idl: * Modules/indexeddb/IDBKeyRange.idl: * Modules/indexeddb/IDBObjectStore.idl: * Modules/indexeddb/IDBRequest.idl: * Modules/indexeddb/IDBTransaction.idl: * Modules/mediasource/MediaSource.idl: * Modules/mediasource/SourceBufferList.idl: * Modules/mediastream/MediaStream.idl: * Modules/mediastream/MediaStreamTrack.idl: * Modules/mediastream/NavigatorMediaStream.idl: * Modules/mediastream/RTCDTMFSender.idl: * Modules/mediastream/RTCDataChannel.idl: * Modules/mediastream/RTCPeerConnection.idl: * Modules/mediastream/RTCStatsResponse.idl: * Modules/networkinfo/NetworkInfoConnection.idl: * Modules/notifications/Notification.idl: * Modules/notifications/NotificationCenter.idl: * Modules/quota/StorageInfo.idl: * Modules/quota/StorageQuota.idl: * Modules/speech/SpeechGrammarList.idl: * Modules/speech/SpeechRecognition.idl: * Modules/speech/SpeechSynthesisUtterance.idl: * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioNode.idl: * Modules/webdatabase/DOMWindowWebDatabase.idl: * Modules/webdatabase/Database.idl: * Modules/webdatabase/DatabaseSync.idl: * Modules/webdatabase/SQLTransaction.idl: * Modules/webdatabase/WorkerContextWebDatabase.idl: * Modules/websockets/WebSocket.idl: * bindings/scripts/CodeGeneratorJS.pm: (GetFunctionLength): (GenerateFunctionParametersCheck): (GenerateArgumentsCountCheck): (GenerateParametersCheck): (GenerateConstructorDefinition): * bindings/scripts/IDLAttributes.txt: * bindings/scripts/IDLParser.pm: (parseOptionalOrRequiredArgument): * bindings/scripts/test/TestEventTarget.idl: * bindings/scripts/test/TestInterface.idl: * bindings/scripts/test/TestNamedConstructor.idl: * bindings/scripts/test/TestObj.idl: * bindings/scripts/test/TestSerializedScriptValueInterface.idl: * bindings/scripts/test/TestTypedefs.idl: optional cannot be used in a typedef. * css/CSSHostRule.idl: * css/CSSMediaRule.idl: * css/CSSPrimitiveValue.idl: * css/CSSRuleList.idl: * css/CSSStyleDeclaration.idl: * css/CSSStyleSheet.idl: * css/CSSSupportsRule.idl: * css/CSSValueList.idl: * css/FontLoader.idl: * css/MediaList.idl: * css/MediaQueryList.idl: * css/MediaQueryListListener.idl: * css/StyleMedia.idl: * css/StyleSheetList.idl: * css/WebKitCSSKeyframesRule.idl: * css/WebKitCSSMatrix.idl: * dom/CharacterData.idl: * dom/ClientRectList.idl: * dom/Clipboard.idl: * dom/CompositionEvent.idl: * dom/CustomEvent.idl: * dom/DOMImplementation.idl: * dom/DOMStringList.idl: * dom/DataTransferItem.idl: * dom/DataTransferItemList.idl: * dom/DeviceMotionEvent.idl: * dom/DeviceOrientationEvent.idl: * dom/Document.idl: * dom/Element.idl: * dom/Event.idl: * dom/EventTarget.idl: * dom/HashChangeEvent.idl: * dom/KeyboardEvent.idl: * dom/MessageEvent.idl: * dom/MessagePort.idl: * dom/MouseEvent.idl: * dom/MutationEvent.idl: * dom/NamedNodeMap.idl: * dom/Node.idl: * dom/NodeFilter.idl: * dom/NodeList.idl: * dom/OverflowEvent.idl: * dom/Range.idl: * dom/ShadowRoot.idl: * dom/Text.idl: * dom/TextEvent.idl: * dom/TouchEvent.idl: * dom/UIEvent.idl: * dom/WebKitNamedFlow.idl: * dom/WheelEvent.idl: * fileapi/Blob.idl: * fileapi/FileReader.idl: * fileapi/FileReaderSync.idl: * html/DOMFormData.idl: * html/DOMTokenList.idl: * html/HTMLAllCollection.idl: * html/HTMLAudioElement.idl: * html/HTMLCanvasElement.idl: * html/HTMLCollection.idl: * html/HTMLDocument.idl: * html/HTMLElement.idl: * html/HTMLFormControlsCollection.idl: * html/HTMLInputElement.idl: * html/HTMLMediaElement.idl: * html/HTMLOptionElement.idl: * html/HTMLOptionsCollection.idl: * html/HTMLSelectElement.idl: * html/HTMLTableElement.idl: * html/HTMLTableRowElement.idl: * html/HTMLTableSectionElement.idl: * html/HTMLTextAreaElement.idl: * html/MediaController.idl: * html/canvas/ArrayBuffer.idl: * html/canvas/CanvasGradient.idl: * html/canvas/CanvasRenderingContext2D.idl: * html/canvas/DOMPath.idl: * html/canvas/DataView.idl: * html/canvas/Float32Array.idl: * html/canvas/Float64Array.idl: * html/canvas/Int16Array.idl: * html/canvas/Int32Array.idl: * html/canvas/Int8Array.idl: * html/canvas/OESVertexArrayObject.idl: * html/canvas/Uint16Array.idl: * html/canvas/Uint32Array.idl: * html/canvas/Uint8Array.idl: * html/canvas/Uint8ClampedArray.idl: * html/track/AudioTrackList.idl: * html/track/TextTrack.idl: * html/track/TextTrackCue.idl: * html/track/TextTrackList.idl: * html/track/VideoTrackList.idl: * loader/appcache/DOMApplicationCache.idl: * page/DOMSelection.idl: * page/DOMWindow.idl: * page/EventSource.idl: * page/History.idl: * page/Location.idl: * page/Performance.idl: * plugins/DOMMimeTypeArray.idl: * plugins/DOMPlugin.idl: * plugins/DOMPluginArray.idl: * storage/StorageEvent.idl: * svg/ElementTimeControl.idl: * svg/SVGDocument.idl: * svg/SVGElementInstanceList.idl: * svg/SVGFEDropShadowElement.idl: * svg/SVGFEGaussianBlurElement.idl: * svg/SVGFEMorphologyElement.idl: * svg/SVGFilterElement.idl: * svg/SVGLocatable.idl: * svg/SVGMarkerElement.idl: * svg/SVGPathElement.idl: * svg/SVGSVGElement.idl: * svg/SVGStyledElement.idl: * svg/SVGTests.idl: * svg/SVGTextContentElement.idl: * testing/Internals.idl: * workers/AbstractWorker.idl: * workers/DedicatedWorkerContext.idl: * workers/SharedWorker.idl: * workers/Worker.idl: * workers/WorkerContext.idl: * xml/DOMParser.idl: * xml/XMLHttpRequest.idl: * xml/XMLHttpRequestUpload.idl: * xml/XMLSerializer.idl: * xml/XPathEvaluator.idl: * xml/XPathExpression.idl: * xml/XPathNSResolver.idl: * xml/XPathResult.idl: * xml/XSLTProcessor.idl: Source/WebKit/win: Replace [Optional] by optional. * Interfaces/DOMWindow.idl: Tools: Replace WebKit-specific [Optional] extended attribute by Web IDL "optional" keyword. * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Apr, 2013 1 commit
-
-
mjs@apple.com authored
Replace JSC-specific IDL extended attributes with generic (JSC+V8) ones, now that the distinction no longer matters https://bugs.webkit.org/show_bug.cgi?id=114712 Reviewed by Dan Bernstein. No behavior change expected. * bindings/scripts/IDLAttributes.txt: Remove the JSFoo attributes that have bare Foo equivalents. * bindings/scripts/CodeGeneratorJS.pm: Remove support for JSFoo aliases. (GetGenerateIsReachable): (GetCustomIsReachable): (ShouldGenerateToJSDeclaration): (ShouldGenerateToJSImplementation): (HasCustomConstructor): (HasCustomGetter): (HasCustomSetter): (HasCustomMethod): Replace JSFoo attributes with equivalen Foo attributs in all files below: * Modules/geolocation/Geolocation.idl: * Modules/indexeddb/IDBDatabase.idl: * Modules/indexeddb/IDBObjectStore.idl: * Modules/webaudio/DOMWindowWebAudio.idl: * Modules/websockets/DOMWindowWebSocket.idl: * Modules/websockets/WorkerContextWebSocket.idl: * css/CSSRule.idl: * css/CSSRuleList.idl: * css/CSSStyleDeclaration.idl: * css/CSSValue.idl: * css/MediaList.idl: * css/StyleMedia.idl: * css/StyleSheet.idl: * dom/MessagePort.idl: * dom/MutationObserver.idl: * dom/Node.idl: * fileapi/Blob.idl: * html/HTMLDocument.idl: * html/HTMLTemplateElement.idl: * html/canvas/ArrayBuffer.idl: * html/canvas/CanvasRenderingContext.idl: * html/canvas/DataView.idl: * html/canvas/EXTDrawBuffers.idl: * html/canvas/EXTTextureFilterAnisotropic.idl: * html/canvas/OESElementIndexUint.idl: * html/canvas/OESStandardDerivatives.idl: * html/canvas/OESTextureFloat.idl: * html/canvas/OESTextureHalfFloat.idl: * html/canvas/OESVertexArrayObject.idl: * html/canvas/WebGLCompressedTextureATC.idl: * html/canvas/WebGLCompressedTexturePVRTC.idl: * html/canvas/WebGLCompressedTextureS3TC.idl: * html/canvas/WebGLDebugRendererInfo.idl: * html/canvas/WebGLDebugShaders.idl: * html/canvas/WebGLDepthTexture.idl: * html/canvas/WebGLLoseContext.idl: * html/track/TextTrack.idl: * html/track/TextTrackCue.idl: * html/track/TextTrackList.idl: * loader/appcache/DOMApplicationCache.idl: * page/BarInfo.idl: * page/Console.idl: * page/DOMSelection.idl: * page/DOMWindow.idl: * page/History.idl: * page/Location.idl: * page/MemoryInfo.idl: * page/Navigator.idl: * page/Screen.idl: * page/WorkerNavigator.idl: * plugins/DOMMimeTypeArray.idl: * plugins/DOMPluginArray.idl: * storage/Storage.idl: * workers/AbstractWorker.idl: * workers/SharedWorker.idl: * workers/Worker.idl: * workers/WorkerContext.idl: * workers/WorkerLocation.idl: * xml/XMLHttpRequestUpload.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Jan, 2013 1 commit
-
-
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
-
- 12 Oct, 2012 2 commits
-
-
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
-
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
-
- 25 Jul, 2012 1 commit
-
-
commit-queue@webkit.org authored
Repalce "int" with "long" from WebCore/*.idls Patch by Vineet Chaudhary <rgf748@motorola.com> on 2012-07-25 Reviewed by Adam Barth. As per the WebIDL spec IDL shouldn't have int attributes but long instead. Repalced attributes types int with long from WebCore/*.idls. No new tests. TestObj.idl already covers this. There should be no behavioural changes. * dom/Touch.idl: Repalce int with long. * dom/WebKitNamedFlow.idl: Ditto. * html/canvas/ArrayBuffer.idl: Ditto. * html/canvas/WebGLActiveInfo.idl: Ditto. * html/canvas/WebGLShaderPrecisionFormat.idl: Ditto. * page/WebKitAnimation.idl: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Feb, 2012 1 commit
-
-
haraken@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=78221 Reviewed by Adam Barth. Source/WebCore: This patch adds [ConstructorParameters=X] to IDL files that have custom constructors, where X is the maximum number of arguments of the constructor. [ConstructorParameters=X] is needed for custom constructors, because custom constructors do not have a signature in IDL files and thus CodeGeneratorJS.pm cannot know the number of constructor arguments. Test: fast/js/constructor-length.html * dom/WebKitMutationObserver.idl: * html/DOMFormData.idl: * html/canvas/ArrayBuffer.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/Uint16Array.idl: * html/canvas/Uint32Array.idl: * html/canvas/Uint8Array.idl: * html/canvas/Uint8ClampedArray.idl: * webaudio/AudioContext.idl: * bindings/scripts/test/TestTypedArray.idl: * bindings/scripts/test/JS/JSFloat64Array.cpp: Updated run-bindings-tests results. (WebCore::JSFloat64ArrayConstructor::finishCreation): LayoutTests: The added tests check the length property of the custom constructors. * fast/js/constructor-length.html: * platform/mac/fast/js/constructor-length-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 Feb, 2012 1 commit
-
-
haraken@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=77693 Reviewed by Darin Adler. Some JSC specific IDLs do not have "JS" prefix, e.g. [CustomIsReachable]. It might be OK since JSC is the main JavaScript engine in WebKit, but distinguishing IDLs widely used in WebKit and IDLs used in JSC only would help people understand the role of IDLs. This patch renames the following JSC specific IDLs: CustomFinalize => JSCustomFinalize CustomIsReachable => JSCustomIsReachable CustomMarkFunction => JSCustomMarkFunction CustomToJS => JSCustomToJS CustomNativeConverter => JSCustomToNativeObject (Note: For naming consistency with [JSCustomToJS]) GenerateIsReachable => JSGenerateIsReachable GenerateToJS => JSGenerateToJS NoStaticTables => JSNoStaticTables WindowEventListener => JSWindowEventListener InlineGetOwnPropertySlot => JSInlineGetOwnPropertySlot DelegatingPrototypePutFunction => JSCustomPrototypePutDelegate No tests. No changes in behavior. * bindings/scripts/CodeGeneratorJS.pm: (GenerateGetOwnPropertySlotBody): (GenerateGetOwnPropertyDescriptorBody): (GenerateHeader): (GenerateImplementation): * bindings/scripts/CodeGeneratorV8.pm: (HasCustomToV8Implementation): * bindings/scripts/test/TestTypedArray.idl: No change in run-bindings-tests results. * css/CSSRule.idl: * css/CSSRuleList.idl: * css/CSSStyleDeclaration.idl: * css/CSSValue.idl: * css/MediaList.idl: * css/MediaQueryListListener.idl: * css/StyleMedia.idl: * css/StyleSheet.idl: * css/StyleSheetList.idl: * dom/Attr.idl: * dom/DOMCoreException.idl: * dom/DOMImplementation.idl: * dom/DOMStringMap.idl: * dom/Document.idl: * dom/Element.idl: * dom/ErrorEvent.idl: * dom/Event.idl: * dom/EventException.idl: * dom/EventListener.idl: * dom/MessageChannel.idl: * dom/MessageEvent.idl: * dom/MessagePort.idl: * dom/NamedNodeMap.idl: * dom/Node.idl: * dom/NodeFilter.idl: * dom/NodeIterator.idl: * dom/NodeList.idl: * dom/TreeWalker.idl: * dom/WebKitNamedFlow.idl: * fileapi/Blob.idl: * fileapi/DOMFileSystem.idl: * fileapi/DOMFileSystemSync.idl: * fileapi/DirectoryEntry.idl: * fileapi/DirectoryEntrySync.idl: * fileapi/DirectoryReader.idl: * fileapi/DirectoryReaderSync.idl: * fileapi/Entry.idl: * fileapi/EntryArray.idl: * fileapi/EntryArraySync.idl: * fileapi/EntrySync.idl: * fileapi/File.idl: * fileapi/FileEntry.idl: * fileapi/FileEntrySync.idl: * fileapi/FileError.idl: * fileapi/FileException.idl: * fileapi/FileList.idl: * fileapi/FileReader.idl: * fileapi/FileReaderSync.idl: * fileapi/FileWriter.idl: * fileapi/Metadata.idl: * fileapi/OperationNotAllowedException.idl: * fileapi/WebKitBlobBuilder.idl: * html/DOMFormData.idl: * html/DOMSettableTokenList.idl: * html/DOMTokenList.idl: * html/DOMURL.idl: * html/HTMLAllCollection.idl: * html/HTMLBodyElement.idl: * html/HTMLCollection.idl: * html/HTMLFrameSetElement.idl: * html/ImageData.idl: * html/MediaController.idl: * html/TextTrack.idl: * html/TextTrackCue.idl: * html/VoidCallback.idl: * html/canvas/ArrayBuffer.idl: * html/canvas/ArrayBufferView.idl: * html/canvas/CanvasRenderingContext.idl: * html/canvas/DataView.idl: * html/canvas/Float32Array.idl: * html/canvas/Float64Array.idl: * html/canvas/Int16Array.idl: * html/canvas/Int32Array.idl: * html/canvas/Int8Array.idl: * html/canvas/OESStandardDerivatives.idl: * html/canvas/OESTextureFloat.idl: * html/canvas/OESVertexArrayObject.idl: * html/canvas/Uint16Array.idl: * html/canvas/Uint32Array.idl: * html/canvas/Uint8Array.idl: * html/canvas/Uint8ClampedArray.idl: * html/canvas/WebGLCompressedTextures.idl: * html/canvas/WebGLDebugRendererInfo.idl: * html/canvas/WebGLDebugShaders.idl: * html/canvas/WebGLLoseContext.idl: * html/canvas/WebGLRenderingContext.idl: * html/track/TextTrackList.idl: * loader/appcache/DOMApplicationCache.idl: * mediastream/LocalMediaStream.idl: * page/BarInfo.idl: * page/Console.idl: * page/DOMSelection.idl: * page/DOMWindow.idl: * page/EventSource.idl: * page/Geolocation.idl: * page/History.idl: * page/Location.idl: * page/Navigator.idl: * page/Screen.idl: * page/WorkerNavigator.idl: * plugins/DOMMimeTypeArray.idl: * plugins/DOMPluginArray.idl: * storage/Database.idl: * storage/DatabaseSync.idl: * storage/IDBAny.idl: * storage/IDBKey.idl: * storage/SQLError.idl: * storage/SQLException.idl: * storage/SQLResultSet.idl: * storage/SQLResultSetRowList.idl: * storage/SQLTransaction.idl: * storage/SQLTransactionSync.idl: * storage/Storage.idl: * svg/SVGElementInstance.idl: * svg/SVGPathSeg.idl: * webaudio/AudioBufferCallback.idl: * webaudio/AudioBufferSourceNode.idl: * webaudio/AudioContext.idl: * webaudio/AudioDestinationNode.idl: * webaudio/AudioGain.idl: * webaudio/AudioGainNode.idl: * webaudio/AudioPannerNode.idl: * webaudio/AudioProcessingEvent.idl: * webaudio/BiquadFilterNode.idl: * webaudio/ConvolverNode.idl: * webaudio/DelayNode.idl: * webaudio/DynamicsCompressorNode.idl: * webaudio/HighPass2FilterNode.idl: * webaudio/JavaScriptAudioNode.idl: * webaudio/LowPass2FilterNode.idl: * webaudio/MediaElementAudioSourceNode.idl: * webaudio/OfflineAudioCompletionEvent.idl: * webaudio/RealtimeAnalyserNode.idl: * webaudio/WaveShaperNode.idl: * websockets/CloseEvent.idl: * websockets/WebSocket.idl: * workers/AbstractWorker.idl: * workers/DedicatedWorkerContext.idl: * workers/SharedWorker.idl: * workers/SharedWorkerContext.idl: * workers/Worker.idl: * workers/WorkerContext.idl: * workers/WorkerLocation.idl: * xml/XMLHttpRequest.idl: * xml/XMLHttpRequestException.idl: * xml/XMLHttpRequestProgressEvent.idl: * xml/XMLHttpRequestUpload.idl: * xml/XPathResult.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 09 Nov, 2011 1 commit
-
-
haraken@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=71868 Reviewed by Adam Barth. If a class has [Constructor] or [CustomConstructor], then [CanBeConstructed] is not necessary. This patch just removes [CanBeConstructed] from all the classes that already have [Constructor] or [CustomConstructor]. No tests. No change in behavior. * bindings/scripts/CodeGeneratorV8.pm: Corrected typo. This correction is required for this patch. * bindings/scripts/test/V8/V8TestObj.cpp: Updated a run-bindings-tests result. (WebCore::ConfigureV8TestObjTemplate): * css/WebKitCSSMatrix.idl: * dom/BeforeLoadEvent.idl: * dom/CustomEvent.idl: * dom/ErrorEvent.idl: * dom/Event.idl: * dom/HashChangeEvent.idl: * dom/MessageChannel.idl: * dom/MessageEvent.idl: * dom/OverflowEvent.idl: * dom/PageTransitionEvent.idl: * dom/PopStateEvent.idl: * dom/ProgressEvent.idl: * dom/WebKitAnimationEvent.idl: * dom/WebKitMutationObserver.idl: * dom/WebKitTransitionEvent.idl: * fileapi/FileReader.idl: * html/DOMFormData.idl: * html/TextTrackCue.idl: * html/canvas/ArrayBuffer.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/Uint16Array.idl: * html/canvas/Uint32Array.idl: * html/canvas/Uint8Array.idl: * html/track/TrackEvent.idl: * mediastream/PeerConnection.idl: * page/EventSource.idl: * page/WebKitPoint.idl: * webaudio/AudioContext.idl: * websockets/CloseEvent.idl: * websockets/WebSocket.idl: * workers/SharedWorker.idl: * workers/Worker.idl: * xml/XMLHttpRequest.idl: * xml/XSLTProcessor.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Oct, 2011 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=66646 Patch by Shinya Kawanaka <shinyak@google.com> on 2011-10-19 Reviewed by Kenneth Russell. Source/WebCore: * html/canvas/ArrayBuffer.cpp: (WebCore::clampValue): (WebCore::ArrayBuffer::slice): (WebCore::ArrayBuffer::sliceImpl): (WebCore::ArrayBuffer::clampIndex): * html/canvas/ArrayBuffer.h: Added declaration. * html/canvas/ArrayBuffer.idl: Added interface. LayoutTests: * fast/canvas/webgl/array-unit-tests.html: Aded. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 06 Oct, 2011 1 commit
-
-
haraken@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=69074 Reviewed by Adam Barth. Currently, IDL attributes about constructor are confusing: - [CustomConstructFunction] means that there is a custom constructor for JSC. - [V8CustomConstructor] means that there is a custom constructor for V8. - [CustomConstructor] exists in CodeGenerator*.pm but is not used in any IDL files. - For almost all IDL files, [CustomConstructFunction] and [V8CustomConstructor] are used at the same time. - ObjC, CPP and GObject bindings do not support custom constructors. This patch makes the following changes: - Rename [CustomConstructFunction] to [JSCustomConstructor]. - [JSCustomConstructor] means that there is a custom constructor for JSC. - [V8CustomConstructor] means that there is a custom constructor for V8. - [CustomConstructor] means that there is a custom constructor for both JSC and V8. No new tests. No change in behavior. Confirm that build succeeds. * bindings/scripts/CodeGeneratorJS.pm: Removed [CustomConstructFunction] and added [JSCustomConstructor] (GenerateHeader): (GenerateAttributesHashTable): (GenerateImplementation): (GenerateConstructorDefinition): * css/WebKitCSSMatrix.idl: Renamed [CustomConstructFunction] to [JSCustomConstructor]. If both [JSCustomConstructor] and [V8CustomConstructor] are specified, then we replaced them with [CustomConstructor]. * dom/CustomEvent.idl: Ditto. * dom/ErrorEvent.idl: Ditto. * dom/Event.idl: Ditto. * dom/HashChangeEvent.idl: Ditto. * dom/MessageChannel.idl: Ditto. * dom/MessageEvent.idl: Ditto. * dom/PageTransitionEvent.idl: Ditto. * dom/PopStateEvent.idl: Ditto. * dom/ProgressEvent.idl: Ditto. * dom/WebKitAnimationEvent.idl: Ditto. * html/DOMFormData.idl: Ditto. * html/canvas/ArrayBuffer.idl: Ditto. * html/canvas/DataView.idl: Ditto. * html/canvas/Float32Array.idl: Ditto. * html/canvas/Float64Array.idl: Ditto. * html/canvas/Int16Array.idl: Ditto. * html/canvas/Int32Array.idl: Ditto. * html/canvas/Int8Array.idl: Ditto. * html/canvas/Uint16Array.idl: Ditto. * html/canvas/Uint32Array.idl: Ditto. * html/canvas/Uint8Array.idl: Ditto. * p2p/PeerConnection.idl: Ditto. * page/EventSource.idl: Ditto. * page/WebKitPoint.idl: Ditto. * webaudio/AudioContext.idl: Ditto. * websockets/CloseEvent.idl: Ditto. * websockets/WebSocket.idl: Ditto. * workers/SharedWorker.idl: Ditto. * workers/Worker.idl: Ditto. * xml/XMLHttpRequest.idl: Ditto. * xml/XSLTProcessor.idl: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 20 Jun, 2011 1 commit
-
-
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
-
- 18 Jun, 2011 2 commits
-
-
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
-
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
-
- 17 Jun, 2011 1 commit
-
-
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
-
- 24 Apr, 2011 1 commit
-
-
ggaren@apple.com authored
Reviewed by Sam Weinig. Removed a use of markDOMObjectWrapper: WebGL, XHR, workers; plus, more autogeneration https://bugs.webkit.org/show_bug.cgi?id=59307 * WebCore.xcodeproj/project.pbxproj: Added Blob.idl, so it's easier to edit. * bindings/js/JSCSSRuleCustom.cpp: * bindings/js/JSCSSStyleDeclarationCustom.cpp: * bindings/js/JSCanvasRenderingContextCustom.cpp: * bindings/js/JSDOMApplicationCacheCustom.cpp: Autogenerate these instead of hand-coding them. * bindings/js/JSDOMBinding.h: (WebCore::root): Moved some GC helpers here from JSNodeCustom.h, because they're reasonably generic. * bindings/js/JSDOMImplementationCustom.cpp: * bindings/js/JSDOMStringMapCustom.cpp: * bindings/js/JSDOMTokenListCustom.cpp: * bindings/js/JSHTMLCollectionCustom.cpp: * bindings/js/JSMediaListCustom.cpp: Autogenerate these instead of hand-coding them. * bindings/js/JSMessageChannelCustom.cpp: (WebCore::JSMessageChannel::visitChildren): * bindings/js/JSMessagePortCustom.cpp: (WebCore::JSMessagePort::visitChildren): Use addOpaqueRoot instead of markDOMObjectWrapper. This is one of the few cases where a DOM object is considered a stand-alone root. It's not as efficient as the shared root case, but workers and message ports are very rare objects, so it's no big deal. * bindings/js/JSNamedNodeMapCustom.cpp: Autogenerate! * bindings/js/JSNodeCustom.h: Moved to JSDOMBinding.h. * bindings/js/JSSharedWorkerCustom.cpp: (WebCore::JSSharedWorker::visitChildren): Use addOpaqueRoot instead of markDOMObjectWrapper, as above. Once again, a stand-alone root. * bindings/js/JSStyleSheetCustom.cpp: * bindings/js/JSStyleSheetListCustom.cpp: Autogenerate! * bindings/js/JSWebGLRenderingContextCustom.cpp: (WebCore::JSWebGLRenderingContext::visitChildren): Use the opaque roots system for marking WebGL contexts and their associated satellite objects. * bindings/js/JSWorkerContextCustom.cpp: (WebCore::JSWorkerContext::visitChildren): * bindings/js/JSXMLHttpRequestCustom.cpp: Use addOpaqueRoot instead of markDOMObjectWrapper, as above. Once again, stand-alone roots. (WebCore::JSXMLHttpRequest::visitChildren): * bindings/js/JSXMLHttpRequestUploadCustom.cpp: No need to mark our owner XHR because it is not reachable from us. * bindings/scripts/CodeGeneratorJS.pm: Added autogeneration support for a bunch of repetitive cases of isReachableFromOpaqueRoots callbacks. * css/CSSRule.idl: * css/CSSStyleDeclaration.idl: * css/MediaList.idl: * css/StyleMedia.idl: * css/StyleSheet.idl: * css/StyleSheetList.idl: * dom/DOMImplementation.idl: * dom/DOMStringMap.idl: * dom/MessagePort.idl: * dom/NamedNodeMap.idl: * fileapi/Blob.idl: * html/DOMTokenList.idl: Opt in to autogeneration. * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): Standardized on PassOwnPtr/OwnPtr usage, to reduce human error and make ownership rules more obvious. * html/HTMLCollection.idl: * html/canvas/ArrayBuffer.idl: Opt in to autogeneration. * html/canvas/CanvasRenderingContext.cpp: * html/canvas/CanvasRenderingContext.h: (WebCore::CanvasRenderingContext::ref): (WebCore::CanvasRenderingContext::deref): * html/canvas/CanvasRenderingContext2D.h: (WebCore::CanvasRenderingContext2D::create): (WebCore::CanvasRenderingContext2D::state): Standardized on PassOwnPtr/OwnPtr usage, to reduce human error and make ownership rules more obvious. Inlined some functions to match our standard idiom and to make the code in the header document itself. * html/canvas/CanvasRenderingContext.idl: Opt in to autogeneration. * html/canvas/OESStandardDerivatives.cpp: (WebCore::OESStandardDerivatives::OESStandardDerivatives): (WebCore::OESStandardDerivatives::create): * html/canvas/OESStandardDerivatives.h: * html/canvas/OESStandardDerivatives.idl: * html/canvas/OESTextureFloat.cpp: (WebCore::OESTextureFloat::OESTextureFloat): (WebCore::OESTextureFloat::create): * html/canvas/OESTextureFloat.h: * html/canvas/OESTextureFloat.idl: * html/canvas/OESVertexArrayObject.cpp: (WebCore::OESVertexArrayObject::OESVertexArrayObject): (WebCore::OESVertexArrayObject::create): * html/canvas/OESVertexArrayObject.h: * html/canvas/OESVertexArrayObject.idl: * html/canvas/WebGLExtension.cpp: (WebCore::WebGLExtension::WebGLExtension): * html/canvas/WebGLExtension.h: (WebCore::WebGLExtension::ref): (WebCore::WebGLExtension::deref): (WebCore::WebGLExtension::context): * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::~WebGLRenderingContext): (WebCore::WebGLRenderingContext::getExtension): * html/canvas/WebGLRenderingContext.h: * html/canvas/WebKitLoseContext.cpp: (WebCore::WebKitLoseContext::WebKitLoseContext): (WebCore::WebKitLoseContext::create): (WebCore::WebKitLoseContext::loseContext): * html/canvas/WebKitLoseContext.h: * html/canvas/WebKitLoseContext.idl: Updated the ownership model for WebGL canavs rendering contexts to match the model for 2D canvas rendering contexts. This makes garbage collection a lot more straightforward, but it also makes the behavior of these objects more reliable. (Previously, satellite objects would magically stop working when the last reference to their owner object was dropped. Now, satellite objects keep their owner alive through reference counting.) * loader/appcache/DOMApplicationCache.idl: * page/BarInfo.idl: * page/Console.idl: * page/DOMSelection.idl: * page/Geolocation.idl: * page/History.idl: * page/Location.idl: * page/Navigator.idl: * page/Screen.idl: * page/WorkerNavigator.idl: * plugins/DOMMimeTypeArray.h: (WebCore::DOMMimeTypeArray::frame): * plugins/DOMMimeTypeArray.idl: * plugins/DOMPluginArray.h: (WebCore::DOMPluginArray::frame): * plugins/DOMPluginArray.idl: * storage/Storage.idl: * workers/WorkerLocation.idl: Opt in to autogeneration. * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::~XMLHttpRequest): * xml/XMLHttpRequest.h: * xml/XMLHttpRequestUpload.cpp: (WebCore::XMLHttpRequestUpload::scriptExecutionContext): * xml/XMLHttpRequestUpload.h: (WebCore::XMLHttpRequestUpload::create): (WebCore::XMLHttpRequestUpload::ref): (WebCore::XMLHttpRequestUpload::deref): (WebCore::XMLHttpRequestUpload::xmlHttpRequest): (WebCore::XMLHttpRequestUpload::toXMLHttpRequestUpload): * xml/XMLHttpRequestUpload.idl: Updated the ownership model for XHR and its associated upload object to match the model for canvas. This makes garbage collection a lot more straightforward, but it also makes the behavior of these objects more reliable. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Feb, 2011 1 commit
-
-
abarth@webkit.org authored
Reviewed by Kenneth Russell. Enable ArrayBuffers by default https://bugs.webkit.org/show_bug.cgi?id=54310 Export the required functions. * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: 2011-02-12 Adam Barth <abarth@webkit.org> Reviewed by Kenneth Russell. Enable ArrayBuffers by default https://bugs.webkit.org/show_bug.cgi?id=54310 As discussed on webkit-dev, ArrayBuffers are used by a bunch of different APIs, implemented by Firefox, and appear to be stable. Keeping them conditional is a large mantainance burden than it's worth. * DerivedSources.cpp: * WebCore.vcproj/WebCore.vcproj: * bindings/generic/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setWebGLEnabled): * bindings/js/JSArrayBufferCustom.cpp: * bindings/js/JSBindingsAllInOne.cpp: * bindings/js/JSDOMWindowCustom.cpp: * bindings/js/JSDataViewCustom.cpp: * bindings/js/JSFloat32ArrayCustom.cpp: * bindings/js/JSInt16ArrayCustom.cpp: * bindings/js/JSInt32ArrayCustom.cpp: * bindings/js/JSInt8ArrayCustom.cpp: * bindings/js/JSUint16ArrayCustom.cpp: * bindings/js/JSUint32ArrayCustom.cpp: * bindings/js/JSUint8ArrayCustom.cpp: * bindings/v8/custom/V8ArrayBufferCustom.cpp: * bindings/v8/custom/V8ArrayBufferViewCustom.h: * bindings/v8/custom/V8DataViewCustom.cpp: * bindings/v8/custom/V8Float32ArrayCustom.cpp: * bindings/v8/custom/V8Int16ArrayCustom.cpp: * bindings/v8/custom/V8Int32ArrayCustom.cpp: * bindings/v8/custom/V8Int8ArrayCustom.cpp: * bindings/v8/custom/V8Uint16ArrayCustom.cpp: * bindings/v8/custom/V8Uint32ArrayCustom.cpp: * bindings/v8/custom/V8Uint8ArrayCustom.cpp: * html/canvas/ArrayBuffer.cpp: * html/canvas/ArrayBuffer.idl: * html/canvas/ArrayBufferView.cpp: * html/canvas/ArrayBufferView.idl: * html/canvas/DataView.cpp: * html/canvas/DataView.idl: * html/canvas/Float32Array.cpp: * html/canvas/Float32Array.idl: * html/canvas/Int16Array.cpp: * html/canvas/Int16Array.idl: * html/canvas/Int32Array.cpp: * html/canvas/Int32Array.idl: * html/canvas/Int8Array.cpp: * html/canvas/Int8Array.idl: * html/canvas/Uint16Array.cpp: * html/canvas/Uint16Array.idl: * html/canvas/Uint32Array.cpp: * html/canvas/Uint32Array.idl: * html/canvas/Uint8Array.cpp: * html/canvas/Uint8Array.idl: * page/Crypto.cpp: (WebCore::Crypto::getRandomValues): * page/Crypto.h: * page/Crypto.idl: * page/DOMWindow.idl: * workers/WorkerContext.idl: 2011-02-12 Adam Barth <abarth@webkit.org> Reviewed by Kenneth Russell. Enable ArrayBuffers by default https://bugs.webkit.org/show_bug.cgi?id=54310 Revert incorrect expectations from http://trac.webkit.org/changeset/78337. These results were cased by ArrayBuffers not beign enabled on Windows previous to this patch. * platform/win/fast/dom/Window/window-property-descriptors-expected.txt: * platform/win/fast/js/global-function-resolve-expected.txt: Removed. * platform/win/fast/js/var-declarations-shadowing-expected.txt: Removed. * platform/win/security: Removed. * platform/win/security/crypto-random-values-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 25 Jan, 2011 1 commit
-
-
cmarrin@apple.com authored
Reviewed by Eric Seidel. Change ENABLE_3D_CANVAS to ENABLE_WEBGL https://bugs.webkit.org/show_bug.cgi?id=53041 * configure.ac: 2011-01-24 Chris Marrin <cmarrin@apple.com> Reviewed by Eric Seidel. Change ENABLE_3D_CANVAS to ENABLE_WEBGL https://bugs.webkit.org/show_bug.cgi?id=53041 * Configurations/FeatureDefines.xcconfig: 2011-01-24 Chris Marrin <cmarrin@apple.com> Reviewed by Eric Seidel. Change ENABLE_3D_CANVAS to ENABLE_WEBGL https://bugs.webkit.org/show_bug.cgi?id=53041 * WebKit.gyp: * features.gypi: * src/Extensions3DChromium.cpp: * src/GraphicsContext3DChromium.cpp: * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableWebGL): (WebKit::WebRuntimeFeatures::isWebGLEnabled): 2011-01-24 Chris Marrin <cmarrin@apple.com> Reviewed by Eric Seidel. Change ENABLE_3D_CANVAS to ENABLE_WEBGL https://bugs.webkit.org/show_bug.cgi?id=53041 * Api/qwebsettings.cpp: (QWebSettingsPrivate::apply): 2011-01-24 Chris Marrin <cmarrin@apple.com> Reviewed by Eric Seidel. Change ENABLE_3D_CANVAS to ENABLE_WEBGL https://bugs.webkit.org/show_bug.cgi?id=53041 * WebView.cpp: (WebView::notifyPreferencesChanged): 2011-01-24 Chris Marrin <cmarrin@apple.com> Reviewed by Eric Seidel. Change ENABLE_3D_CANVAS to ENABLE_WEBGL https://bugs.webkit.org/show_bug.cgi?id=53041 * Configurations/FeatureDefines.xcconfig: 2011-01-24 Chris Marrin <cmarrin@apple.com> Reviewed by Eric Seidel. Change ENABLE_3D_CANVAS to ENABLE_WEBGL https://bugs.webkit.org/show_bug.cgi?id=53041 * Configurations/FeatureDefines.xcconfig: * DerivedSources.cpp: * GNUmakefile.am: * WebCore.pro: * bindings/generic/RuntimeEnabledFeatures.h: * bindings/js/JSArrayBufferCustom.cpp: * bindings/js/JSCanvasRenderingContextCustom.cpp: (WebCore::toJS): * bindings/js/JSDOMWindowCustom.cpp: * bindings/js/JSDataViewCustom.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSFloat32ArrayCustom.cpp: * bindings/js/JSHTMLCanvasElementCustom.cpp: (WebCore::JSHTMLCanvasElement::getContext): * bindings/js/JSInt16ArrayCustom.cpp: * bindings/js/JSInt32ArrayCustom.cpp: * bindings/js/JSInt8ArrayCustom.cpp: * bindings/js/JSUint16ArrayCustom.cpp: * bindings/js/JSUint32ArrayCustom.cpp: * bindings/js/JSUint8ArrayCustom.cpp: * bindings/js/JSWebGLRenderingContextCustom.cpp: * bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::markChildren): (WebCore::JSXMLHttpRequest::send): (WebCore::JSXMLHttpRequest::response): * bindings/v8/custom/V8ArrayBufferCustom.cpp: * bindings/v8/custom/V8ArrayBufferViewCustom.h: * bindings/v8/custom/V8DataViewCustom.cpp: * bindings/v8/custom/V8DocumentCustom.cpp: (WebCore::V8Document::getCSSCanvasContextCallback): * bindings/v8/custom/V8Float32ArrayCustom.cpp: * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp: (WebCore::V8HTMLCanvasElement::getContextCallback): * bindings/v8/custom/V8Int16ArrayCustom.cpp: * bindings/v8/custom/V8Int32ArrayCustom.cpp: * bindings/v8/custom/V8Int8ArrayCustom.cpp: * bindings/v8/custom/V8Uint16ArrayCustom.cpp: * bindings/v8/custom/V8Uint32ArrayCustom.cpp: * bindings/v8/custom/V8Uint8ArrayCustom.cpp: * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp: * bindings/v8/custom/V8XMLHttpRequestCustom.cpp: (WebCore::V8XMLHttpRequest::responseAccessorGetter): (WebCore::V8XMLHttpRequest::sendCallback): * features.pri: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::reset): * html/HTMLCanvasElement.h: * html/canvas/ArrayBuffer.cpp: * html/canvas/ArrayBuffer.idl: * html/canvas/ArrayBufferView.cpp: * html/canvas/ArrayBufferView.idl: * html/canvas/DataView.cpp: * html/canvas/DataView.idl: * html/canvas/Float32Array.cpp: * html/canvas/Float32Array.idl: * html/canvas/Int16Array.cpp: * html/canvas/Int16Array.idl: * html/canvas/Int32Array.cpp: * html/canvas/Int32Array.idl: * html/canvas/Int8Array.cpp: * html/canvas/Int8Array.idl: * html/canvas/OESStandardDerivatives.cpp: * html/canvas/OESStandardDerivatives.idl: * html/canvas/OESTextureFloat.cpp: * html/canvas/OESTextureFloat.idl: * html/canvas/Uint16Array.cpp: * html/canvas/Uint16Array.idl: * html/canvas/Uint32Array.cpp: * html/canvas/Uint32Array.idl: * html/canvas/Uint8Array.cpp: * html/canvas/Uint8Array.idl: * html/canvas/WebGLActiveInfo.idl: * html/canvas/WebGLBuffer.cpp: * html/canvas/WebGLBuffer.idl: * html/canvas/WebGLContextAttributes.cpp: * html/canvas/WebGLContextAttributes.idl: * html/canvas/WebGLContextEvent.idl: * html/canvas/WebGLExtension.cpp: * html/canvas/WebGLFramebuffer.cpp: * html/canvas/WebGLFramebuffer.idl: * html/canvas/WebGLGetInfo.cpp: * html/canvas/WebGLObject.cpp: * html/canvas/WebGLProgram.cpp: * html/canvas/WebGLProgram.idl: * html/canvas/WebGLRenderbuffer.cpp: * html/canvas/WebGLRenderbuffer.idl: * html/canvas/WebGLRenderingContext.cpp: * html/canvas/WebGLRenderingContext.idl: * html/canvas/WebGLShader.cpp: * html/canvas/WebGLShader.idl: * html/canvas/WebGLTexture.cpp: * html/canvas/WebGLTexture.idl: * html/canvas/WebGLUniformLocation.cpp: * html/canvas/WebGLUniformLocation.idl: * html/canvas/WebKitLoseContext.cpp: * html/canvas/WebKitLoseContext.idl: * page/DOMWindow.idl: * platform/graphics/ANGLEWebKitBridge.cpp: * platform/graphics/GraphicsContext3D.cpp: * platform/graphics/cg/GraphicsContext3DCG.cpp: * platform/graphics/gpu/DrawingBuffer.cpp: * platform/graphics/gpu/mac/DrawingBufferMac.mm: * platform/graphics/mac/GraphicsContext3DMac.mm: * platform/graphics/mac/WebGLLayer.mm: * platform/graphics/opengl/Extensions3DOpenGL.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: * platform/graphics/qt/Extensions3DQt.cpp: * platform/graphics/qt/GraphicsContext3DQt.cpp: * platform/graphics/qt/GraphicsLayerQt.cpp: (WebCore::GraphicsLayerQtImpl::GraphicsLayerQtImpl): (WebCore::GraphicsLayerQtImpl::paint): (WebCore::GraphicsLayerQtImpl::flushChanges): * platform/graphics/qt/GraphicsLayerQt.h: * platform/graphics/skia/GraphicsContext3DSkia.cpp: * platform/graphics/texmap/GraphicsLayerTextureMapper.h: * rendering/RenderLayerBacking.cpp: (WebCore::isAcceleratedCanvas): (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration): (WebCore::RenderLayerBacking::containsPaintedContent): (WebCore::RenderLayerBacking::contentChanged): * webaudio/AudioBuffer.cpp: * webaudio/AudioBuffer.idl: * webaudio/RealtimeAnalyser.cpp: * webaudio/RealtimeAnalyser.h: * webaudio/RealtimeAnalyserNode.h: * webaudio/RealtimeAnalyserNode.idl: * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::setResponseType): (WebCore::XMLHttpRequest::clearResponse): (WebCore::XMLHttpRequest::didReceiveData): * xml/XMLHttpRequest.h: 2011-01-24 Chris Marrin <cmarrin@apple.com> Reviewed by Eric Seidel. Change ENABLE_3D_CANVAS to ENABLE_WEBGL https://bugs.webkit.org/show_bug.cgi?id=53041 * Configurations/FeatureDefines.xcconfig: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Jan, 2011 1 commit
-
-
abarth@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Oct, 2010 1 commit
-
-
jianli@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=47616 Reviewed by David Levin. To support typed arrays in workers, we need to expose constructors in WorkerContext and add NoStaticTables attribute. I also add File API feature guard to the constructors defined in DOMWindow. * bindings/js/JSDOMWindowCustom.cpp: Add File API feature guard to the constructors defined in DOMWindow. * html/canvas/ArrayBuffer.idl: Add NoStaticTables attribute. * html/canvas/ArrayBufferView.idl: Add NoStaticTables attribute. * html/canvas/Float32Array.idl: Add NoStaticTables attribute. * html/canvas/Int16Array.idl: Add NoStaticTables attribute. * html/canvas/Int32Array.idl: Add NoStaticTables attribute. * html/canvas/Int8Array.idl: Add NoStaticTables attribute. * html/canvas/Uint16Array.idl: Add NoStaticTables attribute. * html/canvas/Uint32Array.idl: Add NoStaticTables attribute. * html/canvas/Uint8Array.idl: Add NoStaticTables attribute. * page/DOMWindow.idl: Add File API feature guard to the constructors defined in DOMWindow. * workers/WorkerContext.idl: Expose type array constructors. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 Oct, 2010 1 commit
-
-
jianli@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=47437 Reviewed by Adam Barth. Since we're going to add ArrayBuffer support to FileReader and BlobBuilder, we need to update all type array files to include File API feature guard in addition to the existing 3D_CANVAS guard. When ArrayBuffer is used in XMLHttpRequest, we will then remove all the guards. This is per the discussion on webkit-dev mailing list: https://lists.webkit.org/pipermail/webkit-dev/2010-October/014716.html * html/canvas/ArrayBuffer.cpp: * html/canvas/ArrayBuffer.idl: * html/canvas/ArrayBufferView.cpp: * html/canvas/ArrayBufferView.idl: * html/canvas/Float32Array.cpp: * html/canvas/Float32Array.idl: * html/canvas/Int16Array.cpp: * html/canvas/Int16Array.idl: * html/canvas/Int32Array.cpp: * html/canvas/Int32Array.idl: * html/canvas/Int8Array.cpp: * html/canvas/Int8Array.idl: * html/canvas/Uint16Array.cpp: * html/canvas/Uint16Array.idl: * html/canvas/Uint32Array.cpp: * html/canvas/Uint32Array.idl: * html/canvas/Uint8Array.cpp: * html/canvas/Uint8Array.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Jun, 2010 1 commit
-
-
https://bugs.webkit.org/show_bug.cgi?id=40581weinig@apple.com authored
Auto-generate most of the JS constructors Reviewed by Alexey Proskuryakov. WebCore: - Auto-generates all the JS constructors that don't have custom names (eg, Not Image(), Audio() or Option()) - Fixes two typos. (new XSLTConstructor()).toString() [object XSLTProcessorConsructor] -> [object XSLTProcessorConstructor]) (new EventSource()).toString() [object EventSourceContructor] -> [object EventSourceConstructor]) * Android.jscbindings.mk: * CMakeLists.txt: * GNUmakefile.am: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSArrayBufferConstructor.cpp: Removed. * bindings/js/JSArrayBufferConstructor.h: Removed. * bindings/js/JSArrayBufferCustom.cpp: Copied from WebCore/bindings/js/JSArrayBufferConstructor.cpp. (WebCore::JSArrayBufferConstructor::constructJSArrayBuffer): * bindings/js/JSArrayBufferViewHelper.h: (WebCore::constructArrayBufferView): * bindings/js/JSBindingsAllInOne.cpp: * bindings/js/JSDOMWindowCustom.cpp: * bindings/js/JSEventSourceConstructor.cpp: Removed. * bindings/js/JSEventSourceConstructor.h: Removed. * bindings/js/JSEventSourceCustom.cpp: Copied from WebCore/bindings/js/JSEventSourceConstructor.cpp. (WebCore::JSEventSourceConstructor::constructJSEventSource): * bindings/js/JSFloat32ArrayConstructor.cpp: Removed. * bindings/js/JSFloat32ArrayConstructor.h: Removed. * bindings/js/JSFloat32ArrayCustom.cpp: (WebCore::JSFloat32ArrayConstructor::constructJSFloat32Array): * bindings/js/JSInt16ArrayConstructor.cpp: Removed. * bindings/js/JSInt16ArrayConstructor.h: Removed. * bindings/js/JSInt16ArrayCustom.cpp: (WebCore::JSInt16ArrayConstructor::constructJSInt16Array): * bindings/js/JSInt32ArrayConstructor.cpp: Removed. * bindings/js/JSInt32ArrayConstructor.h: Removed. * bindings/js/JSInt32ArrayCustom.cpp: (WebCore::JSInt32ArrayConstructor::constructJSInt32Array): * bindings/js/JSInt8ArrayConstructor.cpp: Removed. * bindings/js/JSInt8ArrayConstructor.h: Removed. * bindings/js/JSInt8ArrayCustom.cpp: (WebCore::JSInt8ArrayConstructor::constructJSInt8Array): * bindings/js/JSMessageChannelConstructor.cpp: Removed. * bindings/js/JSMessageChannelConstructor.h: Removed. * bindings/js/JSMessageChannelCustom.cpp: (WebCore::JSMessageChannelConstructor::constructJSMessageChannel): * bindings/js/JSSharedWorkerConstructor.cpp: Removed. * bindings/js/JSSharedWorkerConstructor.h: Removed. * bindings/js/JSSharedWorkerCustom.cpp: (WebCore::JSSharedWorkerConstructor::constructJSSharedWorker): * bindings/js/JSUint16ArrayConstructor.cpp: Removed. * bindings/js/JSUint16ArrayConstructor.h: Removed. * bindings/js/JSUint16ArrayCustom.cpp: (WebCore::JSUint16ArrayConstructor::constructJSUint16Array): * bindings/js/JSUint32ArrayConstructor.cpp: Removed. * bindings/js/JSUint32ArrayConstructor.h: Removed. * bindings/js/JSUint32ArrayCustom.cpp: (WebCore::JSUint32ArrayConstructor::constructJSUint32Array): * bindings/js/JSUint8ArrayConstructor.cpp: Removed. * bindings/js/JSUint8ArrayConstructor.h: Removed. * bindings/js/JSUint8ArrayCustom.cpp: (WebCore::JSUint8ArrayConstructor::constructJSUint8Array): * bindings/js/JSWebKitCSSMatrixConstructor.cpp: Removed. * bindings/js/JSWebKitCSSMatrixConstructor.h: Removed. * bindings/js/JSWebKitCSSMatrixCustom.cpp: Copied from WebCore/bindings/js/JSWebKitCSSMatrixConstructor.cpp. (WebCore::JSWebKitCSSMatrixConstructor::constructJSWebKitCSSMatrix): * bindings/js/JSWebKitPointConstructor.cpp: Removed. * bindings/js/JSWebKitPointConstructor.h: Removed. * bindings/js/JSWebKitPointCustom.cpp: Copied from WebCore/bindings/js/JSWebKitPointConstructor.cpp. (WebCore::JSWebKitPointConstructor::constructJSWebKitPoint): * bindings/js/JSWebSocketConstructor.cpp: Removed. * bindings/js/JSWebSocketConstructor.h: Removed. * bindings/js/JSWebSocketCustom.cpp: (WebCore::JSWebSocketConstructor::constructJSWebSocket): * bindings/js/JSWorkerConstructor.cpp: Removed. * bindings/js/JSWorkerConstructor.h: Removed. * bindings/js/JSWorkerContextCustom.cpp: * bindings/js/JSWorkerCustom.cpp: (WebCore::JSWorkerConstructor::constructJSWorker): * bindings/js/JSXSLTProcessorConstructor.cpp: Removed. * bindings/js/JSXSLTProcessorConstructor.h: Removed. * bindings/js/JSXSLTProcessorCustom.cpp: (WebCore::JSXSLTProcessorConstructor::constructJSXSLTProcessor): * bindings/scripts/CodeGeneratorJS.pm: * css/WebKitCSSMatrix.idl: * dom/MessageChannel.idl: * html/canvas/ArrayBuffer.idl: * html/canvas/Float32Array.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: * page/EventSource.idl: * page/WebKitPoint.idl: * websockets/WebSocket.idl: * workers/SharedWorker.idl: * workers/Worker.idl: * xml/XSLTProcessor.idl: LayoutTests: * fast/dom/Window/window-lookup-precedence-expected.txt: * fast/dom/Window/window-properties-expected.txt: * fast/dom/constructed-objects-prototypes-expected.txt: * fast/dom/prototype-inheritance-2-expected.txt: * fast/js/global-constructors-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 May, 2010 1 commit
-
-
kbr@google.com authored
Reviewed by Darin Adler. Rename WebGLArray types to TypedArray types https://bugs.webkit.org/show_bug.cgi?id=39091 Extended functionality of do-webcore-rename script and used it to rename the WebGLArray types to the TypedArray naming convention. The only source files which were touched by hand, and which are being manually reviewed, are: WebCore/page/DOMWindow.idl WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone) WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp These only needed to be touched to update the aliases between the WebGLArray and TypedArray names introduced in bug 39036. (It was not feasible to have do-webcore-rename handle this as it would introduce circular renamings.) These aliases will be removed in roughly a month once existing WebGL content has been updated. No new tests; covered under existing WebGL tests. Updated constructed-objects-prototypes and prototype-inheritance-2 tests. Ran all layout tests in Safari and all WebGL tests in Chromium. * src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::bufferData): (WebCore::GraphicsContext3DInternal::bufferSubData): 2010-05-14 Kenneth Russell <kbr@google.com> Reviewed by Darin Adler. Rename WebGLArray types to TypedArray types https://bugs.webkit.org/show_bug.cgi?id=39091 Extended functionality of do-webcore-rename script and used it to rename the WebGLArray types to the TypedArray naming convention. The only source files which were touched by hand, and which are being manually reviewed, are: WebCore/page/DOMWindow.idl WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone) WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp These only needed to be touched to update the aliases between the WebGLArray and TypedArray names introduced in bug 39036. (It was not feasible to have do-webcore-rename handle this as it would introduce circular renamings.) These aliases will be removed in roughly a month once existing WebGL content has been updated. No new tests; covered under existing WebGL tests. Updated constructed-objects-prototypes and prototype-inheritance-2 tests. Ran all layout tests in Safari and all WebGL tests in Chromium. * DerivedSources.make: * GNUmakefile.am: * WebCore.gypi: * WebCore.pri: * WebCore.pro: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSArrayBufferConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLArrayBufferConstructor.cpp. (WebCore::): (WebCore::JSArrayBufferConstructor::JSArrayBufferConstructor): (WebCore::constructCanvasArrayBuffer): (WebCore::JSArrayBufferConstructor::getConstructData): * bindings/js/JSArrayBufferConstructor.h: Copied from WebCore/bindings/js/JSWebGLArrayBufferConstructor.h. (WebCore::construct): * bindings/js/JSArrayBufferViewCustom.cpp: Copied from WebCore/bindings/js/JSWebGLArrayCustom.cpp. (WebCore::toJS): (WebCore::JSArrayBufferView::slice): * bindings/js/JSArrayBufferViewHelper.h: Copied from WebCore/bindings/js/JSWebGLArrayHelper.h. * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::arrayBuffer): (WebCore::JSDOMWindow::int8Array): (WebCore::JSDOMWindow::uint8Array): (WebCore::JSDOMWindow::int32Array): (WebCore::JSDOMWindow::uint32Array): (WebCore::JSDOMWindow::int16Array): (WebCore::JSDOMWindow::uint16Array): (WebCore::JSDOMWindow::floatArray): (WebCore::JSDOMWindow::webGLArrayBuffer): (WebCore::JSDOMWindow::webGLByteArray): (WebCore::JSDOMWindow::webGLUnsignedByteArray): (WebCore::JSDOMWindow::webGLIntArray): (WebCore::JSDOMWindow::webGLUnsignedIntArray): (WebCore::JSDOMWindow::webGLShortArray): (WebCore::JSDOMWindow::webGLUnsignedShortArray): (WebCore::JSDOMWindow::webGLFloatArray): * bindings/js/JSFloatArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLFloatArrayConstructor.cpp. (WebCore::): (WebCore::JSFloatArrayConstructor::JSFloatArrayConstructor): (WebCore::constructCanvasFloatArray): (WebCore::JSFloatArrayConstructor::getConstructData): * bindings/js/JSFloatArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLFloatArrayConstructor.h. * bindings/js/JSFloatArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLFloatArrayCustom.cpp. (WebCore::JSFloatArray::indexSetter): (WebCore::toJS): (WebCore::JSFloatArray::set): * bindings/js/JSInt16ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLShortArrayConstructor.cpp. (WebCore::): (WebCore::JSInt16ArrayConstructor::JSInt16ArrayConstructor): (WebCore::constructCanvasShortArray): (WebCore::JSInt16ArrayConstructor::getConstructData): * bindings/js/JSInt16ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLShortArrayConstructor.h. * bindings/js/JSInt16ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLShortArrayCustom.cpp. (WebCore::JSInt16Array::indexSetter): (WebCore::toJS): (WebCore::JSInt16Array::set): * bindings/js/JSInt32ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLIntArrayConstructor.cpp. (WebCore::): (WebCore::JSInt32ArrayConstructor::JSInt32ArrayConstructor): (WebCore::constructCanvasIntArray): (WebCore::JSInt32ArrayConstructor::getConstructData): * bindings/js/JSInt32ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLIntArrayConstructor.h. * bindings/js/JSInt32ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLIntArrayCustom.cpp. (WebCore::JSInt32Array::indexSetter): (WebCore::toJS): (WebCore::JSInt32Array::set): * bindings/js/JSInt8ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLByteArrayConstructor.cpp. (WebCore::): (WebCore::JSInt8ArrayConstructor::JSInt8ArrayConstructor): (WebCore::constructCanvasByteArray): (WebCore::JSInt8ArrayConstructor::getConstructData): * bindings/js/JSInt8ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLByteArrayConstructor.h. * bindings/js/JSInt8ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLByteArrayCustom.cpp. (WebCore::JSInt8Array::indexSetter): (WebCore::toJS): (WebCore::JSInt8Array::set): * bindings/js/JSUint16ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp. (WebCore::): (WebCore::JSUint16ArrayConstructor::JSUint16ArrayConstructor): (WebCore::constructCanvasUnsignedShortArray): (WebCore::JSUint16ArrayConstructor::getConstructData): * bindings/js/JSUint16ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.h. * bindings/js/JSUint16ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayCustom.cpp. (WebCore::JSUint16Array::indexSetter): (WebCore::toJS): (WebCore::JSUint16Array::set): * bindings/js/JSUint32ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp. (WebCore::): (WebCore::JSUint32ArrayConstructor::JSUint32ArrayConstructor): (WebCore::constructCanvasUnsignedIntArray): (WebCore::JSUint32ArrayConstructor::getConstructData): * bindings/js/JSUint32ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.h. * bindings/js/JSUint32ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayCustom.cpp. (WebCore::JSUint32Array::indexSetter): (WebCore::toJS): (WebCore::JSUint32Array::set): * bindings/js/JSUint8ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp. (WebCore::): (WebCore::JSUint8ArrayConstructor::JSUint8ArrayConstructor): (WebCore::constructCanvasUnsignedByteArray): (WebCore::JSUint8ArrayConstructor::getConstructData): * bindings/js/JSUint8ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.h. * bindings/js/JSUint8ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp. (WebCore::JSUint8Array::indexSetter): (WebCore::toJS): (WebCore::JSUint8Array::set): * bindings/js/JSWebGLArrayBufferConstructor.cpp: Removed. * bindings/js/JSWebGLArrayBufferConstructor.h: Removed. * bindings/js/JSWebGLArrayCustom.cpp: Removed. * bindings/js/JSWebGLArrayHelper.h: Removed. * bindings/js/JSWebGLByteArrayConstructor.cpp: Removed. * bindings/js/JSWebGLByteArrayConstructor.h: Removed. * bindings/js/JSWebGLByteArrayCustom.cpp: Removed. * bindings/js/JSWebGLFloatArrayConstructor.cpp: Removed. * bindings/js/JSWebGLFloatArrayConstructor.h: Removed. * bindings/js/JSWebGLFloatArrayCustom.cpp: Removed. * bindings/js/JSWebGLIntArrayConstructor.cpp: Removed. * bindings/js/JSWebGLIntArrayConstructor.h: Removed. * bindings/js/JSWebGLIntArrayCustom.cpp: Removed. * bindings/js/JSWebGLRenderingContextCustom.cpp: (WebCore::JSWebGLRenderingContext::bufferData): (WebCore::JSWebGLRenderingContext::bufferSubData): (WebCore::JSWebGLRenderingContext::texImage2D): (WebCore::JSWebGLRenderingContext::texSubImage2D): (WebCore::dataFunctionf): (WebCore::dataFunctioni): (WebCore::dataFunctionMatrix): * bindings/js/JSWebGLShortArrayConstructor.cpp: Removed. * bindings/js/JSWebGLShortArrayConstructor.h: Removed. * bindings/js/JSWebGLShortArrayCustom.cpp: Removed. * bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp: Removed. * bindings/js/JSWebGLUnsignedByteArrayConstructor.h: Removed. * bindings/js/JSWebGLUnsignedByteArrayCustom.cpp: Removed. * bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp: Removed. * bindings/js/JSWebGLUnsignedIntArrayConstructor.h: Removed. * bindings/js/JSWebGLUnsignedIntArrayCustom.cpp: Removed. * bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp: Removed. * bindings/js/JSWebGLUnsignedShortArrayConstructor.h: Removed. * bindings/js/JSWebGLUnsignedShortArrayCustom.cpp: Removed. * bindings/v8/V8DOMWrapper.cpp: * bindings/v8/custom/V8ArrayBufferCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLArrayBufferCustom.cpp. (WebCore::V8ArrayBuffer::constructorCallback): * bindings/v8/custom/V8ArrayBufferViewCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLArrayCustom.cpp. (WebCore::toV8): (WebCore::V8ArrayBufferView::sliceCallback): * bindings/v8/custom/V8ArrayBufferViewCustom.h: Copied from WebCore/bindings/v8/custom/V8WebGLArrayCustom.h. (WebCore::constructWebGLArray): * bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::V8DOMWindow::WebGLArrayBufferAccessorGetter): (WebCore::V8DOMWindow::WebGLByteArrayAccessorGetter): (WebCore::V8DOMWindow::WebGLUnsignedByteArrayAccessorGetter): (WebCore::V8DOMWindow::WebGLShortArrayAccessorGetter): (WebCore::V8DOMWindow::WebGLUnsignedShortArrayAccessorGetter): (WebCore::V8DOMWindow::WebGLIntArrayAccessorGetter): (WebCore::V8DOMWindow::WebGLUnsignedIntArrayAccessorGetter): (WebCore::V8DOMWindow::WebGLFloatArrayAccessorGetter): * bindings/v8/custom/V8FloatArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLFloatArrayCustom.cpp. (WebCore::V8FloatArray::constructorCallback): (WebCore::V8FloatArray::setCallback): (WebCore::toV8): * bindings/v8/custom/V8Int16ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLShortArrayCustom.cpp. (WebCore::V8Int16Array::constructorCallback): (WebCore::V8Int16Array::setCallback): (WebCore::toV8): * bindings/v8/custom/V8Int32ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLIntArrayCustom.cpp. (WebCore::V8Int32Array::constructorCallback): (WebCore::V8Int32Array::setCallback): (WebCore::toV8): * bindings/v8/custom/V8Int8ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLByteArrayCustom.cpp. (WebCore::V8Int8Array::constructorCallback): (WebCore::V8Int8Array::setCallback): (WebCore::toV8): * bindings/v8/custom/V8Uint16ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp. (WebCore::V8Uint16Array::constructorCallback): (WebCore::V8Uint16Array::setCallback): (WebCore::toV8): * bindings/v8/custom/V8Uint32ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp. (WebCore::V8Uint32Array::constructorCallback): (WebCore::V8Uint32Array::setCallback): (WebCore::toV8): * bindings/v8/custom/V8Uint8ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp. (WebCore::V8Uint8Array::constructorCallback): (WebCore::V8Uint8Array::setCallback): (WebCore::toV8): * bindings/v8/custom/V8WebGLArrayBufferCustom.cpp: Removed. * bindings/v8/custom/V8WebGLArrayCustom.cpp: Removed. * bindings/v8/custom/V8WebGLArrayCustom.h: Removed. * bindings/v8/custom/V8WebGLByteArrayCustom.cpp: Removed. * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp: Removed. * bindings/v8/custom/V8WebGLIntArrayCustom.cpp: Removed. * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp: (WebCore::vertexAttribAndUniformHelperf): (WebCore::uniformHelperi): (WebCore::uniformMatrixHelper): * bindings/v8/custom/V8WebGLShortArrayCustom.cpp: Removed. * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp: Removed. * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp: Removed. * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp: Removed. * html/canvas/ArrayBuffer.cpp: Copied from WebCore/html/canvas/WebGLArrayBuffer.cpp. (WebCore::ArrayBuffer::create): (WebCore::ArrayBuffer::ArrayBuffer): (WebCore::ArrayBuffer::data): (WebCore::ArrayBuffer::byteLength): (WebCore::ArrayBuffer::~ArrayBuffer): (WebCore::ArrayBuffer::tryAllocate): * html/canvas/ArrayBuffer.h: Copied from WebCore/html/canvas/WebGLArrayBuffer.h. * html/canvas/ArrayBuffer.idl: Copied from WebCore/html/canvas/WebGLArrayBuffer.idl. * html/canvas/ArrayBufferView.cpp: Copied from WebCore/html/canvas/WebGLArray.cpp. (WebCore::ArrayBufferView::ArrayBufferView): (WebCore::ArrayBufferView::~ArrayBufferView): (WebCore::ArrayBufferView::setImpl): (WebCore::ArrayBufferView::calculateOffsetAndLength): * html/canvas/ArrayBufferView.h: Copied from WebCore/html/canvas/WebGLArray.h. (WebCore::ArrayBufferView::buffer): (WebCore::ArrayBufferView::verifySubRange): (WebCore::ArrayBufferView::clampOffsetAndNumElements): * html/canvas/ArrayBufferView.idl: Copied from WebCore/html/canvas/WebGLArray.idl. * html/canvas/FloatArray.cpp: Copied from WebCore/html/canvas/WebGLFloatArray.cpp. (WebCore::FloatArray::create): (WebCore::FloatArray::FloatArray): (WebCore::FloatArray::slice): * html/canvas/FloatArray.h: Copied from WebCore/html/canvas/WebGLFloatArray.h. (WebCore::FloatArray::set): (WebCore::FloatArray::item): * html/canvas/FloatArray.idl: Copied from WebCore/html/canvas/WebGLFloatArray.idl. * html/canvas/Int16Array.cpp: Copied from WebCore/html/canvas/WebGLShortArray.cpp. (WebCore::Int16Array::create): (WebCore::Int16Array::Int16Array): (WebCore::Int16Array::slice): * html/canvas/Int16Array.h: Copied from WebCore/html/canvas/WebGLShortArray.h. * html/canvas/Int16Array.idl: Copied from WebCore/html/canvas/WebGLShortArray.idl. * html/canvas/Int32Array.cpp: Copied from WebCore/html/canvas/WebGLIntArray.cpp. (WebCore::Int32Array::create): (WebCore::Int32Array::Int32Array): (WebCore::Int32Array::slice): * html/canvas/Int32Array.h: Copied from WebCore/html/canvas/WebGLIntArray.h. * html/canvas/Int32Array.idl: Copied from WebCore/html/canvas/WebGLIntArray.idl. * html/canvas/Int8Array.cpp: Copied from WebCore/html/canvas/WebGLByteArray.cpp. (WebCore::Int8Array::create): (WebCore::Int8Array::Int8Array): (WebCore::Int8Array::slice): * html/canvas/Int8Array.h: Copied from WebCore/html/canvas/WebGLByteArray.h. * html/canvas/Int8Array.idl: Copied from WebCore/html/canvas/WebGLByteArray.idl. * html/canvas/IntegralTypedArrayBase.h: Copied from WebCore/html/canvas/WebGLIntegralTypedArrayBase.h. (WebCore::IntegralTypedArrayBase::set): (WebCore::IntegralTypedArrayBase::item): (WebCore::IntegralTypedArrayBase::IntegralTypedArrayBase): * html/canvas/TypedArrayBase.h: Copied from WebCore/html/canvas/WebGLTypedArrayBase.h. (WebCore::TypedArrayBase::set): (WebCore::TypedArrayBase::TypedArrayBase): (WebCore::TypedArrayBase::create): * html/canvas/Uint16Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.cpp. (WebCore::Uint16Array::create): (WebCore::Uint16Array::Uint16Array): (WebCore::Uint16Array::slice): * html/canvas/Uint16Array.h: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.h. * html/canvas/Uint16Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.idl. * html/canvas/Uint32Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.cpp. (WebCore::Uint32Array::create): (WebCore::Uint32Array::Uint32Array): (WebCore::Uint32Array::slice): * html/canvas/Uint32Array.h: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.h. * html/canvas/Uint32Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.idl. * html/canvas/Uint8Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.cpp. (WebCore::Uint8Array::create): (WebCore::Uint8Array::Uint8Array): (WebCore::Uint8Array::slice): * html/canvas/Uint8Array.h: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.h. * html/canvas/Uint8Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.idl. * html/canvas/WebGLArray.cpp: Removed. * html/canvas/WebGLArray.h: Removed. * html/canvas/WebGLArray.idl: Removed. * html/canvas/WebGLArrayBuffer.cpp: Removed. * html/canvas/WebGLArrayBuffer.h: Removed. * html/canvas/WebGLArrayBuffer.idl: Removed. * html/canvas/WebGLBuffer.cpp: (WebCore::WebGLBuffer::associateBufferData): (WebCore::WebGLBuffer::associateBufferSubData): * html/canvas/WebGLBuffer.h: (WebCore::WebGLBuffer::elementArrayBuffer): * html/canvas/WebGLByteArray.cpp: Removed. * html/canvas/WebGLByteArray.h: Removed. * html/canvas/WebGLByteArray.idl: Removed. * html/canvas/WebGLFloatArray.cpp: Removed. * html/canvas/WebGLFloatArray.h: Removed. * html/canvas/WebGLFloatArray.idl: Removed. * html/canvas/WebGLGetInfo.cpp: (WebCore::WebGLGetInfo::WebGLGetInfo): (WebCore::WebGLGetInfo::getWebGLFloatArray): (WebCore::WebGLGetInfo::getWebGLIntArray): (WebCore::WebGLGetInfo::getWebGLUnsignedByteArray): * html/canvas/WebGLGetInfo.h: * html/canvas/WebGLIntArray.cpp: Removed. * html/canvas/WebGLIntArray.h: Removed. * html/canvas/WebGLIntArray.idl: Removed. * html/canvas/WebGLIntegralTypedArrayBase.h: Removed. * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::bufferData): (WebCore::WebGLRenderingContext::bufferSubData): (WebCore::WebGLRenderingContext::getUniform): (WebCore::WebGLRenderingContext::getVertexAttrib): (WebCore::WebGLRenderingContext::readPixels): (WebCore::WebGLRenderingContext::texImage2D): (WebCore::WebGLRenderingContext::texSubImage2D): (WebCore::WebGLRenderingContext::uniform1fv): (WebCore::WebGLRenderingContext::uniform1iv): (WebCore::WebGLRenderingContext::uniform2fv): (WebCore::WebGLRenderingContext::uniform2iv): (WebCore::WebGLRenderingContext::uniform3fv): (WebCore::WebGLRenderingContext::uniform3iv): (WebCore::WebGLRenderingContext::uniform4fv): (WebCore::WebGLRenderingContext::uniform4iv): (WebCore::WebGLRenderingContext::uniformMatrix2fv): (WebCore::WebGLRenderingContext::uniformMatrix3fv): (WebCore::WebGLRenderingContext::uniformMatrix4fv): (WebCore::WebGLRenderingContext::vertexAttrib1fv): (WebCore::WebGLRenderingContext::vertexAttrib2fv): (WebCore::WebGLRenderingContext::vertexAttrib3fv): (WebCore::WebGLRenderingContext::vertexAttrib4fv): (WebCore::WebGLRenderingContext::getWebGLFloatArrayParameter): (WebCore::WebGLRenderingContext::getWebGLIntArrayParameter): (WebCore::WebGLRenderingContext::getWebGLUnsignedByteArrayParameter): * html/canvas/WebGLRenderingContext.h: * html/canvas/WebGLRenderingContext.idl: * html/canvas/WebGLShortArray.cpp: Removed. * html/canvas/WebGLShortArray.h: Removed. * html/canvas/WebGLShortArray.idl: Removed. * html/canvas/WebGLTypedArrayBase.h: Removed. * html/canvas/WebGLUnsignedByteArray.cpp: Removed. * html/canvas/WebGLUnsignedByteArray.h: Removed. * html/canvas/WebGLUnsignedByteArray.idl: Removed. * html/canvas/WebGLUnsignedIntArray.cpp: Removed. * html/canvas/WebGLUnsignedIntArray.h: Removed. * html/canvas/WebGLUnsignedIntArray.idl: Removed. * html/canvas/WebGLUnsignedShortArray.cpp: Removed. * html/canvas/WebGLUnsignedShortArray.h: Removed. * html/canvas/WebGLUnsignedShortArray.idl: Removed. * page/DOMWindow.idl: * platform/graphics/GraphicsContext3D.h: * platform/graphics/mac/GraphicsContext3DMac.cpp: (WebCore::GraphicsContext3D::bufferData): (WebCore::GraphicsContext3D::bufferSubData): * platform/graphics/qt/GraphicsContext3DQt.cpp: (WebCore::GraphicsContext3D::bufferData): (WebCore::GraphicsContext3D::bufferSubData): 2010-05-14 Kenneth Russell <kbr@google.com> Reviewed by Darin Adler. Rename WebGLArray types to TypedArray types https://bugs.webkit.org/show_bug.cgi?id=39091 Extended functionality of do-webcore-rename script and used it to rename the WebGLArray types to the TypedArray naming convention. The only source files which were touched by hand, and which are being manually reviewed, are: WebCore/page/DOMWindow.idl WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone) WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp These only needed to be touched to update the aliases between the WebGLArray and TypedArray names introduced in bug 39036. (It was not feasible to have do-webcore-rename handle this as it would introduce circular renamings.) These aliases will be removed in roughly a month once existing WebGL content has been updated. No new tests; covered under existing WebGL tests. Updated constructed-objects-prototypes and prototype-inheritance-2 tests. Ran all layout tests in Safari and all WebGL tests in Chromium. * fast/dom/script-tests/constructed-objects-prototypes.js: (constructorPropertiesOnWindow): * fast/dom/script-tests/prototype-inheritance-2.js: (constructorNamesForWindow): 2010-05-14 Kenneth Russell <kbr@google.com> Reviewed by Darin Adler. Rename WebGLArray types to TypedArray types https://bugs.webkit.org/show_bug.cgi?id=39091 Extended functionality of do-webcore-rename script and used it to rename the WebGLArray types to the TypedArray naming convention. The only source files which were touched by hand, and which are being manually reviewed, are: WebCore/page/DOMWindow.idl WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone) WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp These only needed to be touched to update the aliases between the WebGLArray and TypedArray names introduced in bug 39036. (It was not feasible to have do-webcore-rename handle this as it would introduce circular renamings.) These aliases will be removed in roughly a month once existing WebGL content has been updated. No new tests; covered under existing WebGL tests. Updated constructed-objects-prototypes and prototype-inheritance-2 tests. Ran all layout tests in Safari and all WebGL tests in Chromium. * Scripts/do-webcore-rename: Handle the case where some renames are substrings of others. Support renaming files containing custom JS bindings. If isDOMTypeRename is non-zero, expand the regexp which rewrites the file's contents in order to support custom JS bindings. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Jan, 2010 1 commit
-
-
eric@webkit.org authored
Reviewed by Dimitri Glazkov. [V8] Generate header declaration for custom constructor callbacks https://bugs.webkit.org/show_bug.cgi?id=33680 Added handling of 'CanBeConstructed' and 'OmitConstructor' and a new extended attribute CustomConstructor'. Deleted implementation .cpp files for corresponding 'CanBeConstructed' extended attributes. These are now generated via CodeGeneratorV8.pm Treating 'OmitConstructor' and 'CustomConstructor' to be the same in CodeGeneratorJS.pm Cleaned idls that had 'CustomConstructor' and 'OmitConstructor' together, and same with CustomConstructor and CanBeConstructed. * Android.v8bindings.mk: * WebCore.gypi: Removed deps for classes being generated. * bindings/scripts/CodeGeneratorJS.pm: OmitConstructor and CustomConstructor have the same behavior in generator. * bindings/scripts/CodeGeneratorV8.pm: Generating the callbacks for constructors. * bindings/v8/V8DOMWrapper.cpp: Removed manual calls to SetCallHandler() for constructor callbacks. (WebCore::V8DOMWrapper::getTemplate): * bindings/v8/custom/V8CustomBinding.h: Removed manual declarations of constructor callbacks. * bindings/v8/custom/V8DOMParserConstructor.cpp: * bindings/v8/custom/V8EventSourceConstructor.cpp: (WebCore::V8EventSource::constructorCallback): * bindings/v8/custom/V8MessageChannelConstructor.cpp: (WebCore::V8MessageChannel::constructorCallback): * bindings/v8/custom/V8SharedWorkerCustom.cpp: (WebCore::V8SharedWorker::constructorCallback): * bindings/v8/custom/V8WebGLArrayBufferCustom.cpp: (WebCore::V8WebGLArrayBuffer::constructorCallback): * bindings/v8/custom/V8WebGLByteArrayCustom.cpp: (WebCore::V8WebGLByteArray::constructorCallback): * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp: (WebCore::V8WebGLFloatArray::constructorCallback): * bindings/v8/custom/V8WebGLIntArrayCustom.cpp: (WebCore::V8WebGLIntArray::constructorCallback): * bindings/v8/custom/V8WebGLShortArrayCustom.cpp: (WebCore::V8WebGLShortArray::constructorCallback): * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp: (WebCore::V8WebGLUnsignedByteArray::constructorCallback): * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp: (WebCore::V8WebGLUnsignedIntArray::constructorCallback): * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp: (WebCore::V8WebGLUnsignedShortArray::constructorCallback): * bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp: (WebCore::V8WebKitCSSMatrix::constructorCallback): * bindings/v8/custom/V8WebKitPointConstructor.cpp: (WebCore::V8WebKitPoint::constructorCallback): * bindings/v8/custom/V8WebSocketCustom.cpp: (WebCore::V8WebSocket::constructorCallback): * bindings/v8/custom/V8WorkerCustom.cpp: (WebCore::V8Worker::constructorCallback): * bindings/v8/custom/V8XMLHttpRequestConstructor.cpp: (WebCore::V8XMLHttpRequest::constructorCallback): * bindings/v8/custom/V8XMLSerializerConstructor.cpp: * bindings/v8/custom/V8XPathEvaluatorConstructor.cpp: Deleted the file. Implementation now being generated. * bindings/v8/custom/V8XSLTProcessorCustom.cpp: Deleted the file. Implementation now being generated. (WebCore::V8XSLTProcessor::constructorCallback): Deleted the file. Implementation now being generated. * css/WebKitCSSMatrix.idl: Added CustomConstructor attribute. * dom/MessageChannel.idl: Added CustomConstructor attribute. * html/canvas/WebGLArrayBuffer.idl: Added CustomConstructor attribute. * html/canvas/WebGLByteArray.idl: Added CustomConstructor attribute. * html/canvas/WebGLFloatArray.idl: Added CustomConstructor attribute. * html/canvas/WebGLIntArray.idl: Added CustomConstructor attribute. * html/canvas/WebGLShortArray.idl: Added CustomConstructor attribute. * html/canvas/WebGLUnsignedByteArray.idl: Added CustomConstructor attribute. * html/canvas/WebGLUnsignedIntArray.idl: Added CustomConstructor attribute. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 23 Dec, 2009 1 commit
-
-
zimmermann@webkit.org authored
Reviewed by Eric Seidel. Reverse JS GenerateConstructor logic https://bugs.webkit.org/show_bug.cgi?id=32910 Make 'GenerateConstructor' the default setting for all classes, defined in IDL files. The flag is now obsolete and can be removed from all IDL files in a follow-up patch. Add new 'OmitConstructor' flag, that allows to restore the old default behaviour: do not generate JSFoobarConstructor class. No change in functionality, despite the fact that we're generating a lot more constructors now, as they have to be exposed through DOMWindow.idl -- this can be done per affected class in follow-up patches. Especially the SVG classes have to be exposed, most of them are missing JS constructors so far. As side effect HTMLOptionsCollection is now correctly exposing its constructor, thus fixing a test in fast/dom/wrapper-classes.html git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 Nov, 2009 1 commit
-
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=29095 Reviewed by Maciej Stachowiak. Automatic rename of all WebGL related types from Canvas* to WebGL* per more recent version of the WebGL spec. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Sep, 2009 1 commit
-
-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=29010 This adds several new CanvasXXXArray classes each of which has a custom constructor and custom getters and setters. Also changed CanvasRenderingContext3D and GraphicsContext3D to match the new and changed API. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Aug, 2009 1 commit
-
-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=28018 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 25 Feb, 2009 1 commit
-
-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=23943 Added webkitConvertPointFromNodeToPage and webkitConvertPointFromPageToNode on the window object. Also added WebKitPoint object, which is passed in and out of these functions. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Dec, 2007 1 commit
-
-
zimmermann@webkit.org authored
Fixes: http://bugs.webkit.org/show_bug.cgi?id=10649 (WebKit SVG needs SVG Fonts support) Begin implementation of SVG Fonts module. Basic documents using SVG Fonts already work. Only local, in-document fonts who declare their glyphs using the <glyph d="..."> path syntax are supported. (<glyph> containing arbitary SVG content as child elements, not supported yet). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 Nov, 2007 1 commit
-
-
zimmermann@webkit.org authored
Final integration of ksvg2 in WebKit. Moving ksvg2/ to svg/ and killing all it's subdirectories, by moving the files into approriate locations (css, rendering, ...) - as dicsussed on the mailing list and on IRC with David/Darin & Eric. Updated all build files - though I can't guarantee it builds on non-mac. Need buildbot to verify. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Oct, 2007 1 commit
-
-
eseidel authored
Reviewed by hyatt. Implement <font-face> and friends for SVG. http://bugs.webkit.org/show_bug.cgi?id=10652 * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSSVGElementWrapperFactory.cpp: * dom/Document.cpp: (WebCore::Document::mappedElementSheet): (WebCore::Document::recalcStyleSelector): * dom/Document.h: * ksvg2/scripts/make_names.pl: * ksvg2/svg/SVGDefinitionSrcElement.cpp: Added. (WebCore::SVGDefinitionSrcElement::SVGDefinitionSrcElement): (WebCore::SVGDefinitionSrcElement::~SVGDefinitionSrcElement): (WebCore::SVGDefinitionSrcElement::childrenChanged): * ksvg2/svg/SVGDefinitionSrcElement.h: Added. * ksvg2/svg/SVGDefinitionSrcElement.idl: Added. * ksvg2/svg/SVGFontFaceElement.cpp: Added. (WebCore::SVGFontFaceElement::SVGFontFaceElement): (WebCore::SVGFontFaceElement::~SVGFontFaceElement): (WebCore::cssPropertyIdForName): (WebCore::mapAttributeToCSSProperty): (WebCore::cssPropertyIdForSVGAttributeName): (WebCore::SVGFontFaceElement::parseMappedAttribute): (WebCore::SVGFontFaceElement::rebuildFontFace): (WebCore::SVGFontFaceElement::childrenChanged): * ksvg2/svg/SVGFontFaceElement.h: Added. * ksvg2/svg/SVGFontFaceElement.idl: Added. * ksvg2/svg/SVGFontFaceFormatElement.cpp: Added. (WebCore::SVGFontFaceFormatElement::SVGFontFaceFormatElement): (WebCore::SVGFontFaceFormatElement::~SVGFontFaceFormatElement): (WebCore::SVGFontFaceFormatElement::childrenChanged): * ksvg2/svg/SVGFontFaceFormatElement.h: Added. * ksvg2/svg/SVGFontFaceFormatElement.idl: Added. * ksvg2/svg/SVGFontFaceNameElement.cpp: Added. (WebCore::SVGFontFaceNameElement::SVGFontFaceNameElement): (WebCore::SVGFontFaceNameElement::~SVGFontFaceNameElement): (WebCore::SVGFontFaceNameElement::srcValue): * ksvg2/svg/SVGFontFaceNameElement.h: Added. * ksvg2/svg/SVGFontFaceNameElement.idl: Added. * ksvg2/svg/SVGFontFaceSrcElement.cpp: Added. (WebCore::SVGFontFaceSrcElement::SVGFontFaceSrcElement): (WebCore::SVGFontFaceSrcElement::~SVGFontFaceSrcElement): (WebCore::SVGFontFaceSrcElement::srcValue): (WebCore::SVGFontFaceSrcElement::childrenChanged): * ksvg2/svg/SVGFontFaceSrcElement.h: Added. * ksvg2/svg/SVGFontFaceSrcElement.idl: Added. * ksvg2/svg/SVGFontFaceUriElement.cpp: Added. (WebCore::SVGFontFaceUriElement::SVGFontFaceUriElement): (WebCore::SVGFontFaceUriElement::~SVGFontFaceUriElement): (WebCore::SVGFontFaceUriElement::srcValue): (WebCore::SVGFontFaceUriElement::childrenChanged): * ksvg2/svg/SVGFontFaceUriElement.h: Added. * ksvg2/svg/SVGFontFaceUriElement.idl: Added. * ksvg2/svg/svgtags.in: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Oct, 2006 1 commit
-
-
weinig authored
Patch for http://bugs.webkit.org/show_bug.cgi?id=11215 Yet another round of Objective-C SVG DOM bindings auto-generation - Auto-generate DOMSVGPatternElement, DOMSVGPointList, DOMSVGPolygonElement, DOMSVGPolylineElement, DOMSVGRadialGradientElement, DOMSVGRenderingIntent, DOMSVGScriptElement, DOMSVGSetElement, DOMSVGStopElement, DOMSVGSwitchElement, DOMSVGSymbolElement, DOMSVGTRefElement, DOMSVGTSpanElement, DOMSVGTextContentElement, DOMSVGTextElement, DOMSVGTextPositioningElement, DOMSVGTitleElement, DOMSVGUnitTypes, DOMSVGUseElement, DOMSVGViewElement, DOMSVGZoomAndPan and DOMSVGZoomEvent. - Auto-generate the implementations of DOMHTMLAppletElement and DOMHTMLEmbedElement using the new [ConvertFromString] property. - Add forward declarations for NS* types to auto-generated classes. * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * bindings/objc/DOMHTMLAppletElement.mm: Removed. * bindings/objc/DOMHTMLEmbedElement.mm: Removed. * bindings/objc/DOMInternal.h: * bindings/objc/DOMSVG.h: * bindings/scripts/CodeGeneratorObjC.pm: * html/HTMLAppletElement.idl: * html/HTMLEmbedElement.idl: * ksvg2/svg/SVGPatternElement.idl: * ksvg2/svg/SVGPolygonElement.idl: * ksvg2/svg/SVGPolylineElement.idl: * ksvg2/svg/SVGRadialGradientElement.idl: * ksvg2/svg/SVGRenderingIntent.idl: * ksvg2/svg/SVGScriptElement.idl: * ksvg2/svg/SVGSetElement.idl: * ksvg2/svg/SVGStopElement.idl: * ksvg2/svg/SVGSwitchElement.idl: * ksvg2/svg/SVGSymbolElement.idl: * ksvg2/svg/SVGTRefElement.idl: * ksvg2/svg/SVGTSpanElement.idl: * ksvg2/svg/SVGTextContentElement.idl: * ksvg2/svg/SVGTextElement.idl: * ksvg2/svg/SVGTextPositioningElement.idl: * ksvg2/svg/SVGTitleElement.idl: * ksvg2/svg/SVGUseElement.idl: * ksvg2/svg/SVGViewElement.idl: * ksvg2/svg/SVGZoomEvent.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-