Revert of Better handle reentrancy into DocumentLoader::dataReceived(). (patchset...
commitf17b96ec64b7d77483f4d041b8f1b9718ed75847
authorsigbjornf@opera.com <sigbjornf@opera.com>
Thu, 13 Aug 2015 20:04:55 +0000 (13 20:04 +0000)
committersigbjornf@opera.com <sigbjornf@opera.com>
Thu, 13 Aug 2015 20:04:55 +0000 (13 20:04 +0000)
tree75fcccf87ad41ab24ff7453519516943631112d4
parent8c154a7c8626b1c36f7ed65a854b93cca4e614d9
Revert of Better handle reentrancy into DocumentLoader::dataReceived(). (patchset #10 id:180001 of https://codereview.chromium.org/1263363005/ )

Reason for revert:
ASan bots are reporting a handful of UAFs,

 http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20ASAN/builds/19837

Original issue's description:
> Better handle reentrancy into DocumentLoader::dataReceived().
>
> dataReceived() can be called reentrantly if it triggers a nested message
> loop when detaching a Document or parsing script for the new Document.
> Since dataReceived() isn't safe for reentrancy, any nested invocations
> queue the received data to be processed by the top-level invocation of
> dataReceived().
>
> BUG=515876
>
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200436

TBR=japhet@chromium.org,kouhei@chromium.org,morrita@chromium.org,dcheng@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=515876

Review URL: https://codereview.chromium.org/1295553002

git-svn-id: svn://svn.chromium.org/blink/trunk@200487 bbb929c8-8fbe-4397-9dbb-9b2b20218538
third_party/WebKit/Source/core/loader/DocumentLoader.cpp
third_party/WebKit/Source/core/loader/DocumentLoader.h
third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp [deleted file]
third_party/WebKit/Source/web/web.gypi