Index: third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.idl |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.idl b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.idl |
index 1fb5982bebc524111a40ae5d7f5dde1e60298140..7d2ed8519c7f37c287efb1fce0df3f987b4d7324 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.idl |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.idl |
@@ -7,4 +7,5 @@ |
] interface CustomElementsRegistry { |
[CallWith=ScriptState, CEReactions, CustomElementCallbacks, RaisesException] void define(DOMString name, Function constructor, optional ElementRegistrationOptions options); |
any get(DOMString name); |
+ [CallWith=ScriptState,RaisesException] Promise<void> whenDefined(DOMString name); |
}; |