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

Unified Diff: LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments-expected.txt

Issue 100963003: Use V8TRYCATCH_FOR_V8STRINGRESOURCE() macro instead of toCoreStringWithUndefinedOrNullCheck() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove toCoreString(v8::Handle<v8::Value> value) Created 7 years 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/Window/showModalDialog-invalid-arguments-expected.txt
diff --git a/LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments-expected.txt b/LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63eb1f51282ec6ab8f1bad1b203e906e7814b61b
--- /dev/null
+++ b/LayoutTests/fast/dom/Window/showModalDialog-invalid-arguments-expected.txt
@@ -0,0 +1,13 @@
+Checks that passing invalid strings to window.showModalDialog() is properly handled.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS newWindow = window.showModalDialog(nonConvertibleToString) threw exception Exception in toString().
+PASS newWindow is null
+PASS newWindow = window.showModalDialog('about:blank', '', nonConvertibleToString) threw exception Exception in toString().
+PASS newWindow is null
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698