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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt

Issue 2508773005: DataTransferItemList#add() file argument should not be nullable (Closed)
Patch Set: Added layout tests for dataTransferItemList.add() Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt b/third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt
index c07219f47f3a2c1d741dde5f8f96b552786a10ac..3ad83a15aedffd45f8561f1f503d667f4022ed88 100644
--- a/third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt
@@ -30,7 +30,9 @@ PASS testData is expectedTestData
PASS testData is expectedTestData
Running test with DataTransferItemList drag handler and Legacy drop handler
PASS testDataTransfer.items.add() threw exception TypeError: Failed to execute 'add' on 'DataTransferItemList': 1 argument required, but only 0 present..
+PASS testDataTransfer.items.add(undefined) threw exception TypeError: Failed to execute 'add' on 'DataTransferItemList': parameter 1 is not of type 'File'..
PASS testDataTransfer.items.add("sample") threw exception TypeError: Failed to execute 'add' on 'DataTransferItemList': parameter 1 is not of type 'File'..
+PASS testDataTransfer.items.add(null) threw exception TypeError: Failed to execute 'add' on 'DataTransferItemList': parameter 1 is not of type 'File'..
PASS testItem.kind is "string"
PASS testItem.type is "text/plain"
PASS testItem.kind is "string"
@@ -50,7 +52,9 @@ PASS testDataTransfer.getData("text/html") is "<em>Markup</em>"
PASS testDataTransfer.getData("custom-data") is "hello world"
Running test with DataTransferItemList drag handler and DataTransferItemList drop handler
PASS testDataTransfer.items.add() threw exception TypeError: Failed to execute 'add' on 'DataTransferItemList': 1 argument required, but only 0 present..
+PASS testDataTransfer.items.add(undefined) threw exception TypeError: Failed to execute 'add' on 'DataTransferItemList': parameter 1 is not of type 'File'..
PASS testDataTransfer.items.add("sample") threw exception TypeError: Failed to execute 'add' on 'DataTransferItemList': parameter 1 is not of type 'File'..
+PASS testDataTransfer.items.add(null) threw exception TypeError: Failed to execute 'add' on 'DataTransferItemList': parameter 1 is not of type 'File'..
PASS testItem.kind is "string"
PASS testItem.type is "text/plain"
PASS testItem.kind is "string"

Powered by Google App Engine
This is Rietveld 408576698