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"); |