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

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

Issue 2490083002: Add a use counter to customElements.define. (Closed)
Patch Set: Bring patch to head. Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.idl
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.idl b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.idl
index 781451a703457a4055923ffe8f88536e6e3d327d..3741912f947669ad33f514b5c03742581d4cdebc 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.idl
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.idl
@@ -5,7 +5,7 @@
[
RuntimeEnabled=CustomElementsV1,
] interface CustomElementRegistry {
- [CallWith=ScriptState, CEReactions, CustomElementCallbacks, RaisesException] void define(DOMString name, Function constructor, optional ElementDefinitionOptions options);
+ [CallWith=ScriptState, CEReactions, CustomElementCallbacks, RaisesException, MeasureAs=CustomElementRegistryDefine] void define(DOMString name, Function constructor, optional ElementDefinitionOptions options);
any get(DOMString name);
[CallWith=ScriptState,RaisesException] Promise<void> whenDefined(DOMString name);
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698