|
Separate Custom Element resolution and upgrade/createdCallback.
r164309 made Custom Element resolution (searching for a Custom Element
definition, and associating it with an element if there was a match)
immediately start the upgrade process. This is infelicitous because it
changed the timing of the createdCallback in some cases.
r164309 added the useful idea of "resolution" as a distinct step that
can be deferred. This change refines the integration of HTML Imports
and Custom Elements callback timing by separating resolution and
upgrade. Now HTML Imports can apply the brakes to resolution without
affecting which upgrades happen as a batch.
BUG= 338135
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166280
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+203 lines, -328 lines) |
Patch |
 |
M |
LayoutTests/fast/dom/custom/document-register-on-create-callback.html
|
View
|
|
2 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/custom/document-register-on-create-callback-expected.txt
|
View
|
|
1 chunk |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/core/core.gypi
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElement.cpp
|
View
|
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElementCallbackInvocation.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElementCallbackInvocation.cpp
|
View
|
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/core/dom/custom/CustomElementMicrotaskDispatcher.h
|
View
|
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
|
View
|
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
D |
Source/core/dom/custom/CustomElementMicrotaskElementStep.h
|
View
|
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
 |
D |
Source/core/dom/custom/CustomElementMicrotaskElementStep.cpp
|
View
|
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElementMicrotaskQueue.cpp
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
Source/core/dom/custom/CustomElementMicrotaskResolutionStep.h
|
View
|
|
1 chunk |
+15 lines, -14 lines |
0 comments
|
Download
|
 |
A + |
Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp
|
View
|
|
1 chunk |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElementMicrotaskStep.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElementProcessingStep.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElementRegistrationContext.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElementRegistrationContext.cpp
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
D |
Source/core/dom/custom/CustomElementResolutionStep.h
|
View
|
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
 |
D |
Source/core/dom/custom/CustomElementResolutionStep.cpp
|
View
|
|
1 chunk |
+0 lines, -59 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElementScheduler.h
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/custom/CustomElementScheduler.cpp
|
View
|
|
5 chunks |
+24 lines, -27 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|