| Index: third_party/WebCore/page/DOMWindow.idl
|
| diff --git a/third_party/WebCore/page/DOMWindow.idl b/third_party/WebCore/page/DOMWindow.idl
|
| index 50ce43bcccbac5d3111f849bf8f4e546ddff1758..2e21da9e8b1a8cbf7b2b093736430bba4afdd0c4 100644
|
| --- a/third_party/WebCore/page/DOMWindow.idl
|
| +++ b/third_party/WebCore/page/DOMWindow.idl
|
| @@ -74,8 +74,8 @@
|
| in DOMString name,
|
| in [Optional] DOMString options);
|
|
|
| - [Custom] DOMObject showModalDialog(in DOMString url,
|
| - in [Optional] DOMObject dialogArgs,
|
| + [Custom] any showModalDialog(in DOMString url,
|
| + in [Optional] any dialogArgs,
|
| in [Optional] DOMString featureArgs);
|
|
|
| void alert(in [Optional=DefaultIsUndefined] DOMString message);
|
| @@ -180,9 +180,7 @@
|
|
|
| // cross-document messaging
|
| #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
|
| - [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue message, in DOMString targetOrigin)
|
| - raises(DOMException);
|
| - [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue message, in DOMString targetOrigin, in Array messagePorts)
|
| + [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue message, in DOMString targetOrigin, in [Optional] Array messagePorts)
|
| raises(DOMException);
|
| #else
|
| // There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port.
|
| @@ -219,6 +217,8 @@
|
| DOMString btoa(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMString string)
|
| raises(DOMException);
|
|
|
| + attribute [Replaceable,Conditional=CSS3_CONDITIONAL_RULES] DOMWindowCSS CSS;
|
| +
|
| // Events
|
| attribute EventListener onabort;
|
| attribute EventListener onbeforeunload;
|
| @@ -397,7 +397,7 @@
|
| attribute NotationConstructor Notation;
|
| attribute EntityConstructor Entity;
|
| attribute EntityReferenceConstructor EntityReference;
|
| - [Conditional=CANVAS_PATH] attribute DOMPathConstructor Path;
|
| + [Conditional=CANVAS_PATH, V8EnabledAtRuntime=canvasPath] attribute DOMPathConstructor Path;
|
| attribute ProcessingInstructionConstructor ProcessingInstruction;
|
| [Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] attribute ShadowRootConstructor WebKitShadowRoot;
|
| [Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] attribute HTMLContentElementConstructor HTMLContentElement;
|
| @@ -508,8 +508,6 @@
|
| [Conditional=VIDEO, V8EnabledAtRuntime] attribute HTMLSourceElementConstructor HTMLSourceElement;
|
| [Conditional=VIDEO, V8EnabledAtRuntime] attribute MediaControllerConstructor MediaController;
|
|
|
| - [Conditional=WEB_INTENTS_TAG] attribute HTMLIntentElementConstructor HTMLIntentElement;
|
| -
|
| attribute CanvasPatternConstructor CanvasPattern;
|
| attribute CanvasGradientConstructor CanvasGradient;
|
| attribute CanvasRenderingContext2DConstructor CanvasRenderingContext2D;
|
| @@ -799,7 +797,8 @@
|
| [Conditional=BLOB] attribute DOMURLConstructor URL;
|
| [Conditional=BLOB] attribute DOMURLConstructor webkitURL; // FIXME: deprecate this.
|
|
|
| - attribute MutationObserverConstructor WebKitMutationObserver;
|
| + attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add metrics to determine when we can remove this.
|
| + attribute MutationObserverConstructor MutationObserver;
|
|
|
| [Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaSource;
|
| [Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourceBuffer;
|
|
|