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

Issue 22604003: Make DataTransferItem.getAsString() argument mandatory and nullable (Closed)

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

Description

Make DataTransferItem.getAsString() argument mandatory and nullable Make DataTransferItem.getAsString() argument mandatory and nullable to match the latest specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dom-datatransferitem-getasstring BUG=269548 R=arv@chromium.org, haraken@chromium.org, tkent@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155747

Patch Set 1 #

Total comments: 2

Patch Set 2 : Take Arv's feedback into consideration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -32 lines) Patch
M LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html View 1 5 chunks +20 lines, -25 lines 0 comments Download
M LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string-expected.txt View 1 chunk +14 lines, -4 lines 0 comments Download
M Source/bindings/scripts/deprecated_code_generator_v8.pm View 1 1 chunk +10 lines, -2 lines 0 comments Download
M Source/bindings/tests/idls/TestObject.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 2 chunks +25 lines, -0 lines 0 comments Download
M Source/core/dom/DataTransferItem.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
do-not-use
As noted on the bug, DataTransferItem does not seem to be implemented in Firefox Nightly ...
7 years, 4 months ago (2013-08-07 17:08:01 UTC) #1
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/22604003/diff/1/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html File LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html (right): https://codereview.chromium.org/22604003/diff/1/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html#newcode79 LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html:79: window.currentItem = items[i]; or var currentItem; function handleDrop() ...
7 years, 4 months ago (2013-08-07 17:55:24 UTC) #2
do-not-use
https://codereview.chromium.org/22604003/diff/1/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html File LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html (right): https://codereview.chromium.org/22604003/diff/1/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html#newcode79 LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html:79: window.currentItem = items[i]; On 2013/08/07 17:55:24, arv wrote: > ...
7 years, 4 months ago (2013-08-07 18:07:59 UTC) #3
arv (Not doing code reviews)
I prefer to not use window.foo since it is a bit misleading. foo is not ...
7 years, 4 months ago (2013-08-07 18:30:55 UTC) #4
tkent
API change LGTM
7 years, 4 months ago (2013-08-07 21:24:40 UTC) #5
haraken
LGTM
7 years, 4 months ago (2013-08-08 00:08:18 UTC) #6
do-not-use
7 years, 4 months ago (2013-08-08 07:47:15 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r155747 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698