Index: third_party/WebKit/LayoutTests/fast/forms/time/time-valueasdate.html |
diff --git a/third_party/WebKit/LayoutTests/fast/forms/time/time-valueasdate.html b/third_party/WebKit/LayoutTests/fast/forms/time/time-valueasdate.html |
index 3407e31efa8e7de161133890c0414a1871d24fc0..34b42f5f96773b17ba9531cf97018b041b510ef9 100644 |
--- a/third_party/WebKit/LayoutTests/fast/forms/time/time-valueasdate.html |
+++ b/third_party/WebKit/LayoutTests/fast/forms/time/time-valueasdate.html |
@@ -43,7 +43,7 @@ debug('Invalid Date:'); |
// Date of JavaScript can't represent 8.65E15. |
shouldBe('var date = new Date(); date.setTime(8.65E15); input.valueAsDate = date; input.value', '""'); |
debug('Invalid objects:'); |
-shouldBe('input.value = "00:00"; input.valueAsDate = document; input.value', '""'); |
+shouldThrow('input.valueAsDate = document'); |
shouldBe('input.value = "00:00"; input.valueAsDate = null; input.value', '""'); |
debug('Step attribute value and string representation:'); |