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

Issue 21600002: Add json responseType support to XMLHttpRequest (Closed)

Created:
7 years, 4 months ago by tyoshino (SeeGerritForStatus)
Modified:
7 years, 4 months ago
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, haraken, Nate Chapin, do-not-use
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add json responseType support to XMLHttpRequest BUG=119256 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156290

Patch Set 1 #

Patch Set 2 : Use v8::JSON::Parse #

Patch Set 3 : LayoutTests #

Total comments: 6

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -4 lines) Patch
A LayoutTests/http/tests/xmlhttprequest/resources/test.json View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/http/tests/xmlhttprequest/response-json.html View 1 2 1 chunk +109 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/xmlhttprequest/response-json-expected.txt View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp View 1 2 3 2 chunks +29 lines, -0 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 2 3 4 chunks +19 lines, -2 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.idl View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jochen (gone - plz use gerrit)
the JSON extension won't be available on workers. Is this intended?
7 years, 4 months ago (2013-08-05 08:41:33 UTC) #1
tyoshino (SeeGerritForStatus)
On 2013/08/05 08:41:33, jochen wrote: > the JSON extension won't be available on workers. Is ...
7 years, 4 months ago (2013-08-05 11:04:49 UTC) #2
abarth-chromium
Looks like we should wait for the real JSON API.
7 years, 4 months ago (2013-08-05 22:11:22 UTC) #3
tyoshino (SeeGerritForStatus)
On 2013/08/05 22:11:22, abarth wrote: > Looks like we should wait for the real JSON ...
7 years, 4 months ago (2013-08-06 03:40:21 UTC) #4
tyoshino (SeeGerritForStatus)
Updated to use v8::JSON::Parse. Depends on https://codereview.chromium.org/22416003/
7 years, 4 months ago (2013-08-06 18:35:32 UTC) #5
abarth-chromium
lgtm https://codereview.chromium.org/21600002/diff/9001/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp File Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp (right): https://codereview.chromium.org/21600002/diff/9001/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp#newcode95 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp:95: case XMLHttpRequest::ResponseTypeJson: ResponseTypeJson -> ResponseTypeJSON https://codereview.chromium.org/21600002/diff/9001/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp#newcode98 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp:98: ScriptString ...
7 years, 4 months ago (2013-08-06 19:28:32 UTC) #6
tyoshino (SeeGerritForStatus)
Thanks. I'll submit this when the fix for JSON::Parse is landed, merged into v8 trunk, ...
7 years, 4 months ago (2013-08-07 03:37:45 UTC) #7
tyoshino (SeeGerritForStatus)
On 2013/08/07 03:37:45, tyoshino wrote: > Thanks. I'll submit this when the fix for JSON::Parse ...
7 years, 4 months ago (2013-08-19 07:40:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/21600002/15001
7 years, 4 months ago (2013-08-19 07:41:42 UTC) #9
commit-bot: I haz the power
7 years, 4 months ago (2013-08-19 08:09:10 UTC) #10
Message was sent while issue was closed.
Change committed as 156290

Powered by Google App Engine
This is Rietveld 408576698