| Index: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
|
| diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
|
| index fd0affcca3489707348b734f22660aa335508a20..00db73a71c98d180d0462e733e944655fe4aa8bc 100644
|
| --- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
|
| +++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
|
| @@ -27,17 +27,17 @@
|
| // https://w3c.github.io/webcomponents/spec/shadow/#the-shadowroot-interface
|
|
|
| interface ShadowRoot : DocumentFragment {
|
| - readonly attribute ShadowRootMode mode;
|
| - readonly attribute Element host;
|
| - [ImplementedAs=olderShadowRootForBindings] readonly attribute ShadowRoot? olderShadowRoot;
|
| - [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesException=Setter] attribute DOMString innerHTML;
|
| - readonly attribute boolean delegatesFocus;
|
| + [Measure] readonly attribute ShadowRootMode mode;
|
| + [Measure] readonly attribute Element host;
|
| + [Measure, ImplementedAs=olderShadowRootForBindings] readonly attribute ShadowRoot? olderShadowRoot;
|
| + [Measure, TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesException=Setter] attribute DOMString innerHTML;
|
| + [Measure] readonly attribute boolean delegatesFocus;
|
|
|
| // TODO(foolip): The spec does not override cloneNode() on the ShadowRoot
|
| // interface. Here, it's used to implement "Invoking the cloneNode() method
|
| // on a ShadowRoot instance must always throw a DATA_CLONE_ERR exception" as
|
| // Node.cloneNode() does not have [RaisesException].
|
| - [RaisesException] Node cloneNode(optional boolean deep = false);
|
| + [Measure, RaisesException] Node cloneNode(optional boolean deep = false);
|
| };
|
|
|
| ShadowRoot implements DocumentOrShadowRoot;
|
|
|