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

Issue 23522051: Get rid of custom code for Document::createTouchList() (Closed)

Created:
7 years, 3 months ago by do-not-use
Modified:
7 years, 3 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, Nate Chapin, do-not-use
Visibility:
Public.

Description

Get rid of custom code for Document::createTouchList() Get rid of custom code for Document::createTouchList() now that the bindings generator supports variadic methods. One behavior change is that we now throw a TypeError if one of the given arguments is not a Touch, instead of treating it as null. This behavior is however consistent with Firefox Mobile and the specification: https://dvcs.w3.org/hg/webevents/raw-file/v1/touchevents.html#idl-def-Document R=haraken,arv BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157885

Patch Set 1 #

Patch Set 2 : Add missing references #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -39 lines) Patch
M LayoutTests/fast/events/touch/document-create-touch-list-crash-expected.txt View 1 chunk +6 lines, -10 lines 0 comments Download
M LayoutTests/fast/events/touch/document-create-touch-list-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/events/touch/script-tests/document-create-touch-list.js View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/touch/script-tests/document-create-touch-list-crash.js View 1 chunk +6 lines, -15 lines 0 comments Download
M Source/bindings/v8/custom/V8DocumentCustom.cpp View 1 chunk +0 lines, -12 lines 0 comments Download
M Source/core/dom/Document.h View 1 1 chunk +1 line, -0 lines 2 comments Download
M Source/core/dom/Document.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/dom/Document.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/TouchList.h View 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
do-not-use
7 years, 3 months ago (2013-09-16 12:54:09 UTC) #1
haraken
LGTM. Needs an approval from an API owner.
7 years, 3 months ago (2013-09-16 13:01:21 UTC) #2
do-not-use
+tkent
7 years, 3 months ago (2013-09-16 13:02:21 UTC) #3
arv (Not doing code reviews)
https://codereview.chromium.org/23522051/diff/2/Source/core/dom/Document.h File Source/core/dom/Document.h (right): https://codereview.chromium.org/23522051/diff/2/Source/core/dom/Document.h#newcode975 Source/core/dom/Document.h:975: PassRefPtr<TouchList> createTouchList(Vector<RefPtr<Touch> >&) const; Shouldn't this be const Vector& ...
7 years, 3 months ago (2013-09-16 13:06:20 UTC) #4
do-not-use
https://codereview.chromium.org/23522051/diff/2/Source/core/dom/Document.h File Source/core/dom/Document.h (right): https://codereview.chromium.org/23522051/diff/2/Source/core/dom/Document.h#newcode975 Source/core/dom/Document.h:975: PassRefPtr<TouchList> createTouchList(Vector<RefPtr<Touch> >&) const; On 2013/09/16 13:06:20, arv wrote: ...
7 years, 3 months ago (2013-09-16 13:25:26 UTC) #5
arv (Not doing code reviews)
On 2013/09/16 13:25:26, Christophe Dumez wrote: > https://codereview.chromium.org/23522051/diff/2/Source/core/dom/Document.h > File Source/core/dom/Document.h (right): > > https://codereview.chromium.org/23522051/diff/2/Source/core/dom/Document.h#newcode975 ...
7 years, 3 months ago (2013-09-16 13:47:10 UTC) #6
tkent
behavior change lgtm.
7 years, 3 months ago (2013-09-16 22:13:56 UTC) #7
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/23522051/2
7 years, 3 months ago (2013-09-17 05:45:55 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-17 07:11:58 UTC) #9
Message was sent while issue was closed.
Change committed as 157885

Powered by Google App Engine
This is Rietveld 408576698