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

Unified Diff: LayoutTests/fast/dom/HTMLDialogElement/dialog-open.html

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months 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
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>

Powered by Google App Engine
This is Rietveld 408576698