-
morrita@chromium.org authored
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 Review URL: https://codereview.chromium.org/106903007 git-svn-id: svn://svn.chromium.org/blink/trunk@164309 bbb929c8-8fbe-4397-9dbb-9b2b20218538
d9561178