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 4d56585..fdc5ba0 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 6f8aff2..5149a82 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 e777549..9831445 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 2475251..9e1b1bd 100644 (file)
@@ -31,6 +31,7 @@
 module test {
     interface [
         Conditional=DATABASE,
+        LegacyDefaultOptionalArguments,
         Callback
     ] TestCallback {
       boolean callbackWithNoParam();
index 1f0aa18..ee2ffc2 100644 (file)
@@ -31,6 +31,7 @@
 module test {
     interface [
         Conditional=Condition1|Condition2,
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CallWith=ScriptExecutionContext
     ] TestInterface {
index 536393b..2a49a3f 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 a4eff26..fb2b8c2 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 6cd25bb..d038069 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 2b158ff..37e72ad 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 bd38a61..b86880b 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 05654fe..afdabd6 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 4b75f49..ecbaf63 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 989fd8d..ec30e73 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 8580664..957cb0f 100644 (file)
@@ -19,7 +19,9 @@
 
 module css {
 
-    interface CSSPrimitiveValue : CSSValue {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CSSPrimitiveValue : CSSValue {
 
         // UnitTypes
         const unsigned short CSS_UNKNOWN    = 0;
index 0b74fb9..ba337db 100644 (file)
@@ -22,6 +22,7 @@ module css {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         GenerateIsReachable,
         CustomToJS,
index 966cb41..4087842 100644 (file)
@@ -27,6 +27,7 @@ module css {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomIsReachable,
         HasIndexGetter,
         V8DependentLifetime
index 7209287..c932bc4 100644 (file)
@@ -22,6 +22,7 @@ module css {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         GenerateIsReachable=ImplRoot,
         DelegatingPutFunction,
index 4abfbfc..6ae2e1a 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 e488657..571567d 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 b62ceb8..9238484 100644 (file)
@@ -22,6 +22,7 @@ module css {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         OmitConstructor
     ] CSSUnknownRule : CSSRule {
     };
index 25eb803..87a5111 100644 (file)
@@ -21,6 +21,7 @@
 module css {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomToJS,
         CustomIsReachable,
         CustomFinalize,
index 06df5d7..281a11b 100644 (file)
@@ -27,6 +27,7 @@ module css {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter
     ] CSSValueList : CSSValue {
         readonly attribute unsigned long    length;
index 6236c45..6fb6723 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 e8df0f9..3e9fa22 100644 (file)
@@ -27,6 +27,7 @@ module stylesheets {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable,
         HasIndexGetter
     ] MediaList {
index e775db8..74db56e 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 7031557..5b773cd 100644 (file)
@@ -19,6 +19,7 @@
 
 module view {
     interface [
+        LegacyDefaultOptionalArguments,
         NoStaticTables,
         ObjCProtocol,
         PureInterface,
index 1dc87bc..8a69d6a 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 60eb70e..3293b10 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 db86fe3..dabd21c 100644 (file)
@@ -26,6 +26,7 @@
 
 module view {
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplFrame
     ] StyleMedia {
         readonly attribute DOMString type;
index 6d5df80..af4f598 100644 (file)
@@ -22,6 +22,7 @@ module stylesheets {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         GenerateIsReachable,
         CustomToJS,
index 2018604..0dacf98 100644 (file)
@@ -22,6 +22,7 @@ module stylesheets {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplDocument,
         HasIndexGetter,
         HasNameGetter,
index f6eac77..6bbbc7c 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 c40aff9..7058b0a 100644 (file)
@@ -30,6 +30,7 @@ module css {
 
     // Introduced in DOM Level ?:
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter
     ] WebKitCSSKeyframesRule : CSSRule {
 
index d32cd97..00fd976 100644 (file)
@@ -27,6 +27,7 @@ module css {
 
     // Introduced in DOM Level ?:
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         ConstructorParameters=1,
index 007097e..7a56175 100644 (file)
@@ -29,6 +29,7 @@
 module css {
 
     interface [
+            LegacyDefaultOptionalArguments,
             HasIndexGetter,
             DontCheckEnums
     ] WebKitCSSTransformValue : CSSValueList {
index bff9c7b..6176d5e 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         GenerateNativeConverter
     ] Attr : Node {
index 9c8b7e5..2aa89f3 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 28b1a81..5a2b74e 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 70a4f55..976b573 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface CDATASection : Text {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CDATASection : Text {
     };
 
 }
index 4ddd782..0038fde 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface CharacterData : Node {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] CharacterData : Node {
 
         attribute [ConvertNullToNullString] DOMString data
             setter raises(DOMException);
index 7dbdd68..190ed50 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 6372418..d48fc84 100644 (file)
@@ -27,6 +27,7 @@
 module view {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter
     ] ClientRectList {
         readonly attribute unsigned long length;
index d5bb331..86d1161 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 b9f4e31..fcf553b 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface Comment : CharacterData {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] Comment : CharacterData {
     };
 
 }
index 28d6625..07bbad9 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 aa673b8..6faea03 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 945712d..826ca0e 100644 (file)
@@ -29,6 +29,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         NoStaticTables,
         DontCheckEnums
     ] DOMCoreException {
index 8a4a763..36aeabc 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplDocument,
         V8DependentLifetime
     ] DOMImplementation {
index c9e5c29..fb7a2ce 100644 (file)
@@ -26,6 +26,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateConstructor,
         HasIndexGetter
     ] DOMStringList {
index 3546518..ddcd5dc 100644 (file)
@@ -26,6 +26,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplElementRoot,
         HasNameGetter,
         CustomDeleteProperty,
index accaf50..8be9aa1 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 5306fc2..a8d5a1f 100644 (file)
@@ -32,6 +32,7 @@ module core {
 
     interface [
         Conditional=DATA_TRANSFER_ITEMS,
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
 #if defined(V8_BINDING) && V8_BINDING
         CustomDeleteProperty,
index 437ba4c..c1b6ffb 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 5582f0d..e001ab7 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 e1e22c1..89a552f 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomToJS,
         GenerateNativeConverter,
         InlineGetOwnPropertySlot
index ffdcce1..c8bfbcd 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 7992dc5..594d0c2 100644 (file)
@@ -20,6 +20,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] DocumentType : Node {
 
index a771ffe..07649af 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter,
         InlineGetOwnPropertySlot
     ] Element : Node {
index 8dacbe9..d7f3aed 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 f652d9a..5d5a4a5 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface EntityReference : Node {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] EntityReference : Node {
     };
 
 }
index ad13193..19c2466 100644 (file)
@@ -32,6 +32,7 @@ module events {
 
     interface [
         Conditional=WORKERS,
+        LegacyDefaultOptionalArguments,
         NoStaticTables
     ] ErrorEvent : Event {
 
index b8b590f..9580f04 100644 (file)
@@ -22,6 +22,7 @@ module events {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomToJS,
         NoStaticTables,
         Polymorphic
index c8f2bde..49ae455 100644 (file)
@@ -30,6 +30,7 @@ module events {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         NoStaticTables,
         DontCheckEnums
     ] EventException {
index 023777b..3a68f4a 100644 (file)
@@ -22,6 +22,7 @@ module events {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         NoStaticTables,
         ObjCProtocol,
         PureInterface,
index 0cdb6b3..99b1589 100644 (file)
@@ -22,6 +22,7 @@ module events {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         ObjCProtocol,
         PureInterface,
         OmitConstructor
index 23f7186..9689b98 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 ff1bd36..c6dc3b9 100644 (file)
@@ -25,6 +25,7 @@
 module core {
     interface [
         Conditional=MEDIA_STREAM,
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter,
         EventTarget
     ] GeneratedStream : Stream {
index 63073c4..a58e833 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 1af3d02..2557419 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 a3f3c94..a29e74f 100644 (file)
@@ -27,6 +27,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index 2b47374..975e8da 100644 (file)
@@ -27,6 +27,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         NoStaticTables
     ] MessageEvent : Event {
         readonly attribute [CachedAttribute] SerializedScriptValue data;
index 8a1f6c3..ec60bb0 100644 (file)
@@ -27,6 +27,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         GenerateIsReachable=Impl,
         ActiveDOMObject,
index 49385f1..be8cdc7 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 4bfc6c8..6b46a8b 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 99a6aaa..1f5287b 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 801eb14..6614741 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplElementRoot,
         CustomMarkFunction,
         HasIndexGetter,
index 006b4fc..ea45c68 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomHeader,
         CustomMarkFunction,
         CustomPushEventHandlerScope,
index 40c5bad..d798389 100644 (file)
@@ -22,6 +22,7 @@ module traversal {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction,
         CustomNativeConverter,
         ObjCProtocol,
index 9f59ae1..427eb76 100644 (file)
@@ -22,6 +22,7 @@ module traversal {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction
     ] NodeIterator {
         readonly attribute Node root;
index b01f2a4..0e505b4 100644 (file)
@@ -21,6 +21,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CustomIsReachable,
         HasIndexGetter,
         HasNameGetter,
index 96351d2..ee2edd4 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 0c1fd50..fcb6e87 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 8d70f67..9487015 100644 (file)
@@ -25,7 +25,9 @@
 
 module events {
 
-    interface PageTransitionEvent : Event {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] PageTransitionEvent : Event {
 
         readonly attribute boolean persisted;
 
index adc9074..0167b54 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 efcc9c1..10f6ffc 100644 (file)
@@ -20,7 +20,9 @@
 
 module core {
 
-    interface ProcessingInstruction : Node {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] ProcessingInstruction : Node {
 
         // DOM Level 1
 
index e832def..d93e9d1 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 cd01d61..30afedd 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 c7c8558..e489ded 100644 (file)
 
 module ranges {
 
-    interface [DontCheckEnums] RangeException {
+    interface [
+        LegacyDefaultOptionalArguments,
+        DontCheckEnums
+    ] RangeException {
 
         readonly attribute unsigned short   code;
         readonly attribute DOMString        name;
index 1905193..8f0fbfa 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 0d2c613..ba2f19a 100644 (file)
@@ -24,6 +24,7 @@
 
 module core {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=MEDIA_STREAM,
         EventTarget
     ] Stream {
index 0844f88..c5baf70 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 4293219..d2df6ee 100644 (file)
@@ -25,6 +25,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=MEDIA_STREAM,
         HasIndexGetter
     ] StreamList {
index 1e18d83..4468d5e 100644 (file)
@@ -30,6 +30,7 @@
 
 module core {
     interface [
+        LegacyDefaultOptionalArguments,
         Callback
     ] StringCallback {
         boolean handleEvent(in DOMString data);
index 116eab7..b5ef7db 100644 (file)
@@ -19,7 +19,9 @@
 
 module core {
 
-    interface Text : CharacterData {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] Text : CharacterData {
 
         // DOM Level 1
 
index 83b0e3b..91425b6 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 3c62042..6d47ebc 100644 (file)
@@ -26,6 +26,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=TOUCH_EVENTS
     ] Touch {
         readonly attribute long             clientX;
index 0e0d917..cf000f8 100644 (file)
@@ -26,6 +26,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=TOUCH_EVENTS
     ] TouchEvent : UIEvent {
         readonly attribute TouchList touches;
index ede7bf2..b85e938 100644 (file)
@@ -26,6 +26,7 @@
 module events {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=TOUCH_EVENTS,
         HasIndexGetter
     ] TouchList {
index 67476ed..5160dae 100644 (file)
@@ -25,6 +25,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=MEDIA_STREAM|VIDEO_TRACK,
         EventTarget
     ] TrackList {
index 890e315..71058d1 100644 (file)
@@ -22,6 +22,7 @@ module traversal {
 
     // Introduced in DOM Level 2:
     interface [
+        LegacyDefaultOptionalArguments,
         CustomMarkFunction
     ] TreeWalker {
         readonly attribute Node root;
index 88dc108..c07c199 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 86ffcc5..0c1d58d 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 fa619fa..41007ce 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 4c709ce..4e9c1c1 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 e9b7959..4bb1b3f 100644 (file)
@@ -31,6 +31,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=Impl,
         NoStaticTables
     ] Blob {
index e7cdf70..2d5e2a2 100644 (file)
@@ -31,6 +31,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         ActiveDOMObject,
         NoStaticTables
index b51d8cc..28a22de 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         NoStaticTables
     ] DOMFileSystemSync {
index 8ba9549..890b4d8 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         GenerateNativeConverter,
         GenerateToJS,
index b0ab178..3fd774f 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         GenerateNativeConverter,
         GenerateToJS,
index 831fb05..5779dbb 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         NoStaticTables
     ] DirectoryReader {
index aa39928..6eef6d4 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         NoStaticTables
     ] DirectoryReaderSync {
index 73b374d..4a82190 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         Callback
     ] EntriesCallback {
index 557ade4..5ec05e1 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         CustomToJS,
         NoStaticTables
index dca7827..945fcb8 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         HasIndexGetter,
         NoStaticTables
index bd54f33..387206a 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         HasIndexGetter,
         NoStaticTables
index bea3fd1..a390ad1 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         Callback
     ] EntryCallback {
index 459a014..fce3850 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         CustomToJS,
         NoStaticTables
index fc7fa85..bc3aca6 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         Callback
     ] ErrorCallback {
index 74a6f76..31780b2 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter,
         GenerateToJS,
         NoStaticTables
index 0ab814f..ce7f58f 100644 (file)
@@ -30,6 +30,7 @@
 
 module fileapi {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         Callback
     ] FileCallback {
index 73ef895..6e35b7a 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         GenerateNativeConverter,
         GenerateToJS,
index c569839..383925c 100644 (file)
@@ -30,6 +30,7 @@
 
 module storage {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=FILE_SYSTEM,
         GenerateNativeConverter,
         GenerateToJS,
index bab815a..4a9832d 100644 (file)
@@ -30,6 +30,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=BLOB|FILE_SYSTEM,
         NoStaticTables
     ] FileError {
index 10bd151..60eaf2f 100644 (file)
@@ -30,6 +30,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=BLOB|FILE_SYSTEM,
         DontCheckEnums,
         NoStaticTables
index 0d0b046..f7b28d8 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
         NoStaticTables
     ] FileList {
index 61d5afb..42cdaf5 100644 (file)
@@ -32,6 +32,7 @@
 module html {
     interface [
         Conditional=BLOB,
+        LegacyDefaultOptionalArguments,
         ActiveDOMObject,
         CanBeConstructed,
         CallWith=ScriptExecutionContext,
index 381d483..b692a35 100644 (file)
@@ -31,6 +31,7 @@
 module html {
     interface [
         Conditional=BLOB,
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         NoStaticTables
     ] FileReaderSync {
index cf686ff..b5ca34b 100644 (file)
@@ -31,6 +31,7 @@
 module storage {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         Callback
     ] FileSystemCallback {
         boolean handleEvent(in DOMFileSystem fileSystem);
index 4de2c9f..d295f3b 100644 (file)
@@ -32,6 +32,7 @@
 module html {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         ActiveDOMObject,
         CallWith=ScriptExecutionContext,
         EventTarget,
index df82fed..be35671 100644 (file)
@@ -31,6 +31,7 @@
 module fileapi {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         Callback
     ] FileWriterCallback {
         boolean handleEvent(in FileWriter fileWriter);
index c561bb4..0d77e81 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 df50b66..37e85d9 100644 (file)
@@ -31,6 +31,7 @@
 module storage {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         NoStaticTables
     ] Metadata {
         readonly attribute Date modificationTime;
index 44ca180..e8e0a82 100644 (file)
@@ -31,6 +31,7 @@
 module storage {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         Callback
     ] MetadataCallback {
         boolean handleEvent(in Metadata metadata);
index 215cbc4..21227b8 100644 (file)
@@ -31,6 +31,7 @@
 module html {
     interface [
         Conditional=BLOB|FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         DontCheckEnums,
         NoStaticTables
     ] OperationNotAllowedException {
index 60d0c0a..243e792 100644 (file)
@@ -30,6 +30,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         GenerateNativeConverter,
         NoStaticTables
index 533796a..bc03113 100644 (file)
@@ -31,6 +31,7 @@
 module storage {
     interface [
         Conditional=FILE_SYSTEM,
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         NoStaticTables
     ] WebKitFlags {
index 4418428..d7c218e 100644 (file)
@@ -31,6 +31,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index 6260623..37a222b 100644 (file)
@@ -25,6 +25,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateConstructor,
         HasIndexGetter,
         GenerateToJS
index f94491c..6e48fbc 100644 (file)
@@ -25,6 +25,7 @@
 module core {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplElementRoot,
         GenerateConstructor,
         HasIndexGetter
index 75945b7..3629eff 100644 (file)
@@ -25,6 +25,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=BLOB,
         OmitConstructor,
         GenerateNativeConverter,
index 3b65a0a..1f53db8 100644 (file)
@@ -26,6 +26,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
         HasNameGetter,
         CustomCall,
index 8f09e41..871fcdf 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 388b5cb..a2e13f0 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         DelegatingPutFunction,
         DelegatingGetOwnPropertySlot,
         CustomCall
index 3358c05..84e7718 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 107b8b1..6380c95 100644 (file)
  */
 
 module html {
-    interface [Conditional=VIDEO] HTMLAudioElement : HTMLMediaElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+        Conditional=VIDEO
+    ] HTMLAudioElement : HTMLMediaElement {
     
     };
 }
index a6d215d..55b74e5 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLBRElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLBRElement : HTMLElement {
         attribute [Reflect] DOMString clear;
     };
 
index 2750c9e..3000c69 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 95bc92c..8e89c04 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 5a319a3..3a592fa 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLBlockquoteElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLBlockquoteElement : HTMLElement {
         attribute [Reflect, URL] DOMString cite;
     };
 
index 4709e3f..9d654f3 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 2fbba41..91b504b 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 689cede..daee485 100644 (file)
@@ -27,6 +27,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLCanvasElement : HTMLElement {
 
index ca18a74..220af7b 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
         HasNameGetter,
         CustomCall,
index 1a9326f..f305181 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLDListElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLDListElement : HTMLElement {
         attribute [Reflect] boolean compact;
     };
 
index a971fa7..bb07066 100644 (file)
@@ -30,7 +30,8 @@
 
 module html {
     interface [
-        Conditional=DATALIST
+        Conditional=DATALIST,
+        LegacyDefaultOptionalArguments,
     ] HTMLDataListElement : HTMLElement {
         readonly attribute HTMLCollection options;
     };
index 5ad9508..9415754 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLDetailsElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLDetailsElement : HTMLElement {
         attribute [Reflect] boolean open;
     };
 
index b096974..d0ed36e 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLDirectoryElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLDirectoryElement : HTMLElement {
         attribute [Reflect] boolean compact;
     };
 
index 0657c5f..e26a3ee 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 9684373..27fd247 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasOverridingNameGetter
     ] HTMLDocument : Document {
         [Custom, NoCPPCustom] void open();
index 1efdf32..d44783b 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter,
         CustomPushEventHandlerScope
     ] HTMLElement : Element {
index e395fc6..d968bb4 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         DelegatingPutFunction,
         DelegatingGetOwnPropertySlot,
         CustomCall
index 8cffe3d..14b5595 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 141816d..40eb79b 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 e9759e2..c90984d 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
         HasOverridingNameGetter
     ] HTMLFormElement : HTMLElement {
index dfe4ef8..206ef18 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLFrameElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLFrameElement : HTMLElement {
 
         attribute [Reflect] DOMString frameBorder;
         attribute [Reflect] DOMString longDesc;
index 06aab6a..3a749ba 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasOverridingNameGetter
     ] HTMLFrameSetElement : HTMLElement {
         attribute [Reflect] DOMString cols;
index 23a57da..5c997e3 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 59bdbf0..50d0244 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLHeadElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLHeadElement : HTMLElement {
         attribute [Reflect] DOMString profile;
     };
 
index e419c1c..3bbc1f8 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLHeadingElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLHeadingElement : HTMLElement {
         attribute [Reflect] DOMString align;
     };
 
index 03c661c..878341e 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 7f9e25a..5781a41 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 c6a88ea..a24b4ba 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLImageElement : HTMLElement {
         attribute [Reflect] DOMString name;
index 3610905..10a644b 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 028a180..b4f8b20 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLIsIndexElement : HTMLInputElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLIsIndexElement : HTMLInputElement {
         readonly attribute HTMLFormElement form;
         attribute [Reflect] DOMString prompt;
     };
index c34a925..3e4acb8 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 2dc541b..a1677bf 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLLIElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLLIElement : HTMLElement {
         attribute [Reflect] DOMString type;
         attribute [Reflect] long value;    
     };
index c946bc4..5075c73 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 750f32a..1d5d9e5 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 1f36232..79f2bf0 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 7811c9a..09efe08 100644 (file)
@@ -20,7 +20,9 @@
 
 module html {
 
-    interface HTMLMapElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLMapElement : HTMLElement {
         readonly attribute HTMLCollection areas;
         attribute [Reflect] DOMString name;
     };
index 3174fac..0da5a22 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLMarqueeElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLMarqueeElement : HTMLElement {
         void start();
         void stop();
         
index b1a4787..800cd3d 100644 (file)
  */
 
 module html {
-interface [Conditional=VIDEO] HTMLMediaElement : HTMLElement {
+    interface [
+        Conditional=VIDEO,
+        LegacyDefaultOptionalArguments,
+    ] HTMLMediaElement : HTMLElement {
 
     // error state
     readonly attribute MediaError error;
index ff14754..54ff6c9 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLMenuElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLMenuElement : HTMLElement {
         attribute [Reflect] boolean compact;
     };
 
index f4ffb2d..f8e5eff 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 3398688..266c202 100644 (file)
@@ -19,6 +19,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=METER_TAG
     ] HTMLMeterElement : HTMLElement {
                  attribute double value
index ad8281c..24db658 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 63e06b2..ddd6ccb 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 c1fa8c0..c71fedf 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         DelegatingPutFunction,
         DelegatingGetOwnPropertySlot,
         CustomCall
index 75cead0..c27894f 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLOptGroupElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLOptGroupElement : HTMLElement {
         attribute [Reflect] boolean disabled;
         attribute [Reflect] DOMString label;
     };
index eb299ef..253799d 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLOptionElement : HTMLElement {
         readonly attribute HTMLFormElement form;
index d9bfd45..1be261d 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 4e6cbfb..dc4209f 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 246e9e9..208c167 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLParagraphElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLParagraphElement : HTMLElement {
         attribute [Reflect] DOMString align;
     };
 
index 1f0c0de..8a8e5f1 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 ae137f0..d5891fa 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 b49252c..dade177 100644 (file)
@@ -19,6 +19,7 @@
 
 module html {
     interface [
+        LegacyDefaultOptionalArguments,
         Conditional=PROGRESS_TAG
     ] HTMLProgressElement : HTMLElement {
                  attribute  double                value
index fa1bcdb..4e0e00d 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLQuoteElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLQuoteElement : HTMLElement {
         attribute [Reflect, URL] DOMString cite;
     };
 }
index fa799cb..cc5bc73 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 f5ac69b..22faf3b 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         HasIndexGetter,
         HasCustomIndexSetter
     ] HTMLSelectElement : HTMLElement {
index dbd6d6a..d39d1c7 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 c98629c..d17f59b 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 c56c456..08762ac 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLTableCaptionElement : HTMLElement {
         attribute [Reflect] DOMString align;
index ae286f4..91b68e8 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 a6e6654..2522415 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 fddb27a..4eb70ff 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 4eb348e..7ee2f33 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 2065d6e..86c6fa7 100644 (file)
@@ -21,6 +21,7 @@
 module html {
 
     interface [
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLTableSectionElement : HTMLElement {
         attribute [Reflect] DOMString align;
index a5f98be..d2b94f9 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 de857e8..2d2de64 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLTitleElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLTitleElement : HTMLElement {
         attribute  [ConvertNullToNullString] DOMString            text;
     };
 
index 309f0f0..bf3491c 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 221dcca..cf37aac 100644 (file)
@@ -19,7 +19,9 @@
 
 module html {
 
-    interface HTMLUListElement : HTMLElement {
+    interface [
+        LegacyDefaultOptionalArguments,
+    ] HTMLUListElement : HTMLElement {
         attribute [Reflect] boolean compact;
         attribute [Reflect] DOMString type;
     };
index 8c7e39d..d38fa13 100644 (file)
@@ -26,6 +26,7 @@
 module html {
     interface [
         Conditional=VIDEO,
+        LegacyDefaultOptionalArguments,
         GenerateNativeConverter
     ] HTMLVideoElement : HTMLMediaElement {
         attribute [Reflect] unsigned long width;