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

Unified Diff: third_party/WebKit/LayoutTests/css3/escape-dom-api-expected.txt

Issue 1498473004: CSS.escape('\0') should not throw. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: third_party/WebKit/LayoutTests/css3/escape-dom-api-expected.txt
diff --git a/third_party/WebKit/LayoutTests/css3/escape-dom-api-expected.txt b/third_party/WebKit/LayoutTests/css3/escape-dom-api-expected.txt
index 39bb8de7ef95882fefb55426dd1cd297feaaeba7..afe2f1faba82bf90260e53bb4014e762f791247d 100644
--- a/third_party/WebKit/LayoutTests/css3/escape-dom-api-expected.txt
+++ b/third_party/WebKit/LayoutTests/css3/escape-dom-api-expected.txt
@@ -3,10 +3,10 @@ Test window.CSS.escape()
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS CSS.escape('\0') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
-PASS CSS.escape('a\0') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
-PASS CSS.escape('\0b') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
-PASS CSS.escape('a\0b') threw exception InvalidCharacterError: Failed to execute 'escape' on 'CSS': The string contains an invalid character..
+PASS CSS.escape('\0') is "\\0 "
+PASS CSS.escape('a\0') is "a\\0 "
+PASS CSS.escape('\0b') is "\\0 b"
+PASS CSS.escape('a\0b') is "a\\0 b"
PASS CSS.escape() threw exception TypeError: Failed to execute 'escape' on 'CSS': 1 argument required, but only 0 present..
PASS CSS.escape(true) is "true"
PASS CSS.escape(false) is "false"

Powered by Google App Engine
This is Rietveld 408576698