Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Issue 26114005: Revert 159087 "Revert 159004 "Merge 158146 "[XHR] Abort method e..." (Closed)

Created:
7 years, 2 months ago by tyoshino (SeeGerritForStatus)
Modified:
7 years, 2 months ago
Reviewers:
kerz_chromium
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch
Visibility:
Public.

Description

Revert 159087 "Revert 159004 "Merge 158146 "[XHR] Abort method e..." Fixed compilation error. > Revert 159004 "Merge 158146 "[XHR] Abort method execution when m..." > This broke the 1599 branch. > > > Merge 158146 "[XHR] Abort method execution when m_loader->cancel..." > > > > > [XHR] Abort method execution when m_loader->cancel() in internalAbort() caused reentry > > > > > > Calling cancel() on DocumentThreadableLoader may results in calling > > > window.onload synchronously. If open(), send(), etc. are called on the same > > > XMLHttpRequest object, it'll be hard to resolve conflict of states without > > > losing spec conformance. This CL avoids that by just aborting execution of > > > code for the outer method that calls internalAbort() if it returns false. > > > > > > BUG=292422 > > > > > > Review URL: https://chromiumcodereview.appspot.com/24304004 > > > > TBR=tyoshino@chromium.org > > > > Review URL: https://codereview.chromium.org/26209004 > > TBR=tyoshino@chromium.org > > Review URL: https://codereview.chromium.org/26341006 TBR=kerz@chromium.org BUG=292422 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159105

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -7 lines) Patch
M LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 6 chunks +23 lines, -6 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
tyoshino (SeeGerritForStatus)
7 years, 2 months ago (2013-10-08 07:22:27 UTC) #1
tyoshino (SeeGerritForStatus)
7 years, 2 months ago (2013-10-08 07:25:43 UTC) #2
Message was sent while issue was closed.
Committed patchset #2 manually as r159105.

Powered by Google App Engine
This is Rietveld 408576698