Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.idl

Issue 2048343002: Introduce CustomElementRegistry#whenDefined() method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-06-10T19:03:11 Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698