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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/file/input-file-write-files.html

Issue 1492523003: Drop [LegacyInterfaceTypeChecking] for HTMLInputElement.prototype.files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test Created 5 years 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/forms/file/input-file-write-files-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/forms/file/input-file-write-files.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/file/input-file-write-files.html b/third_party/WebKit/LayoutTests/fast/forms/file/input-file-write-files.html
index 1613b24b956dd676f1a4699a387b2fe4e6c8f9c5..ddf0ea380b2372bc77fa42f3c4417309b1d9fd80 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/file/input-file-write-files.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/file/input-file-write-files.html
@@ -15,10 +15,9 @@ if (window.testRunner) {
var file2 = document.getElementById("file2");
dragFilesOntoInput(file1, ["foo.txt"]);
dragFilesOntoInput(file2, ["bar.txt"]);
-
- file1.files = "foo";
shouldBe("file1.files.length", "1");
- shouldBeEqualToString("file1.files.item(0).name", "foo.txt");
+
+ shouldThrow("file1.files = 'foo'");
file1.files = null;
shouldBe("file1.files.length", "1");
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/file/input-file-write-files-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698