DescriptionLet unresolved custom element go through CustomElementCallbackQueue.
As a preparation for crbug.com/313384, this change
introduces CustomElementResolutionInvocation that
is created per unresolved element and goes through
CECallbackQueue, then it does retry the resolution
attempt at its own invocation.
By going through the queue, we can guarantee
the tree order of unresolved element in CEUpdagradeCandidateMap
even with HTMLImports, which currently throw
unresolved elements into the candidate map in unpredictable way.
In coming changes, we'll fix the invocation order of
import-provided elements. This change will work with
those changes and will provide well defined order of
element upgrade.
BUG=313384
TEST=document-register-on-create-callback.html
R=dominicc,dglazkov,falken
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164309
Patch Set 1 #
Total comments: 17
Patch Set 2 : Updated #
Total comments: 12
Patch Set 3 : Updated. #
Total comments: 24
Patch Set 4 : Updated #
Total comments: 1
Patch Set 5 : For landing #Patch Set 6 : Diff was broken. Landing again #Patch Set 7 : Updated test. Landing again. #Messages
Total messages: 15 (0 generated)
|