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

Issue 23243002: Introduce XMLHttpRequestEventTarget IDL interface (Closed)

Created:
7 years, 4 months ago by do-not-use
Modified:
7 years, 4 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch
Visibility:
Public.

Description

Introduce XMLHttpRequestEventTarget IDL interface Introduce XMLHttpRequestEventTarget IDL interface to match the latest specification: - http://xhr.spec.whatwg.org/#xmlhttprequesteventtarget It avoids duplication of the event handlers between XMLHttpRequest and XMLHttpRequestUpload. BUG=273698 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156213

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fix nits and add test #

Total comments: 2

Patch Set 3 : Add check proposed by arv #

Patch Set 4 : Update event-target-in-prototype.html test case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -93 lines) Patch
A LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance-expected.txt View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/event-target-in-prototype.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/webexposed/event-target-in-prototype-expected.txt View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download
M Source/core/core.gypi View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.h View 6 chunks +6 lines, -17 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 chunk +0 lines, -10 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.idl View 1 chunk +1 line, -11 lines 0 comments Download
A + Source/core/xml/XMLHttpRequestEventTarget.h View 1 2 chunks +20 lines, -11 lines 0 comments Download
A + Source/core/xml/XMLHttpRequestEventTarget.idl View 1 2 chunks +10 lines, -7 lines 0 comments Download
M Source/core/xml/XMLHttpRequestUpload.h View 3 chunks +6 lines, -15 lines 0 comments Download
M Source/core/xml/XMLHttpRequestUpload.cpp View 1 chunk +0 lines, -10 lines 0 comments Download
M Source/core/xml/XMLHttpRequestUpload.idl View 1 chunk +1 line, -9 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
do-not-use
7 years, 4 months ago (2013-08-15 14:04:59 UTC) #1
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/23243002/diff/1/Source/core/xml/XMLHttpRequestEventTarget.idl File Source/core/xml/XMLHttpRequestEventTarget.idl (right): https://codereview.chromium.org/23243002/diff/1/Source/core/xml/XMLHttpRequestEventTarget.idl#newcode2 Source/core/xml/XMLHttpRequestEventTarget.idl:2: * Copyright (C) 2008, 2010 Apple Inc. All ...
7 years, 4 months ago (2013-08-15 14:08:56 UTC) #2
arv (Not doing code reviews)
On 2013/08/15 14:08:56, arv wrote: > LGTM Actually, we need to add tests too. (I ...
7 years, 4 months ago (2013-08-15 14:10:04 UTC) #3
haraken
LGTM https://codereview.chromium.org/23243002/diff/1/Source/core/xml/XMLHttpRequestEventTarget.h File Source/core/xml/XMLHttpRequestEventTarget.h (right): https://codereview.chromium.org/23243002/diff/1/Source/core/xml/XMLHttpRequestEventTarget.h#newcode52 Source/core/xml/XMLHttpRequestEventTarget.h:52: EventTargetData m_eventTargetData; Nit: Maybe this member should be ...
7 years, 4 months ago (2013-08-15 14:10:28 UTC) #4
do-not-use
https://codereview.chromium.org/23243002/diff/1/Source/core/xml/XMLHttpRequestEventTarget.idl File Source/core/xml/XMLHttpRequestEventTarget.idl (right): https://codereview.chromium.org/23243002/diff/1/Source/core/xml/XMLHttpRequestEventTarget.idl#newcode2 Source/core/xml/XMLHttpRequestEventTarget.idl:2: * Copyright (C) 2008, 2010 Apple Inc. All rights ...
7 years, 4 months ago (2013-08-15 14:11:20 UTC) #5
arv (Not doing code reviews)
https://codereview.chromium.org/23243002/diff/1/Source/core/xml/XMLHttpRequestEventTarget.idl File Source/core/xml/XMLHttpRequestEventTarget.idl (right): https://codereview.chromium.org/23243002/diff/1/Source/core/xml/XMLHttpRequestEventTarget.idl#newcode2 Source/core/xml/XMLHttpRequestEventTarget.idl:2: * Copyright (C) 2008, 2010 Apple Inc. All rights ...
7 years, 4 months ago (2013-08-15 14:23:46 UTC) #6
do-not-use
On 2013/08/15 14:10:04, arv wrote: > On 2013/08/15 14:08:56, arv wrote: > > LGTM > ...
7 years, 4 months ago (2013-08-15 14:30:26 UTC) #7
do-not-use
Fixed the nits and added a test. Please let me know if the test is ...
7 years, 4 months ago (2013-08-15 14:47:39 UTC) #8
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/23243002/diff/12001/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html File LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html (right): https://codereview.chromium.org/23243002/diff/12001/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html#newcode19 LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html:19: shouldBe("XMLHttpRequestUpload.prototype.__proto__.__proto__", "EventTarget.prototype"); Also: function className(obj) { return Object.prototype.toString.call(obj).slice(8, ...
7 years, 4 months ago (2013-08-15 15:02:49 UTC) #9
do-not-use
https://codereview.chromium.org/23243002/diff/12001/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html File LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html (right): https://codereview.chromium.org/23243002/diff/12001/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html#newcode19 LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html:19: shouldBe("XMLHttpRequestUpload.prototype.__proto__.__proto__", "EventTarget.prototype"); On 2013/08/15 15:02:50, arv wrote: > Also: ...
7 years, 4 months ago (2013-08-15 15:33:45 UTC) #10
do-not-use
+jochen
7 years, 4 months ago (2013-08-15 15:34:58 UTC) #11
arv (Not doing code reviews)
On 2013/08/15 15:33:45, Christophe Dumez wrote: > https://codereview.chromium.org/23243002/diff/12001/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html > File LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-inheritance.html > (right): > > ...
7 years, 4 months ago (2013-08-15 17:00:24 UTC) #12
do-not-use
Could an API owner please take a look?
7 years, 4 months ago (2013-08-16 07:06:30 UTC) #13
jochen (gone - plz use gerrit)
lgtm
7 years, 4 months ago (2013-08-16 09:15:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/23243002/24001
7 years, 4 months ago (2013-08-16 09:33:29 UTC) #15
commit-bot: I haz the power
7 years, 4 months ago (2013-08-16 12:29:25 UTC) #16
Message was sent while issue was closed.
Change committed as 156213

Powered by Google App Engine
This is Rietveld 408576698