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

Issue 22842002: Stop throwing DOM exceptions in internal 'XMLHttpRequest' response getters. (Closed)

Created:
7 years, 4 months ago by Mike West
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
Visibility:
Public.

Description

Stop throwing DOM exceptions in internal 'XMLHttpRequest' response getters. Unlike 'responseText' and 'responseXML', 'responseBlob' and 'responseArrayBuffer' are not exposed to JavaScript (they don't appear in the IDL or in the specification). As they are only called from custom bindings in response to a JavaScript call to the 'response' getter, we can safely replace the exception-throwing code in the implementation with an ASSERT that the request type is correct. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155954

Patch Set 1 #

Patch Set 2 : Moar. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -20 lines) Patch
M Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp View 1 1 chunk +2 lines, -8 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 2 chunks +5 lines, -10 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Mike West
Hi Takeshi and Erik. Mind taking a quick look at this CL to (slightly) simplify ...
7 years, 4 months ago (2013-08-12 13:55:15 UTC) #1
Mike West
On 2013/08/12 13:55:15, Mike West wrote: > Hi Takeshi and Erik. Mind taking a quick ...
7 years, 4 months ago (2013-08-12 14:01:36 UTC) #2
arv (Not doing code reviews)
Typos in CL description they doesn't -> they don't they is -> they are
7 years, 4 months ago (2013-08-12 15:02:42 UTC) #3
arv (Not doing code reviews)
LGTM
7 years, 4 months ago (2013-08-12 15:04:26 UTC) #4
Use mkwst_at_chromium.org plz.
On 2013/08/12 15:02:42, arv wrote: > Typos in CL description > > they doesn't -> ...
7 years, 4 months ago (2013-08-12 15:07:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/22842002/5001
7 years, 4 months ago (2013-08-12 15:07:51 UTC) #6
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=5204
7 years, 4 months ago (2013-08-12 15:20:35 UTC) #7
Mike West
Hrm. Aren't you a bindings owner, Erik? Presubmit doesn't like you. :/ Jochen, rs=? for ...
7 years, 4 months ago (2013-08-12 18:56:10 UTC) #8
arv (Not doing code reviews)
No one likes me :'( jk, https://codereview.chromium.org/22901003 On Mon, Aug 12, 2013 at 2:56 PM, ...
7 years, 4 months ago (2013-08-12 19:13:10 UTC) #9
jochen (gone - plz use gerrit)
lgtm
7 years, 4 months ago (2013-08-12 19:24:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/22842002/5001
7 years, 4 months ago (2013-08-12 19:25:16 UTC) #11
commit-bot: I haz the power
Change committed as 155954
7 years, 4 months ago (2013-08-12 21:49:44 UTC) #12
tyoshino (SeeGerritForStatus)
7 years, 4 months ago (2013-08-13 03:39:19 UTC) #13
Message was sent while issue was closed.
lgtm thanks!

Powered by Google App Engine
This is Rietveld 408576698