DescriptionXHR: Abort DocumentParser on internalAbort
Before this CL, XHR didn't abort |m_responseDocumentParser| when the
request was cancelled. This CL adds a call to |DocumentParser::stopParsing()|
to force cancel parsing when the request is aborted.
This CL also fixes |m_responseDocumentParser| destruction by moving the pointer
clear to |clearVariablesForLoading| and calling |detach()| on non-oilpan builds.
BUG=409461
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181247
Patch Set 1 #Patch Set 2 : add null check #Patch Set 3 : add tests #Patch Set 4 : add tests #
Total comments: 6
Patch Set 5 : address comments #
Messages
Total messages: 8 (2 generated)
|