Index: LayoutTests/fast/dom/HTMLDialogElement/dialog-open.html |
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/dialog-open.html b/LayoutTests/fast/dom/HTMLDialogElement/dialog-open.html |
index 335136e2f944cdfa4a50f95f6a0501af743752f3..46b01d488cf333c4b07d11d9e5ea4bfe033e19ff 100644 |
--- a/LayoutTests/fast/dom/HTMLDialogElement/dialog-open.html |
+++ b/LayoutTests/fast/dom/HTMLDialogElement/dialog-open.html |
@@ -24,7 +24,7 @@ dialog.close(); |
computedStyle = window.getComputedStyle(dialog, null); |
shouldBe("computedStyle.getPropertyValue('display')", "'none'"); |
-shouldThrow('dialog.close();', "'Error: InvalidStateError: DOM Exception 11'"); |
+shouldThrow('dialog.close();', "'InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.'"); |
</script> |
<script src="../../js/resources/js-test-post.js"></script> |
</body> |