DescriptionIntroduce CustomElementRegistry#whenDefined() method
This patch introduces |CustomElementRegistry#whenDefined()| as specified in [1],
and makes |CustomElementRegistry::define()| to resolve a promise associated to
newly defined name.
[1] // https://html.spec.whatwg.org/multipage/scripting.html#dom-customelementsregistry-whendefined
BUG=594918
TEST=LayoutTests/custom-elements/spec/custom-elements-registry/when_defined.html
Committed: https://crrev.com/52523d4e58d99cdb768791bf9ac532c917522460
Cr-Commit-Position: refs/heads/master@{#399171}
Patch Set 1 : 2016-06-09T18:55:30 #
Total comments: 4
Patch Set 2 : 2016-06-10T16:48:25 #Patch Set 3 : 2016-06-10T19:03:11 #
Messages
Total messages: 22 (11 generated)
|