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

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

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList.html b/third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList.html
index c43cff24ec54af3b042d87882e154a77ed15b464..fc59baba503c85e8a7a64ac9f105a2e1c2ef9610 100644
--- a/third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList.html
+++ b/third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList.html
@@ -29,7 +29,9 @@ function itemListDragStart(dataTransfer)
{
testDataTransfer = dataTransfer;
shouldThrow('testDataTransfer.items.add()');
+ shouldThrow('testDataTransfer.items.add(undefined)');
shouldThrow('testDataTransfer.items.add("sample")');
+ shouldThrow('testDataTransfer.items.add(null)');
testItem = dataTransfer.items.add('sample', 'text/plain');
shouldBeEqualToString('testItem.kind', 'string');
shouldBeEqualToString('testItem.type', 'text/plain');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698