DescriptionProperly suspend HTMLDocumentParser
When an ExecutionContext was suspended, the HTMLDocumentParser could
still handle parsed chunks, incrementaly build the tree, trigger resource
loads, and build iframes with new clean ExecutionContexts which were not
suspended, therefore triggering ASSERT(m_suspended) inside SuspendableTimer.
Also moved some Document specific code from ScopedPageLoadDeferrer to
FrameLoader, where it logically feels better so it's more related to the
defersLoading state handling, and so it makes the Page to FrameHost
migration easier.
BUG=418116
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186256
Patch Set 1 #Patch Set 2 : Better version of the fix #Patch Set 3 : Fixed wrong method called #
Total comments: 8
Patch Set 4 : Comments #Patch Set 5 : rebase #Patch Set 6 : Added tests #Patch Set 7 : fixed file names #Patch Set 8 : better way to call m_parserScheduler->resume #
Total comments: 5
Patch Set 9 : remote tcs #Patch Set 10 : rebase #
Messages
Total messages: 43 (15 generated)
|