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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/html/dom/reflection-misc-expected.txt

Issue 2801243002: More tweaks to <script nonce> hiding. (Closed)
Patch Set: Moved tests. Created 3 years, 7 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: third_party/WebKit/LayoutTests/external/wpt/html/dom/reflection-misc-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/dom/reflection-misc-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/html/dom/reflection-misc-expected.txt
index b0375fc73200cc17beffc7e4a0596b5850673273..c2a21a47e3b9b0e00a65e3ca1ad17a46062bd7ff 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/html/dom/reflection-misc-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/html/dom/reflection-misc-expected.txt
@@ -20,37 +20,36 @@ PASS script.noModule: 33 tests
PASS script.charset: 32 tests
PASS script.defer: 33 tests
PASS script.crossOrigin: 52 tests
-PASS script.nonce: 2 tests
-FAIL script.nonce: setAttribute() to "" assert_equals: getAttribute() expected "" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " assert_equals: getAttribute() expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " but got "[Replaced]"
-FAIL script.nonce: setAttribute() to undefined assert_equals: getAttribute() expected "undefined" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to 7 assert_equals: getAttribute() expected "7" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to 1.5 assert_equals: getAttribute() expected "1.5" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to true assert_equals: getAttribute() expected "true" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to false assert_equals: getAttribute() expected "false" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to NaN assert_equals: getAttribute() expected "NaN" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to Infinity assert_equals: getAttribute() expected "Infinity" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to "\0" assert_equals: getAttribute() expected "\0" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to null assert_equals: getAttribute() expected "null" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "[Replaced]"
-FAIL script.nonce: setAttribute() to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "[Replaced]"
-FAIL script.nonce: IDL set to "" assert_equals: getAttribute() expected "" but got "[Replaced]"
-FAIL script.nonce: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " assert_equals: getAttribute() expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " but got "[Replaced]"
-FAIL script.nonce: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "[Replaced]"
-FAIL script.nonce: IDL set to 7 assert_equals: getAttribute() expected "7" but got "[Replaced]"
-FAIL script.nonce: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "[Replaced]"
-FAIL script.nonce: IDL set to true assert_equals: getAttribute() expected "true" but got "[Replaced]"
-FAIL script.nonce: IDL set to false assert_equals: getAttribute() expected "false" but got "[Replaced]"
-FAIL script.nonce: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "[Replaced]"
-FAIL script.nonce: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "[Replaced]"
-FAIL script.nonce: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "[Replaced]"
-FAIL script.nonce: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "[Replaced]"
-FAIL script.nonce: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "[Replaced]"
-FAIL script.nonce: IDL set to null assert_equals: getAttribute() expected "null" but got "[Replaced]"
-FAIL script.nonce: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "[Replaced]"
-FAIL script.nonce: IDL set to object "test-valueOf" assert_equals: getAttribute() expected "test-valueOf" but got "[Replaced]"
+PASS script.nonce: 3 tests
+FAIL script.nonce: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " assert_equals: IDL get expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " but got ""
+FAIL script.nonce: setAttribute() to undefined assert_equals: IDL get expected "undefined" but got ""
+FAIL script.nonce: setAttribute() to 7 assert_equals: IDL get expected "7" but got ""
+FAIL script.nonce: setAttribute() to 1.5 assert_equals: IDL get expected "1.5" but got ""
+FAIL script.nonce: setAttribute() to true assert_equals: IDL get expected "true" but got ""
+FAIL script.nonce: setAttribute() to false assert_equals: IDL get expected "false" but got ""
+FAIL script.nonce: setAttribute() to object "[object Object]" assert_equals: IDL get expected "[object Object]" but got ""
+FAIL script.nonce: setAttribute() to NaN assert_equals: IDL get expected "NaN" but got ""
+FAIL script.nonce: setAttribute() to Infinity assert_equals: IDL get expected "Infinity" but got ""
+FAIL script.nonce: setAttribute() to -Infinity assert_equals: IDL get expected "-Infinity" but got ""
+FAIL script.nonce: setAttribute() to "\0" assert_equals: IDL get expected "\0" but got ""
+FAIL script.nonce: setAttribute() to null assert_equals: IDL get expected "null" but got ""
+FAIL script.nonce: setAttribute() to object "test-toString" assert_equals: IDL get expected "test-toString" but got ""
+FAIL script.nonce: setAttribute() to object "test-valueOf" assert_equals: IDL get expected "test-valueOf" but got ""
+FAIL script.nonce: IDL set to "" assert_equals: getAttribute() expected "" but got "test-valueOf"
+FAIL script.nonce: IDL set to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " assert_equals: getAttribute() expected " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f foo " but got "test-valueOf"
+FAIL script.nonce: IDL set to undefined assert_equals: getAttribute() expected "undefined" but got "test-valueOf"
+FAIL script.nonce: IDL set to 7 assert_equals: getAttribute() expected "7" but got "test-valueOf"
+FAIL script.nonce: IDL set to 1.5 assert_equals: getAttribute() expected "1.5" but got "test-valueOf"
+FAIL script.nonce: IDL set to true assert_equals: getAttribute() expected "true" but got "test-valueOf"
+FAIL script.nonce: IDL set to false assert_equals: getAttribute() expected "false" but got "test-valueOf"
+FAIL script.nonce: IDL set to object "[object Object]" assert_equals: getAttribute() expected "[object Object]" but got "test-valueOf"
+FAIL script.nonce: IDL set to NaN assert_equals: getAttribute() expected "NaN" but got "test-valueOf"
+FAIL script.nonce: IDL set to Infinity assert_equals: getAttribute() expected "Infinity" but got "test-valueOf"
+FAIL script.nonce: IDL set to -Infinity assert_equals: getAttribute() expected "-Infinity" but got "test-valueOf"
+FAIL script.nonce: IDL set to "\0" assert_equals: getAttribute() expected "\0" but got "test-valueOf"
+FAIL script.nonce: IDL set to null assert_equals: getAttribute() expected "null" but got "test-valueOf"
+FAIL script.nonce: IDL set to object "test-toString" assert_equals: getAttribute() expected "test-toString" but got "test-valueOf"
+PASS script.nonce: IDL set to object "test-valueOf"
PASS script.integrity: 32 tests
PASS script.event: 32 tests
PASS script.htmlFor (<script for>): 32 tests

Powered by Google App Engine
This is Rietveld 408576698