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

Unified Diff: LayoutTests/fast/dom/HTMLDialogElement/dialog-show-modal-expected.txt

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-show-modal-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/dialog-show-modal-expected.txt b/LayoutTests/fast/dom/HTMLDialogElement/dialog-show-modal-expected.txt
index 104b953ec76b470ff5a9e7c3ecad679fa77f23c8..76cb96a8ed3d57fff5fce41158b0f05a2aec9a24 100644
--- a/LayoutTests/fast/dom/HTMLDialogElement/dialog-show-modal-expected.txt
+++ b/LayoutTests/fast/dom/HTMLDialogElement/dialog-show-modal-expected.txt
@@ -6,10 +6,10 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS computedStyle.getPropertyValue('display') is "none"
PASS computedStyle.getPropertyValue('display') is "block"
"If dialog already has an open attribute, then throw an InvalidStateError exception."
-PASS dialog.showModal(); threw exception Error: InvalidStateError: DOM Exception 11.
+PASS dialog.showModal(); threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS computedStyle.getPropertyValue('display') is "none"
"If dialog is not in a Document, then throw an InvalidStateError exception."
-PASS dialog.showModal(); threw exception Error: InvalidStateError: DOM Exception 11.
+PASS dialog.showModal(); threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS dialog.open is false
Although the document is not attached to any pages, showModal() should execute as normal.
PASS dialog.open is true

Powered by Google App Engine
This is Rietveld 408576698