Description[HTML Import] Let script block by pending resources created by lifecycle callback
This change tells the HTML parser know that lifecycle callbacks,
that is triggered through Microtask checkpoint, can create resources that
blocks scripts.
It also streamlines the unblock notification from Document to the parser
into didLoadAllScriptBlockingResources(). Now both didRemoveAllPendingStylesheets()
and didLoadAllImports() checks resource readiness and invokes the unified notification.
TEST=custom-element-style-block.html
BUG=346408
R=dglazkov@chromium.org, dominicc@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169577
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169782
Patch Set 1 #Patch Set 2 : Landing #
Total comments: 1
Patch Set 3 : Added assert_true() :-/ #Patch Set 4 : Updated to ToT. #Patch Set 5 : Re-landing with another fix #Messages
Total messages: 40 (0 generated)
|