Index: LayoutTests/fast/forms/file/file-setrangetext-expected.txt |
diff --git a/LayoutTests/fast/forms/file/file-setrangetext-expected.txt b/LayoutTests/fast/forms/file/file-setrangetext-expected.txt |
index c9e79638e537858a94d0d0c318466fc7334e2d62..f3a85384538032ab56833387a3f1d5d5ddc2b0fe 100644 |
--- a/LayoutTests/fast/forms/file/file-setrangetext-expected.txt |
+++ b/LayoutTests/fast/forms/file/file-setrangetext-expected.txt |
@@ -1,4 +1,4 @@ |
-Test setRangeText() method is not available in file inputs. |
+Test setRangeText() on file inputs. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
@@ -6,9 +6,11 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE |
Running tests on input with attributes: {"type":"file"} |
-PASS element.value = '0123456789XYZ' threw exception InvalidStateError: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.. |
-PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('file') does not support selection.. |
+PASS element.value = '0123456789' threw exception InvalidStateError: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.. |
+element.setSelectionRange(2, 5) |
+element.setRangeText('432') |
PASS element.value is "" |
+PASS element.value is not 0143256789 |
PASS successfullyParsed is true |
TEST COMPLETE |