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

Issue 23533007: Replace responseType mismatch handling code in XMLHttpRequest::responseJSONSource() with ASSERT (Closed)

Created:
7 years, 3 months ago by tyoshino (SeeGerritForStatus)
Modified:
7 years, 3 months ago
Reviewers:
haraken
CC:
blink-reviews, Nils Barth (inactive), kojih, jsbell+bindings_chromium.org, eae+blinkwatch, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, adamk+blink_chromium.org, Nate Chapin, do-not-use
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Replace responseType mismatch handling code in XMLHttpRequest::responseJSONSource() with ASSERT Like responseBlob() and responseArrayBuffer() method, this method is called from V8XMLHttpRequestCustom where it's responseType is guaranteed to be ResponseTypeJSON. So, just ASSERT it. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156909

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -7 lines) Patch
M Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp View 1 chunk +1 line, -1 line 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 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
tyoshino (SeeGerritForStatus)
7 years, 3 months ago (2013-08-29 04:22:25 UTC) #1
haraken
LGTM.
7 years, 3 months ago (2013-08-29 04:25:45 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/23533007/1
7 years, 3 months ago (2013-08-29 04:54:56 UTC) #3
commit-bot: I haz the power
7 years, 3 months ago (2013-08-29 09:31:00 UTC) #4
Message was sent while issue was closed.
Change committed as 156909

Powered by Google App Engine
This is Rietveld 408576698