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

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: Adding idl file changes 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
« no previous file with comments | « third_party/WebKit/LayoutTests/css3/escape-dom-api.html ('k') | third_party/WebKit/Source/core/css/CSS.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..943a2ee61ceebe076f8c933573cde62ac3fcc54b 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,14 @@ 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 "�"
+PASS CSS.escape('a\0') is "a�"
+PASS CSS.escape('\0b') is "�b"
+PASS CSS.escape('a\0b') is "a�b"
+PASS CSS.escape('�') is "�"
+PASS CSS.escape('a�') is "a�"
+PASS CSS.escape('�b') is "�b"
+PASS CSS.escape('a�b') is "a�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"
« no previous file with comments | « third_party/WebKit/LayoutTests/css3/escape-dom-api.html ('k') | third_party/WebKit/Source/core/css/CSS.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698