2011-06-17 Mark Pilgrim <pilgrim@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Jun 2011 18:19:32 +0000 (18:19 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Jun 2011 18:19:32 +0000 (18:19 +0000)
        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: https://svn.webkit.org/repository/webkit/trunk@89148 268f45cc-cd09-0410-ab3c-d52691b4dbfc

525 files changed:
Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
Source/WebCore/bindings/scripts/test/TestCallback.idl
Source/WebCore/bindings/scripts/test/TestInterface.idl
Source/WebCore/bindings/scripts/test/TestMediaQueryListListener.idl
Source/WebCore/bindings/scripts/test/TestObj.idl
Source/WebCore/bindings/scripts/test/TestSerializedScriptValueInterface.idl
Source/WebCore/css/CSSCharsetRule.idl
Source/WebCore/css/CSSFontFaceRule.idl
Source/WebCore/css/CSSImportRule.idl
Source/WebCore/css/CSSMediaRule.idl
Source/WebCore/css/CSSPageRule.idl
Source/WebCore/css/CSSPrimitiveValue.idl
Source/WebCore/css/CSSRule.idl
Source/WebCore/css/CSSRuleList.idl
Source/WebCore/css/CSSStyleDeclaration.idl
Source/WebCore/css/CSSStyleRule.idl
Source/WebCore/css/CSSStyleSheet.idl
Source/WebCore/css/CSSUnknownRule.idl
Source/WebCore/css/CSSValue.idl
Source/WebCore/css/CSSValueList.idl
Source/WebCore/css/Counter.idl
Source/WebCore/css/MediaList.idl
Source/WebCore/css/MediaQueryList.idl
Source/WebCore/css/MediaQueryListListener.idl
Source/WebCore/css/RGBColor.idl
Source/WebCore/css/Rect.idl
Source/WebCore/css/StyleMedia.idl
Source/WebCore/css/StyleSheet.idl
Source/WebCore/css/StyleSheetList.idl
Source/WebCore/css/WebKitCSSKeyframeRule.idl
Source/WebCore/css/WebKitCSSKeyframesRule.idl
Source/WebCore/css/WebKitCSSMatrix.idl
Source/WebCore/css/WebKitCSSTransformValue.idl
Source/WebCore/dom/Attr.idl
Source/WebCore/dom/BeforeLoadEvent.idl
Source/WebCore/dom/BeforeProcessEvent.idl
Source/WebCore/dom/CDATASection.idl
Source/WebCore/dom/CharacterData.idl
Source/WebCore/dom/ClientRect.idl
Source/WebCore/dom/ClientRectList.idl
Source/WebCore/dom/Clipboard.idl
Source/WebCore/dom/Comment.idl
Source/WebCore/dom/CompositionEvent.idl
Source/WebCore/dom/CustomEvent.idl
Source/WebCore/dom/DOMCoreException.idl
Source/WebCore/dom/DOMImplementation.idl
Source/WebCore/dom/DOMStringList.idl
Source/WebCore/dom/DOMStringMap.idl
Source/WebCore/dom/DataTransferItem.idl
Source/WebCore/dom/DataTransferItems.idl
Source/WebCore/dom/DeviceMotionEvent.idl
Source/WebCore/dom/DeviceOrientationEvent.idl
Source/WebCore/dom/Document.idl
Source/WebCore/dom/DocumentFragment.idl
Source/WebCore/dom/DocumentType.idl
Source/WebCore/dom/Element.idl
Source/WebCore/dom/Entity.idl
Source/WebCore/dom/EntityReference.idl
Source/WebCore/dom/ErrorEvent.idl
Source/WebCore/dom/Event.idl
Source/WebCore/dom/EventException.idl
Source/WebCore/dom/EventListener.idl
Source/WebCore/dom/EventTarget.idl
Source/WebCore/dom/ExclusiveTrackList.idl
Source/WebCore/dom/GeneratedStream.idl
Source/WebCore/dom/HashChangeEvent.idl
Source/WebCore/dom/KeyboardEvent.idl
Source/WebCore/dom/MessageChannel.idl
Source/WebCore/dom/MessageEvent.idl
Source/WebCore/dom/MessagePort.idl
Source/WebCore/dom/MouseEvent.idl
Source/WebCore/dom/MultipleTrackList.idl
Source/WebCore/dom/MutationEvent.idl
Source/WebCore/dom/NamedNodeMap.idl
Source/WebCore/dom/Node.idl
Source/WebCore/dom/NodeFilter.idl
Source/WebCore/dom/NodeIterator.idl
Source/WebCore/dom/NodeList.idl
Source/WebCore/dom/Notation.idl
Source/WebCore/dom/OverflowEvent.idl
Source/WebCore/dom/PageTransitionEvent.idl
Source/WebCore/dom/PopStateEvent.idl
Source/WebCore/dom/ProcessingInstruction.idl
Source/WebCore/dom/ProgressEvent.idl
Source/WebCore/dom/Range.idl
Source/WebCore/dom/RangeException.idl
Source/WebCore/dom/RequestAnimationFrameCallback.idl
Source/WebCore/dom/Stream.idl
Source/WebCore/dom/StreamEvent.idl
Source/WebCore/dom/StreamList.idl
Source/WebCore/dom/StringCallback.idl
Source/WebCore/dom/Text.idl
Source/WebCore/dom/TextEvent.idl
Source/WebCore/dom/Touch.idl
Source/WebCore/dom/TouchEvent.idl
Source/WebCore/dom/TouchList.idl
Source/WebCore/dom/TrackList.idl
Source/WebCore/dom/TreeWalker.idl
Source/WebCore/dom/UIEvent.idl
Source/WebCore/dom/WebKitAnimationEvent.idl
Source/WebCore/dom/WebKitTransitionEvent.idl
Source/WebCore/dom/WheelEvent.idl
Source/WebCore/fileapi/Blob.idl
Source/WebCore/fileapi/DOMFileSystem.idl
Source/WebCore/fileapi/DOMFileSystemSync.idl
Source/WebCore/fileapi/DirectoryEntry.idl
Source/WebCore/fileapi/DirectoryEntrySync.idl
Source/WebCore/fileapi/DirectoryReader.idl
Source/WebCore/fileapi/DirectoryReaderSync.idl
Source/WebCore/fileapi/EntriesCallback.idl
Source/WebCore/fileapi/Entry.idl
Source/WebCore/fileapi/EntryArray.idl
Source/WebCore/fileapi/EntryArraySync.idl
Source/WebCore/fileapi/EntryCallback.idl
Source/WebCore/fileapi/EntrySync.idl
Source/WebCore/fileapi/ErrorCallback.idl
Source/WebCore/fileapi/File.idl
Source/WebCore/fileapi/FileCallback.idl
Source/WebCore/fileapi/FileEntry.idl
Source/WebCore/fileapi/FileEntrySync.idl
Source/WebCore/fileapi/FileError.idl
Source/WebCore/fileapi/FileException.idl
Source/WebCore/fileapi/FileList.idl
Source/WebCore/fileapi/FileReader.idl
Source/WebCore/fileapi/FileReaderSync.idl
Source/WebCore/fileapi/FileSystemCallback.idl
Source/WebCore/fileapi/FileWriter.idl
Source/WebCore/fileapi/FileWriterCallback.idl
Source/WebCore/fileapi/FileWriterSync.idl
Source/WebCore/fileapi/Metadata.idl
Source/WebCore/fileapi/MetadataCallback.idl
Source/WebCore/fileapi/OperationNotAllowedException.idl
Source/WebCore/fileapi/WebKitBlobBuilder.idl
Source/WebCore/fileapi/WebKitFlags.idl
Source/WebCore/html/DOMFormData.idl
Source/WebCore/html/DOMSettableTokenList.idl
Source/WebCore/html/DOMTokenList.idl
Source/WebCore/html/DOMURL.idl
Source/WebCore/html/HTMLAllCollection.idl
Source/WebCore/html/HTMLAnchorElement.idl
Source/WebCore/html/HTMLAppletElement.idl
Source/WebCore/html/HTMLAreaElement.idl
Source/WebCore/html/HTMLAudioElement.idl
Source/WebCore/html/HTMLBRElement.idl
Source/WebCore/html/HTMLBaseElement.idl
Source/WebCore/html/HTMLBaseFontElement.idl
Source/WebCore/html/HTMLBlockquoteElement.idl
Source/WebCore/html/HTMLBodyElement.idl
Source/WebCore/html/HTMLButtonElement.idl
Source/WebCore/html/HTMLCanvasElement.idl
Source/WebCore/html/HTMLCollection.idl
Source/WebCore/html/HTMLDListElement.idl
Source/WebCore/html/HTMLDataListElement.idl
Source/WebCore/html/HTMLDetailsElement.idl
Source/WebCore/html/HTMLDirectoryElement.idl
Source/WebCore/html/HTMLDivElement.idl
Source/WebCore/html/HTMLDocument.idl
Source/WebCore/html/HTMLElement.idl
Source/WebCore/html/HTMLEmbedElement.idl
Source/WebCore/html/HTMLFieldSetElement.idl
Source/WebCore/html/HTMLFontElement.idl
Source/WebCore/html/HTMLFormElement.idl
Source/WebCore/html/HTMLFrameElement.idl
Source/WebCore/html/HTMLFrameSetElement.idl
Source/WebCore/html/HTMLHRElement.idl
Source/WebCore/html/HTMLHeadElement.idl
Source/WebCore/html/HTMLHeadingElement.idl
Source/WebCore/html/HTMLHtmlElement.idl
Source/WebCore/html/HTMLIFrameElement.idl
Source/WebCore/html/HTMLImageElement.idl
Source/WebCore/html/HTMLInputElement.idl
Source/WebCore/html/HTMLIsIndexElement.idl
Source/WebCore/html/HTMLKeygenElement.idl
Source/WebCore/html/HTMLLIElement.idl
Source/WebCore/html/HTMLLabelElement.idl
Source/WebCore/html/HTMLLegendElement.idl
Source/WebCore/html/HTMLLinkElement.idl
Source/WebCore/html/HTMLMapElement.idl
Source/WebCore/html/HTMLMarqueeElement.idl
Source/WebCore/html/HTMLMediaElement.idl
Source/WebCore/html/HTMLMenuElement.idl
Source/WebCore/html/HTMLMetaElement.idl
Source/WebCore/html/HTMLMeterElement.idl
Source/WebCore/html/HTMLModElement.idl
Source/WebCore/html/HTMLOListElement.idl
Source/WebCore/html/HTMLObjectElement.idl
Source/WebCore/html/HTMLOptGroupElement.idl
Source/WebCore/html/HTMLOptionElement.idl
Source/WebCore/html/HTMLOptionsCollection.idl
Source/WebCore/html/HTMLOutputElement.idl
Source/WebCore/html/HTMLParagraphElement.idl
Source/WebCore/html/HTMLParamElement.idl
Source/WebCore/html/HTMLPreElement.idl
Source/WebCore/html/HTMLProgressElement.idl
Source/WebCore/html/HTMLQuoteElement.idl
Source/WebCore/html/HTMLScriptElement.idl
Source/WebCore/html/HTMLSelectElement.idl
Source/WebCore/html/HTMLSourceElement.idl
Source/WebCore/html/HTMLStyleElement.idl
Source/WebCore/html/HTMLTableCaptionElement.idl
Source/WebCore/html/HTMLTableCellElement.idl
Source/WebCore/html/HTMLTableColElement.idl
Source/WebCore/html/HTMLTableElement.idl
Source/WebCore/html/HTMLTableRowElement.idl
Source/WebCore/html/HTMLTableSectionElement.idl
Source/WebCore/html/HTMLTextAreaElement.idl
Source/WebCore/html/HTMLTitleElement.idl
Source/WebCore/html/HTMLTrackElement.idl
Source/WebCore/html/HTMLUListElement.idl
Source/WebCore/html/HTMLVideoElement.idl
Source/WebCore/html/ImageData.idl
Source/WebCore/html/MediaError.idl
Source/WebCore/html/SpellcheckRange.idl
Source/WebCore/html/SpellcheckRangeList.idl
Source/WebCore/html/TextMetrics.idl
Source/WebCore/html/TimeRanges.idl
Source/WebCore/html/ValidityState.idl
Source/WebCore/html/VoidCallback.idl
Source/WebCore/html/canvas/ArrayBuffer.idl
Source/WebCore/html/canvas/ArrayBufferView.idl
Source/WebCore/html/canvas/CanvasGradient.idl
Source/WebCore/html/canvas/CanvasPattern.idl
Source/WebCore/html/canvas/CanvasPixelArray.idl
Source/WebCore/html/canvas/CanvasRenderingContext.idl
Source/WebCore/html/canvas/CanvasRenderingContext2D.idl
Source/WebCore/html/canvas/DataView.idl
Source/WebCore/html/canvas/Float32Array.idl
Source/WebCore/html/canvas/Float64Array.idl
Source/WebCore/html/canvas/Int16Array.idl
Source/WebCore/html/canvas/Int32Array.idl
Source/WebCore/html/canvas/Int8Array.idl
Source/WebCore/html/canvas/OESStandardDerivatives.idl
Source/WebCore/html/canvas/OESTextureFloat.idl
Source/WebCore/html/canvas/OESVertexArrayObject.idl
Source/WebCore/html/canvas/Uint16Array.idl
Source/WebCore/html/canvas/Uint32Array.idl
Source/WebCore/html/canvas/Uint8Array.idl
Source/WebCore/html/canvas/WebGLActiveInfo.idl
Source/WebCore/html/canvas/WebGLBuffer.idl
Source/WebCore/html/canvas/WebGLContextAttributes.idl
Source/WebCore/html/canvas/WebGLContextEvent.idl
Source/WebCore/html/canvas/WebGLFramebuffer.idl
Source/WebCore/html/canvas/WebGLProgram.idl
Source/WebCore/html/canvas/WebGLRenderbuffer.idl
Source/WebCore/html/canvas/WebGLRenderingContext.idl
Source/WebCore/html/canvas/WebGLShader.idl
Source/WebCore/html/canvas/WebGLTexture.idl
Source/WebCore/html/canvas/WebGLUniformLocation.idl
Source/WebCore/html/canvas/WebGLVertexArrayObjectOES.idl
Source/WebCore/html/canvas/WebKitLoseContext.idl
Source/WebCore/inspector/InjectedScriptHost.idl
Source/WebCore/inspector/InspectorFrontendHost.idl
Source/WebCore/inspector/JavaScriptCallFrame.idl
Source/WebCore/inspector/ScriptProfile.idl
Source/WebCore/inspector/ScriptProfileNode.idl
Source/WebCore/loader/appcache/DOMApplicationCache.idl
Source/WebCore/notifications/Notification.idl
Source/WebCore/notifications/NotificationCenter.idl
Source/WebCore/page/AbstractView.idl
Source/WebCore/page/BarInfo.idl
Source/WebCore/page/Console.idl
Source/WebCore/page/Coordinates.idl
Source/WebCore/page/Crypto.idl
Source/WebCore/page/DOMSelection.idl
Source/WebCore/page/DOMWindow.idl
Source/WebCore/page/EventSource.idl
Source/WebCore/page/Geolocation.idl
Source/WebCore/page/Geoposition.idl
Source/WebCore/page/History.idl
Source/WebCore/page/Location.idl
Source/WebCore/page/MemoryInfo.idl
Source/WebCore/page/Navigator.idl
Source/WebCore/page/NavigatorUserMediaError.idl
Source/WebCore/page/NavigatorUserMediaErrorCallback.idl
Source/WebCore/page/NavigatorUserMediaSuccessCallback.idl
Source/WebCore/page/Performance.idl
Source/WebCore/page/PerformanceNavigation.idl
Source/WebCore/page/PerformanceTiming.idl
Source/WebCore/page/PositionCallback.idl
Source/WebCore/page/PositionError.idl
Source/WebCore/page/PositionErrorCallback.idl
Source/WebCore/page/Screen.idl
Source/WebCore/page/SpeechInputEvent.idl
Source/WebCore/page/SpeechInputResult.idl
Source/WebCore/page/SpeechInputResultList.idl
Source/WebCore/page/WebKitAnimation.idl
Source/WebCore/page/WebKitAnimationList.idl
Source/WebCore/page/WebKitPoint.idl
Source/WebCore/page/WorkerNavigator.idl
Source/WebCore/plugins/DOMMimeType.idl
Source/WebCore/plugins/DOMMimeTypeArray.idl
Source/WebCore/plugins/DOMPlugin.idl
Source/WebCore/plugins/DOMPluginArray.idl
Source/WebCore/storage/Database.idl
Source/WebCore/storage/DatabaseCallback.idl
Source/WebCore/storage/DatabaseSync.idl
Source/WebCore/storage/IDBAny.idl
Source/WebCore/storage/IDBCursor.idl
Source/WebCore/storage/IDBCursorWithValue.idl
Source/WebCore/storage/IDBDatabase.idl
Source/WebCore/storage/IDBDatabaseError.idl
Source/WebCore/storage/IDBDatabaseException.idl
Source/WebCore/storage/IDBFactory.idl
Source/WebCore/storage/IDBIndex.idl
Source/WebCore/storage/IDBKey.idl
Source/WebCore/storage/IDBKeyRange.idl
Source/WebCore/storage/IDBObjectStore.idl
Source/WebCore/storage/IDBRequest.idl
Source/WebCore/storage/IDBTransaction.idl
Source/WebCore/storage/IDBVersionChangeEvent.idl
Source/WebCore/storage/IDBVersionChangeRequest.idl
Source/WebCore/storage/SQLError.idl
Source/WebCore/storage/SQLException.idl
Source/WebCore/storage/SQLResultSet.idl
Source/WebCore/storage/SQLResultSetRowList.idl
Source/WebCore/storage/SQLStatementCallback.idl
Source/WebCore/storage/SQLStatementErrorCallback.idl
Source/WebCore/storage/SQLTransaction.idl
Source/WebCore/storage/SQLTransactionCallback.idl
Source/WebCore/storage/SQLTransactionErrorCallback.idl
Source/WebCore/storage/SQLTransactionSync.idl
Source/WebCore/storage/SQLTransactionSyncCallback.idl
Source/WebCore/storage/Storage.idl
Source/WebCore/storage/StorageEvent.idl
Source/WebCore/storage/StorageInfo.idl
Source/WebCore/storage/StorageInfoErrorCallback.idl
Source/WebCore/storage/StorageInfoQuotaCallback.idl
Source/WebCore/storage/StorageInfoUsageCallback.idl
Source/WebCore/svg/ElementTimeControl.idl
Source/WebCore/svg/SVGAElement.idl
Source/WebCore/svg/SVGAltGlyphElement.idl
Source/WebCore/svg/SVGAngle.idl
Source/WebCore/svg/SVGAnimateColorElement.idl
Source/WebCore/svg/SVGAnimateElement.idl
Source/WebCore/svg/SVGAnimateMotionElement.idl
Source/WebCore/svg/SVGAnimateTransformElement.idl
Source/WebCore/svg/SVGAnimatedAngle.idl
Source/WebCore/svg/SVGAnimatedBoolean.idl
Source/WebCore/svg/SVGAnimatedEnumeration.idl
Source/WebCore/svg/SVGAnimatedInteger.idl
Source/WebCore/svg/SVGAnimatedLength.idl
Source/WebCore/svg/SVGAnimatedLengthList.idl
Source/WebCore/svg/SVGAnimatedNumber.idl
Source/WebCore/svg/SVGAnimatedNumberList.idl
Source/WebCore/svg/SVGAnimatedPreserveAspectRatio.idl
Source/WebCore/svg/SVGAnimatedRect.idl
Source/WebCore/svg/SVGAnimatedString.idl
Source/WebCore/svg/SVGAnimatedTransformList.idl
Source/WebCore/svg/SVGAnimationElement.idl
Source/WebCore/svg/SVGCircleElement.idl
Source/WebCore/svg/SVGClipPathElement.idl
Source/WebCore/svg/SVGColor.idl
Source/WebCore/svg/SVGComponentTransferFunctionElement.idl
Source/WebCore/svg/SVGCursorElement.idl
Source/WebCore/svg/SVGDefsElement.idl
Source/WebCore/svg/SVGDescElement.idl
Source/WebCore/svg/SVGDocument.idl
Source/WebCore/svg/SVGElement.idl
Source/WebCore/svg/SVGElementInstance.idl
Source/WebCore/svg/SVGElementInstanceList.idl
Source/WebCore/svg/SVGEllipseElement.idl
Source/WebCore/svg/SVGException.idl
Source/WebCore/svg/SVGExternalResourcesRequired.idl
Source/WebCore/svg/SVGFEBlendElement.idl
Source/WebCore/svg/SVGFEColorMatrixElement.idl
Source/WebCore/svg/SVGFEComponentTransferElement.idl
Source/WebCore/svg/SVGFECompositeElement.idl
Source/WebCore/svg/SVGFEConvolveMatrixElement.idl
Source/WebCore/svg/SVGFEDiffuseLightingElement.idl
Source/WebCore/svg/SVGFEDisplacementMapElement.idl
Source/WebCore/svg/SVGFEDistantLightElement.idl
Source/WebCore/svg/SVGFEDropShadowElement.idl
Source/WebCore/svg/SVGFEFloodElement.idl
Source/WebCore/svg/SVGFEFuncAElement.idl
Source/WebCore/svg/SVGFEFuncBElement.idl
Source/WebCore/svg/SVGFEFuncGElement.idl
Source/WebCore/svg/SVGFEFuncRElement.idl
Source/WebCore/svg/SVGFEGaussianBlurElement.idl
Source/WebCore/svg/SVGFEImageElement.idl
Source/WebCore/svg/SVGFEMergeElement.idl
Source/WebCore/svg/SVGFEMergeNodeElement.idl
Source/WebCore/svg/SVGFEMorphologyElement.idl
Source/WebCore/svg/SVGFEOffsetElement.idl
Source/WebCore/svg/SVGFEPointLightElement.idl
Source/WebCore/svg/SVGFESpecularLightingElement.idl
Source/WebCore/svg/SVGFESpotLightElement.idl
Source/WebCore/svg/SVGFETileElement.idl
Source/WebCore/svg/SVGFETurbulenceElement.idl
Source/WebCore/svg/SVGFilterElement.idl
Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.idl
Source/WebCore/svg/SVGFitToViewBox.idl
Source/WebCore/svg/SVGFontElement.idl
Source/WebCore/svg/SVGFontFaceElement.idl
Source/WebCore/svg/SVGFontFaceFormatElement.idl
Source/WebCore/svg/SVGFontFaceNameElement.idl
Source/WebCore/svg/SVGFontFaceSrcElement.idl
Source/WebCore/svg/SVGFontFaceUriElement.idl
Source/WebCore/svg/SVGForeignObjectElement.idl
Source/WebCore/svg/SVGGElement.idl
Source/WebCore/svg/SVGGlyphElement.idl
Source/WebCore/svg/SVGGradientElement.idl
Source/WebCore/svg/SVGHKernElement.idl
Source/WebCore/svg/SVGImageElement.idl
Source/WebCore/svg/SVGLangSpace.idl
Source/WebCore/svg/SVGLength.idl
Source/WebCore/svg/SVGLengthList.idl
Source/WebCore/svg/SVGLineElement.idl
Source/WebCore/svg/SVGLinearGradientElement.idl
Source/WebCore/svg/SVGLocatable.idl
Source/WebCore/svg/SVGMPathElement.idl
Source/WebCore/svg/SVGMarkerElement.idl
Source/WebCore/svg/SVGMaskElement.idl
Source/WebCore/svg/SVGMatrix.idl
Source/WebCore/svg/SVGMetadataElement.idl
Source/WebCore/svg/SVGMissingGlyphElement.idl
Source/WebCore/svg/SVGNumber.idl
Source/WebCore/svg/SVGNumberList.idl
Source/WebCore/svg/SVGPaint.idl
Source/WebCore/svg/SVGPathElement.idl
Source/WebCore/svg/SVGPathSeg.idl
Source/WebCore/svg/SVGPathSegArcAbs.idl
Source/WebCore/svg/SVGPathSegArcRel.idl
Source/WebCore/svg/SVGPathSegClosePath.idl
Source/WebCore/svg/SVGPathSegCurvetoCubicAbs.idl
Source/WebCore/svg/SVGPathSegCurvetoCubicRel.idl
Source/WebCore/svg/SVGPathSegCurvetoCubicSmoothAbs.idl
Source/WebCore/svg/SVGPathSegCurvetoCubicSmoothRel.idl
Source/WebCore/svg/SVGPathSegCurvetoQuadraticAbs.idl
Source/WebCore/svg/SVGPathSegCurvetoQuadraticRel.idl
Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl
Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl
Source/WebCore/svg/SVGPathSegLinetoAbs.idl
Source/WebCore/svg/SVGPathSegLinetoHorizontalAbs.idl
Source/WebCore/svg/SVGPathSegLinetoHorizontalRel.idl
Source/WebCore/svg/SVGPathSegLinetoRel.idl
Source/WebCore/svg/SVGPathSegLinetoVerticalAbs.idl
Source/WebCore/svg/SVGPathSegLinetoVerticalRel.idl
Source/WebCore/svg/SVGPathSegList.idl
Source/WebCore/svg/SVGPathSegMovetoAbs.idl
Source/WebCore/svg/SVGPathSegMovetoRel.idl
Source/WebCore/svg/SVGPatternElement.idl
Source/WebCore/svg/SVGPoint.idl
Source/WebCore/svg/SVGPointList.idl
Source/WebCore/svg/SVGPolygonElement.idl
Source/WebCore/svg/SVGPolylineElement.idl
Source/WebCore/svg/SVGPreserveAspectRatio.idl
Source/WebCore/svg/SVGRadialGradientElement.idl
Source/WebCore/svg/SVGRect.idl
Source/WebCore/svg/SVGRectElement.idl
Source/WebCore/svg/SVGRenderingIntent.idl
Source/WebCore/svg/SVGSVGElement.idl
Source/WebCore/svg/SVGScriptElement.idl
Source/WebCore/svg/SVGSetElement.idl
Source/WebCore/svg/SVGStopElement.idl
Source/WebCore/svg/SVGStringList.idl
Source/WebCore/svg/SVGStylable.idl
Source/WebCore/svg/SVGStyleElement.idl
Source/WebCore/svg/SVGSwitchElement.idl
Source/WebCore/svg/SVGSymbolElement.idl
Source/WebCore/svg/SVGTRefElement.idl
Source/WebCore/svg/SVGTSpanElement.idl
Source/WebCore/svg/SVGTests.idl
Source/WebCore/svg/SVGTextContentElement.idl
Source/WebCore/svg/SVGTextElement.idl
Source/WebCore/svg/SVGTextPathElement.idl
Source/WebCore/svg/SVGTextPositioningElement.idl
Source/WebCore/svg/SVGTitleElement.idl
Source/WebCore/svg/SVGTransform.idl
Source/WebCore/svg/SVGTransformList.idl
Source/WebCore/svg/SVGTransformable.idl
Source/WebCore/svg/SVGURIReference.idl
Source/WebCore/svg/SVGUnitTypes.idl
Source/WebCore/svg/SVGUseElement.idl
Source/WebCore/svg/SVGVKernElement.idl
Source/WebCore/svg/SVGViewElement.idl
Source/WebCore/svg/SVGViewSpec.idl
Source/WebCore/svg/SVGZoomAndPan.idl
Source/WebCore/svg/SVGZoomEvent.idl
Source/WebCore/testing/Internals.idl
Source/WebCore/webaudio/AudioBuffer.idl
Source/WebCore/webaudio/AudioBufferSourceNode.idl
Source/WebCore/webaudio/AudioChannelMerger.idl
Source/WebCore/webaudio/AudioChannelSplitter.idl
Source/WebCore/webaudio/AudioContext.idl
Source/WebCore/webaudio/AudioDestinationNode.idl
Source/WebCore/webaudio/AudioGain.idl
Source/WebCore/webaudio/AudioGainNode.idl
Source/WebCore/webaudio/AudioListener.idl
Source/WebCore/webaudio/AudioNode.idl
Source/WebCore/webaudio/AudioPannerNode.idl
Source/WebCore/webaudio/AudioParam.idl
Source/WebCore/webaudio/AudioProcessingEvent.idl
Source/WebCore/webaudio/AudioSourceNode.idl
Source/WebCore/webaudio/BiquadFilterNode.idl
Source/WebCore/webaudio/ConvolverNode.idl
Source/WebCore/webaudio/DelayNode.idl
Source/WebCore/webaudio/DynamicsCompressorNode.idl
Source/WebCore/webaudio/HighPass2FilterNode.idl
Source/WebCore/webaudio/JavaScriptAudioNode.idl
Source/WebCore/webaudio/LowPass2FilterNode.idl
Source/WebCore/webaudio/OfflineAudioCompletionEvent.idl
Source/WebCore/webaudio/RealtimeAnalyserNode.idl
Source/WebCore/websockets/CloseEvent.idl
Source/WebCore/websockets/WebSocket.idl
Source/WebCore/workers/AbstractWorker.idl
Source/WebCore/workers/DedicatedWorkerContext.idl
Source/WebCore/workers/SharedWorker.idl
Source/WebCore/workers/SharedWorkerContext.idl
Source/WebCore/workers/Worker.idl
Source/WebCore/workers/WorkerContext.idl
Source/WebCore/workers/WorkerLocation.idl
Source/WebCore/xml/DOMParser.idl
Source/WebCore/xml/XMLHttpRequest.idl
Source/WebCore/xml/XMLHttpRequestException.idl
Source/WebCore/xml/XMLHttpRequestProgressEvent.idl
Source/WebCore/xml/XMLHttpRequestUpload.idl
Source/WebCore/xml/XMLSerializer.idl
Source/WebCore/xml/XPathEvaluator.idl
Source/WebCore/xml/XPathException.idl
Source/WebCore/xml/XPathExpression.idl
Source/WebCore/xml/XPathNSResolver.idl
Source/WebCore/xml/XPathResult.idl
Source/WebCore/xml/XSLTProcessor.idl

index 4d56585f55ce5a053b045dbb8826ef9f878653fe..fdc5ba00b4282e8c72eaae237d64a86d6d132d5e 100644 (file)
@@ -1,3 +1,547 @@
+2011-06-17  Mark Pilgrim  <pilgrim@chromium.org>
+
+        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:
+
 2011-06-17  Cary Clark  <caryclark@google.com>
 
         Reviewed by Mihai Parparita.
index 6f8aff2aa3b7fd7020b8e8b4276179b9f9367414..5149a82b5dacce26b79b01c68105d8d2c44d0dfd 100644 (file)
@@ -1929,7 +1929,12 @@ sub GenerateImplementation
 
                 my $numParameters = @{$function->parameters};
 
-                my $requiresAllArguments = $function->signature->extendedAttributes->{"RequiresAllArguments"};
+                my $requiresAllArguments;
+                if ($dataNode->extendedAttributes->{"LegacyDefaultOptionalArguments"}) {
+                    $requiresAllArguments = $function->signature->extendedAttributes->{"RequiresAllArguments"};
+                } else {
+                    $requiresAllArguments = "Raise";
+                }
                 if ($requiresAllArguments) {
                     my $numMandatoryParams = @{$function->parameters};
                     foreach my $param (reverse(@{$function->parameters})) {
index e777549b6b11bf92949cfd7276f6698c58449a33..9831445f7597ace4c25297aa3aefe1c5e177a461 100644 (file)
@@ -1242,7 +1242,12 @@ END
 
     my $numParameters = @{$function->parameters};
 
-    my $requiresAllArguments = $function->signature->extendedAttributes->{"RequiresAllArguments"};
+    my $requiresAllArguments;
+    if ($dataNode->extendedAttributes->{"LegacyDefaultOptionalArguments"}) {
+        $requiresAllArguments = $function->signature->extendedAttributes->{"RequiresAllArguments"};
+    } else {
+        $requiresAllArguments = "Raise";
+    }
     if ($requiresAllArguments) {
         my $numMandatoryParams = @{$function->parameters};
         foreach my $param (reverse(@{$function->parameters})) {
index 2475251b80bc44b6323b0d8ee606e6e2fb4cd671..9e1b1bd60b667ee498ef117c822c6dab38e1c30d 100644 (file)
@@ -31,6 +31,7 @@
 module test {
     interface [
         Conditional=DATABASE,
+        LegacyDefaultOptionalArguments,
         Callback
     ] TestCallback {
       boolean callbackWithNoParam();
index 1f0aa18c8450eb5af438adc0c1da03a4781dd209..ee2ffc26f87ee66b3719738930dcac706a90fa04 100644 (file)
@@ -31,6 +31,7 @@
 module test {
     interface [
         Conditional=Condition1|Condition2,
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CallWith=ScriptExecutionContext
     ] TestInterface {
index 536393b3872c24af346834c07c1a860d2501425a..2a49a3feb46a07b80eb969bbadcacb13e874c9a5 100644 (file)
@@ -26,7 +26,9 @@
 // This IDL file is for testing the bindings code generator with an interface
 // that has methods receiving a parameter of the type MediaQueryListListener.
 module test {
-    interface TestMediaQueryListListener {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] TestMediaQueryListListener {
         void method(in MediaQueryListListener listener);
     };
 }
index a4eff2604e99e5ee2544f37086fae9924c95a6e8..fb2b8c2cfd5278ec7f732ff9e947e86fcd5df8e6 100644 (file)
@@ -30,7 +30,9 @@
 // This IDL file is for testing the bindings code generator and for tracking
 // changes in its ouput.
 module test {
-    interface TestObj {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] TestObj {
         // Attributes
         readonly attribute long            readOnlyIntAttr;
         readonly attribute DOMString       readOnlyStringAttr;
index 6cd25bba5fcb723f0e4fbf7c2ba401aef9e7bae4..d038069de2c1749c5bd5558f96eef0fe2f6d6637 100644 (file)
@@ -28,6 +28,7 @@
 module test {
     interface [
         Conditional=Condition1|Condition2,
+        LegacyDefaultOptionalArguments,
     ] TestSerializedScriptValueInterface {
         // The case of a single SerializedScriptValue attribute is a bit of a
         // special case.
index 2b158ff8b6ee7c9691a880071b847bbb5bbbf559..37e72ad4535b6a1727483b9ab4cc1560247b036f 100644 (file)
@@ -21,7 +21,9 @@
 module css {
 
     // Introduced in DOM Level 2:
-    interface CSSCharsetRule : CSSRule {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CSSCharsetRule : CSSRule {
 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
         readonly attribute [ConvertNullStringTo=Null] DOMString encoding;
 #else
index bd38a6137cab1c4cbbf6fa3635cfcd95cde6fa8d..b86880bf760b1c4413ef562eaa8663f9bff7bfaf 100644 (file)
@@ -21,7 +21,9 @@
 module css {
 
     // Introduced in DOM Level 2:
-    interface CSSFontFaceRule : CSSRule {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CSSFontFaceRule : CSSRule {
         readonly attribute CSSStyleDeclaration style;
     };
 
index 05654fe2761293b0affda9b3eb43f4161990c015..afdabd6fdd492bc1ec671ec6d9378fd3cb674fca 100644 (file)
@@ -21,7 +21,9 @@
 module css {
 
     // Introduced in DOM Level 2:
-    interface CSSImportRule : CSSRule {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CSSImportRule : CSSRule {
         readonly attribute [ConvertNullStringTo=Null] DOMString href;
         readonly attribute MediaList media;
         readonly attribute CSSStyleSheet styleSheet;
index 4b75f4926aeb184e4cef8a113b4d7927261baafe..ecbaf63e3fce405639b5504b45d0a29a35cb18b0 100644 (file)
@@ -21,7 +21,9 @@
 module css {
 
     // Introduced in DOM Level 2:
-    interface CSSMediaRule : CSSRule {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CSSMediaRule : CSSRule {
         readonly attribute MediaList media;
         readonly attribute CSSRuleList cssRules;
         
index 989fd8d5056d5fb6b8efe5f10f0b53795bf69f65..ec30e7355d4177385126a67e8acc803df9070f3e 100644 (file)
@@ -21,7 +21,9 @@
 module css {
 
     // Introduced in DOM Level 2:
-    interface CSSPageRule : CSSRule {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CSSPageRule : CSSRule {
 
                  attribute [ConvertNullStringTo=Null, ConvertNullToNullString] DOMString selectorText;
 
index 85806641b0f5a51d0964cfdf5668fdd0e53974c0..957cb0f1258ff8f8c188309fa4c21fde1442dc00 100644 (file)
@@ -19,7 +19,9 @@
 
 module css {
 
-    interface CSSPrimitiveValue : CSSValue {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CSSPrimitiveValue : CSSValue {
 
         // UnitTypes
         const unsigned short CSS_UNKNOWN    = 0;
index 0b74fb9cb5e91c9cc916c30eb705336e9f60f0cc..ba337dbb7bcdb979464e5341d9cf052e0cc01c82 100644 (file)
@@ -22,6 +22,7 @@ module css {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         GenerateIsReachable,
         CustomToJS,
index 966cb41df3a0bbb9d9aa48d46e68648c91c9acc2..4087842a41459cd6efe4afdf657ec2597ee126b8 100644 (file)
@@ -27,6 +27,7 @@ module css {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomIsReachable,
         HasIndexGetter,
         V8DependentLifetime
index 72092871be0b24d508903249525a420a24354f6e..c932bc407a34e86bfcafc7542f3dd33e090852e4 100644 (file)
@@ -22,6 +22,7 @@ module css {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         GenerateIsReachable=ImplRoot,
         DelegatingPutFunction,
index 4abfbfc45d98a1cc4baef92f903c9bd74e5a4327..6ae2e1afc84f9dbdd13baf7e5df706e8fa57dedc 100644 (file)
@@ -21,7 +21,9 @@
 module css {
 
     // Introduced in DOM Level 2:
-    interface CSSStyleRule : CSSRule {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CSSStyleRule : CSSRule {
 
                  attribute [ConvertNullStringTo=Null, ConvertNullToNullString] DOMString selectorText;
 
index e4886579b116ded37c28d8b5681da8a5c1c54d2a..571567d44771e3fe234bd06fbc0491c2e2c58c19 100644 (file)
@@ -21,7 +21,9 @@
 module css {
 
     // Introduced in DOM Level 2:
-    interface CSSStyleSheet : StyleSheet {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CSSStyleSheet : StyleSheet {
         readonly attribute CSSRule          ownerRule;
         readonly attribute CSSRuleList      cssRules;
 
index b62ceb873f5d520b7e5e7af4df2bd2f609e034df..9238484eff867dc9e96077a14b6f8896499a1b23 100644 (file)
@@ -22,6 +22,7 @@ module css {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         OmitConstructor
     ] CSSUnknownRule : CSSRule {
     };
index 25eb8033c32c4073800d279708ec1278e0e354c4..87a5111bce908971ce23853bbf05f13b5ff9479e 100644 (file)
@@ -21,6 +21,7 @@
 module css {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomToJS,
         CustomIsReachable,
         CustomFinalize,
index 06df5d7c5e14a2d98ab8b44d52cd1c2a5b47c27c..281a11be161f906905f9962657b1093a41f91682 100644 (file)
@@ -27,6 +27,7 @@ module css {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter
     ] CSSValueList : CSSValue {
         readonly attribute unsigned long    length;
index 6236c454e9d1a3305c5d2d1e2a67e08be9b2ce98..6fb6723679b8761d95f1d2d114866de068fe791c 100644 (file)
@@ -20,7 +20,9 @@
 module css {
 
     // Introduced in DOM Level 2:
-    interface Counter {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] Counter {
         readonly attribute DOMString identifier;
         readonly attribute DOMString listStyle;
         readonly attribute DOMString separator;
index e8df0f9fbc7fd559791d2c86cf78c26497914294..3e9fa226cb519f8ade096b3665a408f91d71776a 100644 (file)
@@ -27,6 +27,7 @@ module stylesheets {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable,
         HasIndexGetter
     ] MediaList {
index e775db8307e45d3414420e8693e6c2afbccf1c78..74db56eb44c81a725d838c6a422516ed1c7e17d4 100644 (file)
@@ -18,7 +18,9 @@
  */
 
 module view {
-    interface MediaQueryList {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] MediaQueryList {
         readonly attribute DOMString media;
         readonly attribute boolean matches;
         void addListener(in MediaQueryListListener listener);
index 7031557a3b689a983642b1cdfb689e6db05225ee..5b773cd222d82089abe8f34d60a2ada2a1f0bd47 100644 (file)
@@ -19,6 +19,7 @@
 
 module view {
     interface [
+        LegacyDefaultOptionalArguments,
         NoStaticTables,
         ObjCProtocol,
         PureInterface,
index 1dc87bcfd88bc89b9cebfbdc6abfea89a675a34b..8a69d6a4c78f41632f702f1e89187df08a98e5c5 100644 (file)
@@ -21,7 +21,9 @@
 module css {
 
     // Introduced in DOM Level 2:
-    interface RGBColor {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] RGBColor {
         readonly attribute CSSPrimitiveValue  red;
         readonly attribute CSSPrimitiveValue  green;
         readonly attribute CSSPrimitiveValue  blue;
index 60eb70e31fa9b9e70b23e628f6456e01cdd123a8..3293b10cc890f7e27a5d4eb0411704694f96ac00 100644 (file)
@@ -19,7 +19,9 @@
 
 module css {
 
-    interface Rect {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] Rect {
         readonly attribute CSSPrimitiveValue  top;
         readonly attribute CSSPrimitiveValue  right;
         readonly attribute CSSPrimitiveValue  bottom;
index db86fe3128100c950dec1d4376fd4fa143867514..dabd21ca4a004475f24e47db449d39c2130c5623 100644 (file)
@@ -26,6 +26,7 @@
 
 module view {
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplFrame
     ] StyleMedia {
         readonly attribute DOMString type;
index 6d5df807658d13eb21a869049c7869bdd6133b82..af4f5984c18f669d199fcc2968d7fd6fbd4d30a7 100644 (file)
@@ -22,6 +22,7 @@ module stylesheets {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         GenerateIsReachable,
         CustomToJS,
index 2018604be37e26a95cece2cf6b05d6599ffd7701..0dacf98741f1d3084335d45b84efadad8339acfd 100644 (file)
@@ -22,6 +22,7 @@ module stylesheets {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplDocument,
         HasIndexGetter,
         HasNameGetter,
index f6eac7741deef20227e2f5869be053bda09c3ba8..6bbbc7c5f21f14d29e3c5feea406053357aba658 100644 (file)
@@ -29,7 +29,9 @@
 module css {
 
     // Introduced in DOM Level ?:
-    interface WebKitCSSKeyframeRule : CSSRule {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] WebKitCSSKeyframeRule : CSSRule {
 
         attribute DOMString keyText;
         readonly attribute CSSStyleDeclaration style;
index c40aff951756b677a6e1a8fa4633b56598adb05c..7058b0a4636464ecfd63c0dd534b931bfec174e7 100644 (file)
@@ -30,6 +30,7 @@ module css {
 
     // Introduced in DOM Level ?:
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter
     ] WebKitCSSKeyframesRule : CSSRule {
 
index d32cd97a9bac227bb8d0aa7e461d98eea6e2d306..00fd97692ae40fba921743ee0936d5bbf9f48c7b 100644 (file)
@@ -27,6 +27,7 @@ module css {
 
     // Introduced in DOM Level ?:
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         ConstructorParameters=1,
index 007097e7c38ac1539a29f3e02eb5532f8323bc38..7a561754a96dadeea0b59dae94d88f0b891eb272 100644 (file)
@@ -29,6 +29,7 @@
 module css {
 
     interface [
+            LegacyDefaultOptionalArguments,
             HasIndexGetter,
             DontCheckEnums
     ] WebKitCSSTransformValue : CSSValueList {
index bff9c7bb43e75fbc4b148a1c76800b21e0ce8f1a..6176d5e955a343a3eca7111d2d942a82ff3993ad 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         GenerateNativeConverter
     ] Attr : Node {
index 9c8b7e50368e22e48a7e03182026f942a857959a..2aa89f353273ae1af3e1690f8400b2c43f5c2b1b 100644 (file)
@@ -26,7 +26,9 @@
 
 module events {
 
-    interface BeforeLoadEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] BeforeLoadEvent : Event {
         void initBeforeLoadEvent(in DOMString type,
                                  in boolean canBubble, 
                                  in boolean cancelable,
index 28b1a810986421ecdefc22853430cb3cba5f1592..5a2b74e1854a3b08595bc06fc17e5d011aa6ee99 100644 (file)
@@ -26,7 +26,9 @@
 
 module events {
 
-    interface BeforeProcessEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] BeforeProcessEvent : Event {
         void initBeforeProcessEvent(in DOMString type, in boolean canBubble, in boolean cancelable);
         attribute DOMString text;
     };
index 70a4f558038bd891369fc6d29b9be5c35bf098f1..976b5739ba427c98d8f226105974164d486f66c9 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface CDATASection : Text {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CDATASection : Text {
     };
 
 }
index 4ddd782974ec84bb50b46c36f85c4ebc7744ae90..0038fde9b2f74ebf2ec933c629650850ca3075c9 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface CharacterData : Node {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CharacterData : Node {
 
         attribute [ConvertNullToNullString] DOMString data
             setter raises(DOMException);
index 7dbdd6898a828a1ab48fde7f0e59c13c517e31a4..190ed50110c18ed4d1f181a0f0c650d535e3abee 100644 (file)
@@ -26,7 +26,9 @@
 
 module view {
 
-    interface ClientRect {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] ClientRect {
         readonly attribute float top;
         readonly attribute float right;
         readonly attribute float bottom;
index 63724181d4bb5c30bee34ac27fb609be7184f2bd..d48fc840d2935c7b9314a24c9260c17792c79bd7 100644 (file)
@@ -27,6 +27,7 @@
 module view {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter
     ] ClientRectList {
         readonly attribute unsigned long length;
index d5bb33117d44962c85d8e2ca6e3a762bce78c3c5..86d1161cec1dd8ba3828bbc5e6e1f0c5dec5ea76 100644 (file)
@@ -28,7 +28,9 @@
 
 module core {
 
-    interface Clipboard {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] Clipboard {
                  attribute [ConvertNullStringTo=Undefined] DOMString dropEffect;
                  attribute [ConvertNullStringTo=Undefined] DOMString effectAllowed;
         readonly attribute [CustomGetter] Array types;
index b9f4e319eac35401faea1ba489616b9a3f8ba727..fcf553b07a11301cbd43e11a2eb65294c622ec24 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface Comment : CharacterData {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] Comment : CharacterData {
     };
 
 }
index 28d66258862da28b77e31bdbbdd7e09eac3471a7..07bbad96b16c8ad81533c01bc0be6e1404371bee 100644 (file)
@@ -26,7 +26,9 @@
 module events {
 
     // Introduced in DOM Level 3:
-    interface CompositionEvent : UIEvent {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CompositionEvent : UIEvent {
 
         readonly attribute DOMString data;
 
index aa673b898c555de713c94c69464afa06fe609f40..6faea036f14e2b8fd8fcb5424f61b535e6dbef22 100644 (file)
@@ -27,7 +27,9 @@ module events {
 
 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
     // Introduced in DOM Level 3:
-    interface CustomEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CustomEvent : Event {
 
        readonly attribute DOMObject detail;
 
index 945712dbd9f736591740ab616d9df4578c0fb9c3..826ca0e160f44e21d523959773cea69bd8ae8187 100644 (file)
@@ -29,6 +29,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         NoStaticTables,
         DontCheckEnums
     ] DOMCoreException {
index 8a4a763ad4c523dda168202d4555abbd9c18afe5..36aeabcaa91d81ade8b233bf97e82f80c7c75223 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplDocument,
         V8DependentLifetime
     ] DOMImplementation {
index c9e5c295620c735cf06e0e3f7de7ee6b9bebc03e..fb7a2cef53ad52394a886d7b03ce747dbe99a5e1 100644 (file)
@@ -26,6 +26,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateConstructor,
         HasIndexGetter
     ] DOMStringList {
index 3546518a8de9538cc25a5bb2b845d70a8c236421..ddcd5dcca0f12f6241cebe7a92b44a1a3e9ad238 100644 (file)
@@ -26,6 +26,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplElementRoot,
         HasNameGetter,
         CustomDeleteProperty,
index accaf50064fc58ae9b708790bb7580bc694da343..8be9aa1f8187a0e93a78fd6099ada4c0391b9b13 100644 (file)
@@ -31,7 +31,8 @@
 module core {
 
     interface [
-        Conditional=DATA_TRANSFER_ITEMS
+        Conditional=DATA_TRANSFER_ITEMS,
+        LegacyDefaultOptionalArguments,
     ] DataTransferItem {
         readonly attribute DOMString kind;
         readonly attribute DOMString type;
index 5306fc220625925058829b2c62c5ac8c9141da4f..a8d5a1f181b90b2e6421b3510f8e77d5cf2a9601 100644 (file)
@@ -32,6 +32,7 @@ module core {
 
     interface [
         Conditional=DATA_TRANSFER_ITEMS,
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
 #if defined(V8_BINDING) && V8_BINDING
         CustomDeleteProperty,
index 437ba4c47a8fcf0b9bed2a3b4f75bf08a4dbc7d4..c1b6ffbc4f2118e4cf9887eb2c3a972455394ba4 100644 (file)
@@ -26,7 +26,8 @@
 module core {
 
     interface [
-        Conditional=DEVICE_ORIENTATION
+        Conditional=DEVICE_ORIENTATION,
+        LegacyDefaultOptionalArguments,
     ] DeviceMotionEvent : Event {
         readonly attribute [Custom] Acceleration acceleration;
         readonly attribute [Custom] Acceleration accelerationIncludingGravity;
index 5582f0d42977bbd51e98faca73a05089faed1597..e001ab7bf533d703c1b3e2992322cad54e1ea163 100644 (file)
@@ -26,7 +26,8 @@
 module core {
 
     interface [
-        Conditional=DEVICE_ORIENTATION
+        Conditional=DEVICE_ORIENTATION,
+        LegacyDefaultOptionalArguments,
     ] DeviceOrientationEvent : Event {
         readonly attribute [Custom] double alpha;
         readonly attribute [Custom] double beta;
index e1e22c1c06b5c6955af3b95308f1dfa49b7d38f1..89a552f20f590b4bbeba5b607e9cef25b11cec0b 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomToJS,
         GenerateNativeConverter,
         InlineGetOwnPropertySlot
index ffdcce1acc76ad4285c64033163807cb4ae2860f..c8bfbcd71a82856a576b4358a841acfd91143341 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface DocumentFragment : Node {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] DocumentFragment : Node {
         // NodeSelector - Selector API
         [RequiresAllArguments=Raise] Element querySelector(in DOMString selectors)
             raises(DOMException);
index 7992dc5000e50e48391e7e49d74666533986a51f..594d0c2ec2b68e4c1a88c5405afe92d6b40240f2 100644 (file)
@@ -20,6 +20,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] DocumentType : Node {
 
index a771ffed00d5f1574cc203689911118f93fc218e..07649af6335bcc2b65542759dd76cd149dddbf2b 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter,
         InlineGetOwnPropertySlot
     ] Element : Node {
index 8dacbe90af8d90f4150668ea7af6f9377a8bdf59..d7f3aed141f8d6140d9465c4dfb34c3acdb4f515 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface Entity : Node {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] Entity : Node {
         readonly attribute [ConvertNullStringTo=Null] DOMString publicId;
         readonly attribute [ConvertNullStringTo=Null] DOMString systemId;
         readonly attribute [ConvertNullStringTo=Null] DOMString notationName;
index f652d9adf769fbbf8de01a5e0d78cf286e5a29c9..5d5a4a50037b1d4dd958efa306d48f7766a0c580 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface EntityReference : Node {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] EntityReference : Node {
     };
 
 }
index ad131936a3436e3765f5bf2c2ac25900cd43d5b4..19c246690c2c63265df7d3cab8eb6fc6e3deabf1 100644 (file)
@@ -32,6 +32,7 @@ module events {
 
     interface [
         Conditional=WORKERS,
+        LegacyDefaultOptionalArguments,
         NoStaticTables
     ] ErrorEvent : Event {
 
index b8b590f33cbc9a8e37a562cb6a41b6b10c1e8320..9580f04d736ff823527f280f884ea3fc3db8527e 100644 (file)
@@ -22,6 +22,7 @@ module events {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomToJS,
         NoStaticTables,
         Polymorphic
index c8f2bde0ffd539411679fd7b9afb0694692fb171..49ae45590c1a7b286f148f2674899c766a3ed632 100644 (file)
@@ -30,6 +30,7 @@ module events {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         NoStaticTables,
         DontCheckEnums
     ] EventException {
index 023777bf3943257e9d3bc6624597e310d0e66932..3a68f4a4b4e2d989688f87c30653720aa079d414 100644 (file)
@@ -22,6 +22,7 @@ module events {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         NoStaticTables,
         ObjCProtocol,
         PureInterface,
index 0cdb6b3eb5b213f8729b695fa7da41f33691ba50..99b1589b7d866e088cf2968cf2cf10a72f05d2f2 100644 (file)
@@ -22,6 +22,7 @@ module events {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         ObjCProtocol,
         PureInterface,
         OmitConstructor
index 23f71860619d8555bdfd5a85369c3ca95d8550ba..9689b9882c4af526db1162bf8d2f29be6f90a473 100644 (file)
@@ -26,6 +26,7 @@ module core {
 
     interface [
         Conditional=MEDIA_STREAM|VIDEO_TRACK,
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter,
     ] ExclusiveTrackList : TrackList {
         // FIXME: the spec says unsigned long, but -1 is used when nothing is selected.
index ff1bd36add283111acc09ffc8958f29c268250a0..c6dc3b99d90fef7f1248a132f607be397003d720 100644 (file)
@@ -25,6 +25,7 @@
 module core {
     interface [
         Conditional=MEDIA_STREAM,
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter,
         EventTarget
     ] GeneratedStream : Stream {
index 63073c4b2f0a896aed53ce98e740ed06563b2a21..a58e8337abe59f9732b4e9893e9222363868874e 100644 (file)
@@ -21,6 +21,7 @@ module events {
 
     // Introduced in http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-hashchange
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateConstructor
     ] HashChangeEvent : Event {
         void initHashChangeEvent(in DOMString type, 
index 1af3d022e2e9623dc7091bffb1e6c4dee2daac1c..25574197ef94ee35e6a91b612e572486f8899c58 100644 (file)
@@ -21,7 +21,9 @@
 module events {
 
     // Introduced in DOM Level 3:
-    interface KeyboardEvent : UIEvent {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] KeyboardEvent : UIEvent {
 
 #if !defined(LANGUAGE_JAVASCRIPT) || !LANGUAGE_JAVASCRIPT
         // KeyLocationCode
index a3f3c948f781f41364609e27d666a1f741fd8814..a29e74fa0c17f61e10bd5a08ef2fc95619899dd5 100644 (file)
@@ -27,6 +27,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index 2b47374aea7c53749168d7ae8892832b5d4a8c38..975e8da9da7c7bd4f2e119223c33fbe52334389e 100644 (file)
@@ -27,6 +27,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         NoStaticTables
     ] MessageEvent : Event {
         readonly attribute [CachedAttribute] SerializedScriptValue data;
index 8a1f6c303051de45a1ed158d12e6fc2039e5d7c5..ec60bb01469ca4617f30ef4abaf942bf51c9b893 100644 (file)
@@ -27,6 +27,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         GenerateIsReachable=Impl,
         ActiveDOMObject,
index 49385f10724e63e02e731127e16df1406ef06752..be8cdc7282ca5da181863767105f6d9d2f2e109a 100644 (file)
@@ -20,7 +20,9 @@
 module events {
 
     // Introduced in DOM Level 2:
-    interface MouseEvent : UIEvent {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] MouseEvent : UIEvent {
         readonly attribute long             screenX;
         readonly attribute long             screenY;
         readonly attribute long             clientX;
index 4bfc6c856842828fd41b98da6adb676deff4d347..6b46a8be36489255f1c0ab21dd51e15d81c27759 100644 (file)
@@ -26,6 +26,7 @@ module core {
 
     interface [
         Conditional=MEDIA_STREAM|VIDEO_TRACK,
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter,
     ] MultipleTrackList : TrackList {
         boolean isEnabled(in unsigned long index)
index 99a6aaade12608872b9fc5c00e72398673d147fa..1f5287bc3efc660cda360d0f0dddfa1411ff2d09 100644 (file)
@@ -20,7 +20,9 @@
 module events {
 
     // Introduced in DOM Level 2:
-    interface MutationEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] MutationEvent : Event {
 
         // attrChangeType
         const unsigned short MODIFICATION = 1;
index 801eb1439b1e4ce2195886ac1d5271532f2f49c8..6614741aaad49bd206091144dcf12d2d26bc0fb6 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplElementRoot,
         CustomMarkFunction,
         HasIndexGetter,
index 006b4fc188bb7b8cb66ac0ee2590f590e9ef05b8..ea45c6869068746d66e498fbc75ac25eae01fd08 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomHeader,
         CustomMarkFunction,
         CustomPushEventHandlerScope,
index 40c5bad5715b6ac81a07798c495cf5c20fbae6c7..d79838912f8f3f49b9dc045410199f6bbc3eea27 100644 (file)
@@ -22,6 +22,7 @@ module traversal {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         CustomNativeConverter,
         ObjCProtocol,
index 9f59ae1aabbc47e3fc9249602ac7e50c3af0b6ab..427eb7621a6cacf3776b2613650976085765f659 100644 (file)
@@ -22,6 +22,7 @@ module traversal {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction
     ] NodeIterator {
         readonly attribute Node root;
index b01f2a4b7bbddd3dc1f3c555ef54f2627ddd7eb9..0e505b4396282e9516ddfe68f8af619c089cce37 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomIsReachable,
         HasIndexGetter,
         HasNameGetter,
index 96351d2532c3479da5131c529c1453ed4e0b2b38..ee2edd4a232dcc4a4994d22fe784d5b106bc2d59 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface Notation : Node {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] Notation : Node {
         readonly attribute [ConvertNullStringTo=Null] DOMString publicId;
         readonly attribute [ConvertNullStringTo=Null] DOMString systemId;
     };
index 0c1fd501bb7c7e4348877423bfca53e23f05a7bd..fcb6e87aa072eec05132110f0d41b063174dfae9 100644 (file)
@@ -23,7 +23,9 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 module events {
-    interface OverflowEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] OverflowEvent : Event {
         const unsigned short HORIZONTAL = 0;
         const unsigned short VERTICAL   = 1;
         const unsigned short BOTH       = 2;
index 8d70f67cf9f47aae03e31a247e4171927d440c35..9487015010c1c1bf9d8ff7721c1a87bcc99b3190 100644 (file)
@@ -25,7 +25,9 @@
 
 module events {
 
-    interface PageTransitionEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] PageTransitionEvent : Event {
 
         readonly attribute boolean persisted;
 
index adc9074ec4feb070087673f6ac88c030a58724d2..0167b54c8bd2dbaf911d9686f581689531b2a429 100644 (file)
@@ -27,7 +27,9 @@
 module events {
 
 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
-    interface PopStateEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] PopStateEvent : Event {
         void initPopStateEvent(in DOMString typeArg, 
                                in boolean canBubbleArg, 
                                in boolean cancelableArg, 
index efcc9c1910345439122d22cdac0411cbb12c626a..10f6ffcb1ee6271d7e18e66c50ea1f318c12bca4 100644 (file)
@@ -20,7 +20,9 @@
 
 module core {
 
-    interface ProcessingInstruction : Node {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] ProcessingInstruction : Node {
 
         // DOM Level 1
 
index e832defb729785bd0c5a8ea2882cb1df53782260..d93e9d1c383b594517e744406ad5e2e66544adda 100644 (file)
@@ -25,7 +25,9 @@
 
 module events {
 
-    interface ProgressEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] ProgressEvent : Event {
         readonly attribute boolean lengthComputable;
         readonly attribute unsigned long long loaded;
         readonly attribute unsigned long long total;
index cd01d614b64e8bc657f5074c9520f2a742c343c1..30afedd96b1a64793b8efc0659d5cea60e4fc0c9 100644 (file)
@@ -21,7 +21,9 @@
 module ranges {
 
     // Introduced in DOM Level 2:
-    interface Range {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] Range {
 
         readonly attribute Node startContainer
             getter raises(DOMException);
index c7c855848feb4bd7e73c45843fdeff8b670347a6..e489dedddcbafd066394222f81cc506c55f058d8 100644 (file)
 
 module ranges {
 
-    interface [DontCheckEnums] RangeException {
+    interface [
+        LegacyDefaultOptionalArguments,
+        DontCheckEnums
+    ] RangeException {
 
         readonly attribute unsigned short   code;
         readonly attribute DOMString        name;
index 19051931b375e6d1efcc162a44caf07dc0e96427..8f0fbfa291e6ef36df4bde34786427af79bf2798 100644 (file)
@@ -30,7 +30,9 @@
 
 module core {
     interface [
-        Callback=FunctionOnly,Conditional=REQUEST_ANIMATION_FRAME
+        Callback=FunctionOnly,
+        Conditional=REQUEST_ANIMATION_FRAME,
+        LegacyDefaultOptionalArguments,
     ] RequestAnimationFrameCallback{
         boolean handleEvent(in DOMTimeStamp time);
     };
index 0d2c6139658adcf37860022aed2ec2efd79252fc..ba2f19a4f9388e81bd9cb6e8db5118d67d977c97 100644 (file)
@@ -24,6 +24,7 @@
 
 module core {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=MEDIA_STREAM,
         EventTarget
     ] Stream {
index 0844f8862b9432bb1eb881cb706304845c5f5a3f..c5baf700ad817b0c6a7ddfa8f465840717ac267d 100644 (file)
@@ -27,6 +27,7 @@ module events {
     // According to the WHATWG specification, section 9.7:
     // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#streamevent
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=MEDIA_STREAM,
     ] StreamEvent : Event {
        readonly attribute Stream stream;
index 4293219f69c483ed320cb75ea861182ee81ef86d..d2df6ee725a06f9e51f750f045d15f3513bb14b4 100644 (file)
@@ -25,6 +25,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=MEDIA_STREAM,
         HasIndexGetter
     ] StreamList {
index 1e18d83fe0af4c2a5d432a850a0bd08e3c32ed2f..4468d5e7b1a06819bd90b4d7d31996aa5845fda4 100644 (file)
@@ -30,6 +30,7 @@
 
 module core {
     interface [
+        LegacyDefaultOptionalArguments,
         Callback
     ] StringCallback {
         boolean handleEvent(in DOMString data);
index 116eab760defa27417ad9ddec5440162b10eac56..b5ef7db23f711fb608eb03d6b5f68132093f27de 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface Text : CharacterData {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] Text : CharacterData {
 
         // DOM Level 1
 
index 83b0e3bb371f19aa08cbb88ee89b7d3f4924f1ad..91425b69ccc50bec3911ca5e147dff40a1bdb70f 100644 (file)
@@ -26,7 +26,9 @@
 module events {
 
     // Introduced in DOM Level 3:
-    interface TextEvent : UIEvent {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] TextEvent : UIEvent {
 
         readonly attribute DOMString data;
 
index 3c62042fa9c26ee248bc28b23417d944dc07d92a..6d47ebc62da78649fda89c5e1b2e06fe9d46881c 100644 (file)
@@ -26,6 +26,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=TOUCH_EVENTS
     ] Touch {
         readonly attribute long             clientX;
index 0e0d917702efcc9e8544b326726b1bd9bd8edb45..cf000f822421a1a5fbe593a8c26e0318f078c2f5 100644 (file)
@@ -26,6 +26,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=TOUCH_EVENTS
     ] TouchEvent : UIEvent {
         readonly attribute TouchList touches;
index ede7bf2e5d76227fa651cad0ab01b61dfd296cec..b85e9381c58f64bc0e42f563307e4f023a33a2e5 100644 (file)
@@ -26,6 +26,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=TOUCH_EVENTS,
         HasIndexGetter
     ] TouchList {
index 67476edbfc01ed97819026426e41ed8deb2b6837..5160daee1479b159e68aee7b1cdd29985dff275d 100644 (file)
@@ -25,6 +25,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=MEDIA_STREAM|VIDEO_TRACK,
         EventTarget
     ] TrackList {
index 890e3159adeb5c9b480f6b830fd6d0bf9a820c4e..71058d1f75879a7d72685fca026f0628bdf95bef 100644 (file)
@@ -22,6 +22,7 @@ module traversal {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction
     ] TreeWalker {
         readonly attribute Node root;
index 88dc108518b6509f168543472617c4443502967a..c07c19976fd4f56946bc66fa3729f01bd4859c10 100644 (file)
@@ -20,7 +20,9 @@
 module events {
 
     // Introduced in DOM Level 2:
-    interface UIEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] UIEvent : Event {
         readonly attribute DOMWindow            view;
         readonly attribute long                 detail;
         
index 86ffcc57265101e725ef1623ff41cf63110c9ab8..0c1d58d79624e47f074de40b8b263b597af1d7bb 100644 (file)
@@ -25,7 +25,9 @@
 
 module events {
 
-    interface WebKitAnimationEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] WebKitAnimationEvent : Event {
      readonly attribute DOMString          animationName;
      readonly attribute double             elapsedTime;
      void               initWebKitAnimationEvent(in DOMString typeArg,
index fa619fa05c863009608fe8e29dc9592eee42fd93..41007ce636af7564113e5e2a5a8ef0ed58728778 100644 (file)
@@ -25,7 +25,9 @@
 
 module events {
 
-    interface WebKitTransitionEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] WebKitTransitionEvent : Event {
      readonly attribute DOMString          propertyName;
      readonly attribute double             elapsedTime;
      void               initWebKitTransitionEvent(in DOMString typeArg,
index 4c709cef04d4577d72a9dccba55085d29a75451e..4e9c1c12e7a8611b4aec85141c2c9895554f706c 100644 (file)
@@ -21,7 +21,9 @@
 module events {
 
     // Based off of proposed IDL interface for WheelEvent:
-    interface WheelEvent : UIEvent {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] WheelEvent : UIEvent {
         readonly attribute long    screenX;
         readonly attribute long    screenY;
         readonly attribute long    clientX;
index e9b795911f4ed0d8a00d72a2219004d3bf43c3dc..4bb1b3f80a36461e18d833dd8f515cfb4414f009 100644 (file)
@@ -31,6 +31,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=Impl,
         NoStaticTables
     ] Blob {
index e7cdf702353ec88369e882189ff919c341a70c57..2d5e2a2c6537fa92b4208ab084c2cc53e4f8bf8c 100644 (file)
@@ -31,6 +31,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         ActiveDOMObject,
         NoStaticTables
index b51d8ccd6200a74aaea0e42764792c6af617f961..28a22de5f52e557cdef4590edb287739e7f4421e 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         NoStaticTables
     ] DOMFileSystemSync {
index 8ba95490361ddd25bf6aa66ff2706d1b8a0ec979..890b4d86d7f033763439caf02dbfff29eba5847c 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         GenerateNativeConverter,
         GenerateToJS,
index b0ab178fffe03b5b29365773d397713cdc25287d..3fd774f97ded420804c6d1181a90ca223b90ee1d 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         GenerateNativeConverter,
         GenerateToJS,
index 831fb05bcae57d785464637d5829ced4a1d4db94..5779dbbbf76b380abd03a2cf8d7e3dbe3bdd4f49 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         NoStaticTables
     ] DirectoryReader {
index aa399283267f8a5bea2cef0e6487a1ff8d683265..6eef6d40b31da3912e84a2ec5c8dfdf8234fe4c8 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         NoStaticTables
     ] DirectoryReaderSync {
index 73b374d7928ee480662ec39c33c9b1f04e868137..4a82190da553afaa0254dd97b11dff1be97614e5 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         Callback
     ] EntriesCallback {
index 557ade480f7cfb7fbca82423198eb866709a8bf2..5ec05e1764b1ac885b2e991a18e93f1dae97ebc4 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         CustomToJS,
         NoStaticTables
index dca78274351f9f6384e276da17b6e7234f010d08..945fcb8833221e656b54c4a90276b34c74fc7e54 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         HasIndexGetter,
         NoStaticTables
index bd54f33eee9d274d2b6cb0e889cc368d61bb53f9..387206a7e690b9ca0c8e60e3033b478715ca3dba 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         HasIndexGetter,
         NoStaticTables
index bea3fd1470ed0c7c04b9b11e2c6105cdff9a4a79..a390ad18f32139f25ad0628a65ed931fe9af5b3e 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         Callback
     ] EntryCallback {
index 459a014418734de25a69f730436b0d2f4141c606..fce38508a110069a1dd192d76b43e52dc690521c 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         CustomToJS,
         NoStaticTables
index fc7fa85c405828af727295fed6f660002948f788..bc3aca62b51796305447d51de3d665fddb947786 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         Callback
     ] ErrorCallback {
index 74a6f769fdac7db1e4971d1ec7f89b263c675408..31780b2168fed7e0644fa83414073e985d2059f6 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter,
         GenerateToJS,
         NoStaticTables
index 0ab814fed9f0934729a523ecbe9504223563d37e..ce7f58fbdcba7a3998679b200c4d22f892bbf851 100644 (file)
@@ -30,6 +30,7 @@
 
 module fileapi {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         Callback
     ] FileCallback {
index 73ef895637423f3eca62245a80f1d450444a2690..6e35b7a5a2d4247694c799c48e95d9805b269fd4 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         GenerateNativeConverter,
         GenerateToJS,
index c5698395915939c57ef3970ec3c39ec7b13ec7ed..383925caa514f6727fcd33b0b48ac5861e83a79e 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         GenerateNativeConverter,
         GenerateToJS,
index bab815ad69549d2d5d184351105ea1963d40e266..4a9832d6c09053891a8dd36c4104dc12bb78dbad 100644 (file)
@@ -30,6 +30,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=BLOB|FILE_SYSTEM,
         NoStaticTables
     ] FileError {
index 10bd151777d0d254ebc5fd877af1662e910dcbc7..60eaf2fce1a52a2653786169d125444e3e02045f 100644 (file)
@@ -30,6 +30,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=BLOB|FILE_SYSTEM,
         DontCheckEnums,
         NoStaticTables
index 0d0b046c3ed8becc64c1d08fd096e389f4949546..f7b28d856508482af30c30d5e7555d079d0c7641 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
         NoStaticTables
     ] FileList {
index 61d5afb2d01500af6609426e2dee522cd38536c4..42cdaf5a42baa3542580000154376cafbaef86ea 100644 (file)
@@ -32,6 +32,7 @@
 module html {
     interface [
         Conditional=BLOB,
+        LegacyDefaultOptionalArguments,
         ActiveDOMObject,
         CanBeConstructed,
         CallWith=ScriptExecutionContext,
index 381d483ac71972d06932710c114dc28700c7c9eb..b692a355551c44675693986414d87b842861c2f6 100644 (file)
@@ -31,6 +31,7 @@
 module html {
     interface [
         Conditional=BLOB,
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         NoStaticTables
     ] FileReaderSync {
index cf686ff1bf5fd0883ba6824123ed630180fd3e20..b5ca34b2dd879fa1384fd197784fdb402405677a 100644 (file)
@@ -31,6 +31,7 @@
 module storage {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         Callback
     ] FileSystemCallback {
         boolean handleEvent(in DOMFileSystem fileSystem);
index 4de2c9fdbc6a4e884e0a738431dc42782d10c5bb..d295f3b2775e256c1fadfc08b4689c8214cb9b65 100644 (file)
@@ -32,6 +32,7 @@
 module html {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         ActiveDOMObject,
         CallWith=ScriptExecutionContext,
         EventTarget,
index df82fed8d84bec1542fa77f6180cd1b48d9d861d..be35671eb62d545405c0c7152fb3900774ea01b1 100644 (file)
@@ -31,6 +31,7 @@
 module fileapi {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         Callback
     ] FileWriterCallback {
         boolean handleEvent(in FileWriter fileWriter);
index c561bb43b2ae1e8614e7a600bcc51b8108d70011..0d77e81ac66f40bfed4cb19e5bc49bca2757f420 100644 (file)
@@ -31,6 +31,7 @@
 module html {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
     ] FileWriterSync {
         // synchronous write/modify methods
         void write(in Blob data) raises (FileException);
index df50b66d734cbfd5969ee67515162125541a504f..37e85d9c538ee5ac14d6bac56e04e3ff2c064d7d 100644 (file)
@@ -31,6 +31,7 @@
 module storage {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         NoStaticTables
     ] Metadata {
         readonly attribute Date modificationTime;
index 44ca1805420a6ae054fb41d868d3ff01574dfc33..e8e0a825b0a2fa2ccd83826b291f14a092725aff 100644 (file)
@@ -31,6 +31,7 @@
 module storage {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         Callback
     ] MetadataCallback {
         boolean handleEvent(in Metadata metadata);
index 215cbc4360ce5dae31009e2bbdc72a1b89024a50..21227b818445844bebc8e518edefbe9ad664992e 100644 (file)
@@ -31,6 +31,7 @@
 module html {
     interface [
         Conditional=BLOB|FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         DontCheckEnums,
         NoStaticTables
     ] OperationNotAllowedException {
index 60d0c0aab03d64a0f464c7b21312eb8aecbcd260..243e7928c1046013a5598ed621afd467763befe9 100644 (file)
@@ -30,6 +30,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         GenerateNativeConverter,
         NoStaticTables
index 533796a68ee42c1d2f5d5ffd7f38de6ea631b27f..bc03113392953fe644204901184c58228ef8ef4b 100644 (file)
@@ -31,6 +31,7 @@
 module storage {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         NoStaticTables
     ] WebKitFlags {
index 441842842cf7906fd3aebed774dca6e4006ad8ff..d7c218e6851116671e7149d9e97c7266fb3238ae 100644 (file)
@@ -31,6 +31,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index 6260623eeb463d7c30d96f9028191001f71a3391..37a222bd3b01793c90df2879805eb6a2a2dd272e 100644 (file)
@@ -25,6 +25,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateConstructor,
         HasIndexGetter,
         GenerateToJS
index f94491cbed76b3cc70e4c43287e608b37bc73bf7..6e48fbc9255ee047c26c88456654970c5837bb52 100644 (file)
@@ -25,6 +25,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplElementRoot,
         GenerateConstructor,
         HasIndexGetter
index 75945b7c482531c961dab5047f8cf66832aee59c..3629efff212e6939276c6eebcb272fed3f5c49d7 100644 (file)
@@ -25,6 +25,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=BLOB,
         OmitConstructor,
         GenerateNativeConverter,
index 3b65a0a1760536ddd060649a9a0821076b37a488..1f53db8a711058e899a7d2aa40f9072ef8265697 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
         HasNameGetter,
         CustomCall,
index 8f09e411143a300955cbf3317fb1c67bd9640eb6..871fcdfcc9e08c9f36f3b7d2fc2f1a0088685df6 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLAnchorElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLAnchorElement : HTMLElement {
         attribute [Reflect] DOMString accessKey;
         attribute [Reflect] DOMString charset;
         attribute [Reflect] DOMString coords;
index 388b5cb238c2ce2b51bdd9914909ac5722d3db4c..a2e13f01e75e515359c4e2d791a080fe9bc108fe 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         DelegatingPutFunction,
         DelegatingGetOwnPropertySlot,
         CustomCall
index 3358c051a59826931c0985be730e003eca4efd5f..84e771821edb9c3b0c8d1753e5a6628204336ad1 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLAreaElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLAreaElement : HTMLElement {
         attribute [Reflect] DOMString accessKey;
         attribute [Reflect] DOMString alt;
         attribute [Reflect] DOMString coords;
index 107b8b18edc209a54a2478bd26ead8a8501ac7d6..6380c95ff574724caf37ea6af7f92325eca2a21d 100644 (file)
  */
 
 module html {
-    interface [Conditional=VIDEO] HTMLAudioElement : HTMLMediaElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+        Conditional=VIDEO
+    ] HTMLAudioElement : HTMLMediaElement {
     
     };
 }
index a6d215d53410afa87405236b8bafb29e88d1faba..55b74e539f95c134533a453a9df9f155ee8898d1 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLBRElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLBRElement : HTMLElement {
         attribute [Reflect] DOMString clear;
     };
 
index 2750c9ee8c44b8bd5cf58726280a27e303e42572..3000c691d1d61c2c38665bd9840b6d03940b1443 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLBaseElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLBaseElement : HTMLElement {
         attribute [Reflect, URL] DOMString href;
         attribute [Reflect] DOMString target;
     };
index 95bc92c370034e73b7d1f5b01c34d088ec066ed5..8e89c04e04e5eb8ab2e9b7ccafda83c6fb6ba272 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLBaseFontElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLBaseFontElement : HTMLElement {
         attribute [Reflect] DOMString color;
         attribute [Reflect] DOMString face;
 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
index 5a319a32052f5beca893d966b97f3e53ae2b2553..3a592fa23bc0ceed5366b9abf0f3f5dab8cdbf9a 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLBlockquoteElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLBlockquoteElement : HTMLElement {
         attribute [Reflect, URL] DOMString cite;
     };
 
index 4709e3fbf22352e2f3ea1373132291f94249bbe6..9d654f3306d70451921176b79f36a3f89dff6e31 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLBodyElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLBodyElement : HTMLElement {
         attribute [Reflect] DOMString aLink;
         attribute [Reflect] DOMString background;
         attribute [Reflect] DOMString bgColor;
index 2fbba41f3f76603cfc2bdcbf52f6ba9e2d59a9c1..91b504b16fd7cdb0a9e82efd63afdac62cc4917d 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLButtonElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLButtonElement : HTMLElement {
         readonly attribute HTMLFormElement form;
 
         attribute [Reflect, URL] DOMString formAction;
index 689cedeaabc330331aac1d53fb9e4f1e003a0c17..daee485f213d51e7d42ef9bb9794d4652d6ac84f 100644 (file)
@@ -27,6 +27,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLCanvasElement : HTMLElement {
 
index ca18a7425ba9a7256e4656543cfae2f12b077a17..220af7b3297fa85f7a8316483b9c57abf924f2e3 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
         HasNameGetter,
         CustomCall,
index 1a9326fbf100669aefa8b183201b5121db28b822..f3051811065841c97bfa8b30f6204acf942d4391 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLDListElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLDListElement : HTMLElement {
         attribute [Reflect] boolean compact;
     };
 
index a971fa75bacf9c5c7e583fe80ad78e280c4a01f7..bb07066531e1e6a541564c7245e17d9c1afb491e 100644 (file)
@@ -30,7 +30,8 @@
 
 module html {
     interface [
-        Conditional=DATALIST
+        Conditional=DATALIST,
+        LegacyDefaultOptionalArguments,
     ] HTMLDataListElement : HTMLElement {
         readonly attribute HTMLCollection options;
     };
index 5ad9508c995ab5b56f66f47c401472b98c431428..9415754778dd5f5e452d4b4ec042e8f560704b31 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLDetailsElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLDetailsElement : HTMLElement {
         attribute [Reflect] boolean open;
     };
 
index b0969746af4048b2726bb53d872cb2ea846b2e59..d0ed36e9b40dd41782da255ef89700681d95d8fb 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLDirectoryElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLDirectoryElement : HTMLElement {
         attribute [Reflect] boolean compact;
     };
 
index 0657c5f1691786ddebfa7cf07b477dc2d2ab57e4..e26a3ee3b701dc80aca57612f469b0b8fa06266f 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLDivElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLDivElement : HTMLElement {
         attribute [Reflect] DOMString align;
 
 #if defined(ENABLE_SPELLCHECK_API) && ENABLE_SPELLCHECK_API
index 9684373e8975c33311e3bcbc24055d620ffbb470..27fd247c273003dea3d4c3883664bccd0ee77ed3 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasOverridingNameGetter
     ] HTMLDocument : Document {
         [Custom, NoCPPCustom] void open();
index 1efdf32f7b047ed3990743944a5bca8d2d7ec9a9..d44783b08868830f9a89c7a72e3074cc0f918b0a 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter,
         CustomPushEventHandlerScope
     ] HTMLElement : Element {
index e395fc65e80eb85820fb9a86d00a8b35c83a4d30..d968bb4607e109ceeb22b1fbcd6d2f6d35674bde 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         DelegatingPutFunction,
         DelegatingGetOwnPropertySlot,
         CustomCall
index 8cffe3db04ff47d70807c11776079fd3fd2be2e0..14b559581321be28018a99f53b47398ee05c8734 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLFieldSetElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLFieldSetElement : HTMLElement {
         readonly attribute HTMLFormElement form;
         readonly attribute ValidityState   validity;
         readonly attribute boolean         willValidate;
index 141816d1d2ca0a139e38def69da83d2881547461..40eb79b7aca0bddf2ff5d660444fd67764a12456 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLFontElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLFontElement : HTMLElement {
         attribute [Reflect] DOMString color;
         attribute [Reflect] DOMString face;
         attribute [Reflect] DOMString size;
index e9759e25319f28c7abf366256a16689ce9c5d0c0..c90984dd1eacee792fa304454dac0cd36fdfd8ad 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
         HasOverridingNameGetter
     ] HTMLFormElement : HTMLElement {
index dfe4ef89c2bc54bb41949bea8a82f57a855a3f9f..206ef1801e1ddd531638943f1568ac8378b17804 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLFrameElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLFrameElement : HTMLElement {
 
         attribute [Reflect] DOMString frameBorder;
         attribute [Reflect] DOMString longDesc;
index 06aab6aa233624f9e245183509968a3b2e85f480..3a749ba49a87cb173f5826e20f7f7f606404d2ad 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasOverridingNameGetter
     ] HTMLFrameSetElement : HTMLElement {
         attribute [Reflect] DOMString cols;
index 23a57da10d1be4b06cb8770517aad018c07668ed..5c997e372fb333dba3839f8931c7b21888c7d4df 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLHRElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLHRElement : HTMLElement {
         attribute [Reflect] DOMString align;
         attribute [Reflect] boolean noShade;
         attribute [Reflect] DOMString size;
index 59bdbf0e7eb96e4df3128d1f024ef78e97ef57ea..50d02442b613cd734a1de7b41be452d90face25e 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLHeadElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLHeadElement : HTMLElement {
         attribute [Reflect] DOMString profile;
     };
 
index e419c1c7daa0296845bd70e9e7785d34a9cfa198..3bbc1f881dc21725e4deb1b8a2257808debb8d73 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLHeadingElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLHeadingElement : HTMLElement {
         attribute [Reflect] DOMString align;
     };
 
index 03c661cc82c39666ec320fc0470ff5f449891027..878341e3623f1e259db909abd32257f58e24f19e 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLHtmlElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLHtmlElement : HTMLElement {
         attribute [Reflect] DOMString version;
         attribute [Reflect, URL] DOMString manifest;
     };
index 7f9e25a976f0181773a17c7c8f504ced30ac286d..5781a41542b3f6bbfece1e33dfd161bf64024940 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLIFrameElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLIFrameElement : HTMLElement {
         attribute [Reflect] DOMString align;
         attribute [Reflect] DOMString frameBorder;
         attribute [Reflect] DOMString height;
index c6a88ea9dca6d42c3590c72426e4adc35df3efe7..a24b4bad1dcff403030c074d951239d7f12738a9 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLImageElement : HTMLElement {
         attribute [Reflect] DOMString name;
index 36109056a87298908c35a7fcec3438fdb807dfbe..10a644b4637fe9f2f1779b09aa3f6760d9510995 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLInputElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLInputElement : HTMLElement {
         attribute [ConvertNullToNullString] DOMString defaultValue;
         attribute [Reflect=checked] boolean defaultChecked;
         readonly attribute HTMLFormElement form;
index 028a1800a3924f59563f2bd7b5087504c61c01ba..b4f8b20c2c8ca438442e4cdc0ac1d6685a85f4fb 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLIsIndexElement : HTMLInputElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLIsIndexElement : HTMLInputElement {
         readonly attribute HTMLFormElement form;
         attribute [Reflect] DOMString prompt;
     };
index c34a92582653023d944b6bc3b2b8d65e831675bc..3e4acb89dfcd8640d426a4d840be17fdbe250a8e 100644 (file)
@@ -30,7 +30,9 @@
 
 module html {
 
-    interface HTMLKeygenElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLKeygenElement : HTMLElement {
         attribute [Reflect] boolean autofocus;
         attribute [Reflect] DOMString challenge;
         attribute [Reflect] boolean disabled;
index 2dc541b18b342c481cd5782084573ac3fb668bcb..a1677bf5c95cc803ab118c1e2fb30019f4acb713 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLLIElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLLIElement : HTMLElement {
         attribute [Reflect] DOMString type;
         attribute [Reflect] long value;    
     };
index c946bc40e963ad8394f04edfcb2e6bef7029b302..5075c73fba79a4abcc211ba418959fd4baf5d2b3 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLLabelElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLLabelElement : HTMLElement {
         readonly attribute HTMLFormElement form;
         attribute [Reflect] DOMString accessKey;
         attribute [Reflect=for] DOMString htmlFor;
index 750f32a4c1f2bba1301bddcee8d36d93931c83b4..1d5d9e505bcdf271032348fbd4525b1e8af2e14a 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLLegendElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLLegendElement : HTMLElement {
         readonly attribute HTMLFormElement form;
         attribute [Reflect] DOMString accessKey;
         attribute [Reflect] DOMString align;
index 1f3623269b3b3ab5ba858ee3f64be1ac27013d03..79f2bf03cbca099a5b88c6f99f53642d21542c08 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLLinkElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLLinkElement : HTMLElement {
         attribute boolean disabled;
         attribute [Reflect] DOMString charset;
         attribute [Reflect, URL] DOMString href;
index 7811c9a9fdf438cb9209a26373e67b88067a5b6e..09efe08b22143e178c1c8bd5cbb30bea138a8040 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLMapElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLMapElement : HTMLElement {
         readonly attribute HTMLCollection areas;
         attribute [Reflect] DOMString name;
     };
index 3174facbc3c5c6cab1dca1512f13cbca8b032eb7..0da5a22d225039bcb0969c4161c96b50dc4e7c12 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLMarqueeElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLMarqueeElement : HTMLElement {
         void start();
         void stop();
         
index b1a4787dd59e1cb6ac31e36ca3f5046263ccb48c..800cd3d2e88083014ab188519c6528f40cd51517 100644 (file)
  */
 
 module html {
-interface [Conditional=VIDEO] HTMLMediaElement : HTMLElement {
+    interface [
+        Conditional=VIDEO,
+        LegacyDefaultOptionalArguments,
+    ] HTMLMediaElement : HTMLElement {
 
     // error state
     readonly attribute MediaError error;
index ff14754c01e25379e7fbfce9f169e646957b0321..54ff6c99a1cc65e18d3720ffd18fddf57b999794 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLMenuElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLMenuElement : HTMLElement {
         attribute [Reflect] boolean compact;
     };
 
index f4ffb2d42cb266ffa0b45430085b3dbc91c4add5..f8e5effcae57d6c3d6007133a57f32dd45455947 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLMetaElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLMetaElement : HTMLElement {
         attribute [Reflect] DOMString content;
         attribute [Reflect=http_equiv] DOMString httpEquiv;
         attribute [Reflect] DOMString name;
index 33986888981260f88ef05d901fd94c8cb7d36a23..266c202e32c5ff2565581971cafca2526f481229 100644 (file)
@@ -19,6 +19,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=METER_TAG
     ] HTMLMeterElement : HTMLElement {
                  attribute double value
index ad8281c45028396f08281f77fee3aaac5d1b7bb7..24db658462c3b0730c0354e9ec6c54646a83897c 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLModElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLModElement : HTMLElement {
         attribute [Reflect, URL] DOMString cite;
         attribute [Reflect] DOMString dateTime;
     };
index 63e06b2d43b1bcc31f3628e67c3ab79c23f7bc5b..ddd6ccb64c0bb747a91550f7d38db6a6e14cf93d 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLOListElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLOListElement : HTMLElement {
         attribute [Reflect] boolean compact;
         attribute long start;
         attribute [Reflect] DOMString type;
index c1fa8c0039a446d288cf278f4018985f3dda628c..c71fedfefca893b1f006ffdf4ce10e1692960dda 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         DelegatingPutFunction,
         DelegatingGetOwnPropertySlot,
         CustomCall
index 75cead0fbf9b05dc544e610c2ed2a1aa906e9487..c27894ff69ae32de80489125c05ad84caae3ca48 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLOptGroupElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLOptGroupElement : HTMLElement {
         attribute [Reflect] boolean disabled;
         attribute [Reflect] DOMString label;
     };
index eb299ef665e5b2d87dcd54840a895976785ff003..253799d459d36c033806170272e689c6c7ba97eb 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLOptionElement : HTMLElement {
         readonly attribute HTMLFormElement form;
index d9bfd453289895c316be8621f6c7e63e15119ed1..1be261de3d85bc86edf3686a25d419ea413248ef 100644 (file)
@@ -22,6 +22,7 @@ module html {
 
     // FIXME: The W3C spec says that HTMLOptionsCollection should not have a parent class.
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter,
         HasCustomIndexSetter
     ] HTMLOptionsCollection : HTMLCollection {
index 4e6cbfbd70696fe339311e8191df77172d8f6f5f..dc4209ff3631fd3cf8dee84957d431ccda96c225 100644 (file)
@@ -23,7 +23,9 @@
  */
 
 module html {
-    interface HTMLOutputElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLOutputElement : HTMLElement {
         attribute [Custom] DOMSettableTokenList htmlFor;
         readonly attribute HTMLFormElement form;
         attribute [Reflect] DOMString name;
index 246e9e99ed05008ddfffe18b614edb8f199f9721..208c16706e131f9c7b82f882a409bf21297fa7f6 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLParagraphElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLParagraphElement : HTMLElement {
         attribute [Reflect] DOMString align;
     };
 
index 1f0c0ded64f479f6cbd47d0a2257664cd53a88be..8a8e5f195ac7f8644946208586f2611f8169e67c 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLParamElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLParamElement : HTMLElement {
         attribute [Reflect] DOMString name;
         attribute [Reflect] DOMString type;
         attribute [Reflect] DOMString value;
index ae137f024f607f8bb38b67e7ba189c9a2f62acde..d5891faa596acf27c4d4ef6de0abcc442bfebcae 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLPreElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLPreElement : HTMLElement {
         // FIXME: DOM spec says that width should be of type DOMString
         // see http://bugs.webkit.org/show_bug.cgi?id=8992
         attribute [Reflect] long width;
index b49252cad4ef0a0a5fc90f2184b05ec22099e6f7..dade1776c0162ababb6a38935f3f13d3087e1cb4 100644 (file)
@@ -19,6 +19,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=PROGRESS_TAG
     ] HTMLProgressElement : HTMLElement {
                  attribute  double                value
index fa1bcdb5742357be2b88e3c9382fc07c1ac62e23..4e0e00d9e2489820d0ae523b0ecd2edbb3da705c 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLQuoteElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLQuoteElement : HTMLElement {
         attribute [Reflect, URL] DOMString cite;
     };
 }
index fa799cb2cb0d414f6d973c6a45b201279befcd27..cc5bc733948130e9f0ae47d3788342cd3df20e9f 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLScriptElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLScriptElement : HTMLElement {
         attribute [ConvertNullToNullString] DOMString text;
         attribute [Reflect=for] DOMString htmlFor;
         attribute [Reflect] DOMString event;
index f5ac69b2f81c39308411f6db8ef0a6f4359afaf1..22faf3b0119fae334f3ba1c56edf723f168b308b 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
         HasCustomIndexSetter
     ] HTMLSelectElement : HTMLElement {
index dbd6d6aef0546755788f1befebf2f4090cc549c6..d39d1c78c3fd313a6a560ef186f6152380b4b662 100644 (file)
  */
 
 module html {
-interface [Conditional=VIDEO] HTMLSourceElement : HTMLElement {
+    interface [
+        Conditional=VIDEO,
+        LegacyDefaultOptionalArguments,
+    ] HTMLSourceElement : HTMLElement {
     attribute [Reflect, URL] DOMString src;
     attribute DOMString type;
     attribute DOMString media;
index c98629c62462db0244a16a570288f7b611dbe463..d17f59b8938ecacb5159653bdd25290beb233d0f 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLStyleElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLStyleElement : HTMLElement {
         attribute boolean disabled;
         attribute [Reflect] DOMString media;
         attribute [Reflect] DOMString type;
index c56c45600d9ea33377ab53a8a8117955f8e54ae3..08762ac895c8e392805f1a3cbcfc86834be8cfa8 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLTableCaptionElement : HTMLElement {
         attribute [Reflect] DOMString align;
index ae286f4d6027165b2b4956d1a76c367b67d1a1e0..91b68e8477dbf7dc8e3d4aff374f986551b23c3c 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLTableCellElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLTableCellElement : HTMLElement {
         readonly attribute long cellIndex;
         attribute [Reflect] DOMString abbr;
         attribute [Reflect] DOMString align;
index a6e6654012b45ccd331e63ab6496dce965e90823..25224157bc16758cd5028dab2c0c1ca62e46f71d 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLTableColElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLTableColElement : HTMLElement {
         attribute [Reflect] DOMString align;
         attribute [Reflect=char] DOMString ch;
         attribute [Reflect=charoff] DOMString chOff;
index fddb27a304188f42ad52fdfd0e3513d0bd315bbf..4eb70ffdde50bdaa1dec2ec899d41607a464d11a 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLTableElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLTableElement : HTMLElement {
         attribute HTMLTableCaptionElement caption setter raises(DOMException);
         attribute HTMLTableSectionElement tHead setter raises(DOMException);
         attribute HTMLTableSectionElement tFoot setter raises(DOMException);
index 4eb348e151b4a12035727c2df1068eca1d057c6e..7ee2f331786cf5e5e55a92646951c90b5d7633ed 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLTableRowElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLTableRowElement : HTMLElement {
         readonly attribute long rowIndex;
         readonly attribute long sectionRowIndex;
         readonly attribute HTMLCollection cells;
index 2065d6e1d9c645f7e13df8fe3f9ccda2202eabed..86c6fa7d6bfce7472148ddfd80117a065a649682 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLTableSectionElement : HTMLElement {
         attribute [Reflect] DOMString align;
index a5f98be4e27a9ab311c25b378a5b1bed09d6ddb3..d2b94f9c19b2b6336cb56aac8532f9765581866c 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLTextAreaElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLTextAreaElement : HTMLElement {
         attribute [ConvertNullToNullString] DOMString defaultValue;
         readonly attribute HTMLFormElement form;
         readonly attribute ValidityState validity;
index de857e8ee4b41997703d5d75d4c1e08c3c930f23..2d2de647448a40559c55c9d18e6a4e7c4c170173 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLTitleElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLTitleElement : HTMLElement {
         attribute  [ConvertNullToNullString] DOMString            text;
     };
 
index 309f0f0682b8fe6d6dc78d46a9935124a2832084..bf3491cf7e29d37429965688e8e3035a72aa6b3e 100644 (file)
  */
 
 module html {
-interface [Conditional=VIDEO_TRACK] HTMLTrackElement : HTMLElement {
+    interface [
+        Conditional=VIDEO_TRACK,
+        LegacyDefaultOptionalArguments,
+    ] HTMLTrackElement : HTMLElement {
     attribute [Reflect, URL] DOMString src;
     attribute DOMString kind;
     attribute DOMString srclang;
index 221dcca581443d7e599f582b03b18cd56c79e933..cf37aacdb2254c8d23959de14b5ff2c2970e5491 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLUListElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLUListElement : HTMLElement {
         attribute [Reflect] boolean compact;
         attribute [Reflect] DOMString type;
     };
index 8c7e39ded7da369bb4ee0a135c03689f831f1dbc..d38fa13bd6b7726c566a43462a03ceda514f82e5 100644 (file)
@@ -26,6 +26,7 @@
 module html {
     interface [
         Conditional=VIDEO,
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLVideoElement : HTMLMediaElement {
         attribute [Reflect] unsigned long width;
index 605020577755ddd2f5e7afc3098fbfbe50dbc288..1be3acff1cff44dad8f952266c87558dd58d7119 100644 (file)
@@ -29,6 +29,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomToJS
     ] ImageData {
         readonly attribute long width;
index 9d6f3bdc023d113a9eb61f1d6c926411c5a94725..090a36a4ba8e29f342ccaabdc8fead0833fdc7db 100644 (file)
  */
 
 module html {
-    interface [Conditional=VIDEO] MediaError {
+    interface [
+        LegacyDefaultOptionalArguments,
+        Conditional=VIDEO
+    ] MediaError {
           const unsigned short MEDIA_ERR_ABORTED = 1;
           const unsigned short MEDIA_ERR_NETWORK = 2;
           const unsigned short MEDIA_ERR_DECODE = 3;
index 2d2b95e84a1dfb43aaf52556d34c1eddd5872eca..184029bce5b0c273f3fcf105ab700b23d9c5c9b2 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=SPELLCHECK_API,
     ] SpellcheckRange {
         readonly attribute unsigned long start;
index 0ab0c1113bd10369aa5472cd6019f831a214558b..305cf7cd9a6edfef1c9d98b852f8759827b9cf83 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=SPELLCHECK_API,
         GenerateConstructor,
         HasIndexGetter
index 1a315bac21e2166449b8590ba626199c4fa7f8cc..b2b456dd550d70075f6c912c825bbcc7efc696c1 100644 (file)
@@ -25,7 +25,9 @@
 
 module html {
 
-    interface TextMetrics {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] TextMetrics {
         readonly attribute float width;
     };
 
index c37c360dbca4118347e9323b41be22a54c985f56..d1cbf5813377e29013a1c2a2883d383aa0c6ecf0 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=VIDEO
     ] TimeRanges {
         readonly attribute unsigned long length;
index 576fab4db137424001ec2dbf3716178fd7cbd8bf..8a72f42e4515821984fc68286a802c8743373de5 100644 (file)
 
 module html {
 
-    interface [OmitConstructor] ValidityState {
+    interface [
+        LegacyDefaultOptionalArguments,
+        OmitConstructor
+    ] ValidityState {
         readonly attribute boolean         valueMissing;
         readonly attribute boolean         typeMismatch;
         readonly attribute boolean         patternMismatch;
index 8a7cf19bf034915efe40729522fb3e637168e7b2..ef11ecf850542944906f8f445d142a46f7453dcb 100644 (file)
  */
 
 module html {
-    interface [CustomNativeConverter, OmitConstructor] VoidCallback {
+    interface [
+        LegacyDefaultOptionalArguments,
+        CustomNativeConverter,
+        OmitConstructor
+    ] VoidCallback {
         void handleEvent();
     };
 }
index 4ea917cce6470059c3776e1fa2b22495843375a6..4c454d7340006b99db922003f0355fb4bbdfa195 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=Impl,
         CanBeConstructed,
         CustomConstructFunction,
index 1ea451de47612688afacfe8fc0de4a4170bc28f2..96155cbea36ceed1f1b8872e15d3baf323e122e4 100644 (file)
  */
 
 module html {
-    interface [CustomToJS, NoStaticTables, OmitConstructor] ArrayBufferView {
+    interface [
+        LegacyDefaultOptionalArguments,
+        CustomToJS,
+        NoStaticTables,
+        OmitConstructor
+    ] ArrayBufferView {
         readonly attribute ArrayBuffer buffer;
         readonly attribute unsigned long byteOffset;
         readonly attribute unsigned long byteLength;
index a925a262a1e65cd3b30ce4d854f8a294092c27fd..31d85a3da9fa0e0cd51d539ab3229584e47269be 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         InterfaceUUID=bb1108ea-6b8c-4a08-894a-218628630cdb,
         ImplementationUUID=a2942ae6-2731-4286-98cc-9d5e79e20de1
     ] CanvasGradient {
index 1cac8f8804b878a9fa60cd6ece9c59236f6cc924..c7250f2ae13d9aa17687df7251c4b040f3f216d4 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         InterfaceUUID=c2131348-6d8c-47b5-86cc-d41aff34ce15,
         ImplementationUUID=82f5d713-3d17-44dd-aa4a-7766fe345940
     ] CanvasPattern {
index 8b7edbd5df993db0e9b60c8fc330e89eb378b3f9..02d611bd19bea1b2d8f6adf8723ee69d190c7051 100644 (file)
@@ -29,6 +29,7 @@
 module html {
 #if !defined(LANGUAGE_JAVASCRIPT) || !LANGUAGE_JAVASCRIPT || defined(V8_BINDING) && V8_BINDING
     interface [
+        LegacyDefaultOptionalArguments,
         OmitConstructor,
         CustomHeader,
         HasNumericIndexGetter,
index b53bdce5a0bba71c31a6582f23484fab26078079..3555c01d12112745c08da8dcc0bea26d5acc863e 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         GenerateIsReachable,
         CustomToJS,
index a43f473b13f89887a2439a2ad2239718ea532ba2..e618e4eabb2aada8d5ffd7425a33e6cf599a2498 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         InterfaceUUID=98fb48ae-7216-489c-862b-8e1217fc4443,
         ImplementationUUID=ab4f0781-152f-450e-9546-5b3987491a54
     ] CanvasRenderingContext2D : CanvasRenderingContext {
index 2e173d71e9cce5b948f67d11dbb0118f48ff4c49..83c8614013829e86d39b330b7d51d79517f46d31 100755 (executable)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         CustomToJS,
index c797f31e3bff5cf3b0e9a242be583212e2456e69..1fb43efbff1826c962ccdfc11fd2b3fcc13f5007 100644 (file)
@@ -26,6 +26,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index 6057253fb3b4e603752265cd76b4a1ec3611baaf..c55bec3e2818bcb7f1de76f9a7b5b1037d25c694 100644 (file)
@@ -26,6 +26,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index 40123d7965f9c3a200fd204a8301e3e8fa7c72c3..971e988035afc810e8acedf0dd1f2338dad1fae0 100644 (file)
@@ -25,6 +25,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index dd9082a8b258f4ff9c26d2b87b0bfd94ee25a654..a073653bb7a8615c3e944cba4c84b3f8549c2002 100644 (file)
@@ -26,6 +26,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index ab000f29ffa92c120d3ec168040d866abba3f088..bf1989fbc669d9f6689a161c25e0a39448abdb5b 100644 (file)
@@ -26,6 +26,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index f1d4740b242f9cfeef0352e9bc71c9e6f5c50732..f7de61854ca3bfd01c2f070b41bfef033ced624e 100644 (file)
@@ -25,6 +25,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=WEBGL,
         GenerateIsReachable=ImplContext,
         OmitConstructor,
index 950c355c3f95b6ba8ffae44abca90caa10546fe1..b2568dfd4b50ac418e98625c4931f488c29e43b0 100644 (file)
@@ -25,6 +25,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=WEBGL,
         GenerateIsReachable=ImplContext,
         OmitConstructor
index 8f272d85a4925cb6319f303a4e1636200b8798dc..3e9f8badcb646bdd0e0fda626c84b93585f982dd 100644 (file)
@@ -26,6 +26,7 @@
 module html {
     interface [
         Conditional=WEBGL, 
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplContext,
         OmitConstructor, 
         DontCheckEnums
diff --git