Fail | TrustedHTML.fromLiteral is supported | assert_true: expected true got false at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:14:5)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:13:3
at Array.forEach (<anonymous>) Asserts runFail | assert_true(false)
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:14:5) |
|
Fail | TrustedHTML.fromLiteral: Basic string literal works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:18:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:17:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedHTML.fromLiteral: Empty string literal works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:24:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:23:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedHTML.fromLiteral: A very important emoji works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:30:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:29:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedHTML.fromLiteral: Multi-line string literal works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:36:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:35:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedHTML.fromLiteral: Bound method works. | Cannot read properties of undefined (reading 'bind')TypeError: Cannot read properties of undefined (reading 'bind')
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:44:34)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:43:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Pass | TrustedHTML.fromLiteral: String throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral("abc"); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:51:5) |
|
Pass | TrustedHTML.fromLiteral: null throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(null); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:57:5) |
|
Pass | TrustedHTML.fromLiteral: undefined throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(undefined); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:63:5) |
|
Pass | TrustedHTML.fromLiteral: Object throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral({}); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:69:5) |
|
Pass | TrustedHTML.fromLiteral: template literal with expression throws. | Asserts run |
Pass | TrustedHTML.fromLiteral: non-literal throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(["abc"]); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:81:5) |
|
Pass | TrustedHTML.fromLiteral: frozen non-literal throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(Object.freeze(["abc"])); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:87:5) |
|
Pass | TrustedHTML.fromLiteral: non-literal with param throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(["abc", "def"], "xxx"); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:93:5) |
|
Fail | TrustedScript.fromLiteral is supported | assert_true: expected true got false at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:14:5)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:13:3
at Array.forEach (<anonymous>) Asserts runFail | assert_true(false)
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:14:5) |
|
Fail | TrustedScript.fromLiteral: Basic string literal works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:18:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:17:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedScript.fromLiteral: Empty string literal works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:24:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:23:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedScript.fromLiteral: A very important emoji works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:30:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:29:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedScript.fromLiteral: Multi-line string literal works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:36:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:35:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedScript.fromLiteral: Bound method works. | Cannot read properties of undefined (reading 'bind')TypeError: Cannot read properties of undefined (reading 'bind')
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:44:34)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:43:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Pass | TrustedScript.fromLiteral: String throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral("abc"); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:51:5) |
|
Pass | TrustedScript.fromLiteral: null throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(null); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:57:5) |
|
Pass | TrustedScript.fromLiteral: undefined throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(undefined); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:63:5) |
|
Pass | TrustedScript.fromLiteral: Object throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral({}); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:69:5) |
|
Pass | TrustedScript.fromLiteral: template literal with expression throws. | Asserts run |
Pass | TrustedScript.fromLiteral: non-literal throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(["abc"]); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:81:5) |
|
Pass | TrustedScript.fromLiteral: frozen non-literal throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(Object.freeze(["abc"])); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:87:5) |
|
Pass | TrustedScript.fromLiteral: non-literal with param throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(["abc", "def"], "xxx"); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:93:5) |
|
Fail | TrustedScriptURL.fromLiteral is supported | assert_true: expected true got false at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:14:5)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:13:3
at Array.forEach (<anonymous>) Asserts runFail | assert_true(false)
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:14:5) |
|
Fail | TrustedScriptURL.fromLiteral: Basic string literal works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:18:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:17:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedScriptURL.fromLiteral: Empty string literal works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:24:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:23:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedScriptURL.fromLiteral: A very important emoji works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:30:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:29:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedScriptURL.fromLiteral: Multi-line string literal works. | type.fromLiteral is not a functionTypeError: type.fromLiteral is not a function
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:36:31)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:35:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Fail | TrustedScriptURL.fromLiteral: Bound method works. | Cannot read properties of undefined (reading 'bind')TypeError: Cannot read properties of undefined (reading 'bind')
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:44:34)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:43:3
at Array.forEach (<anonymous>)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:11:50 Asserts runNo asserts ran |
Pass | TrustedScriptURL.fromLiteral: String throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral("abc"); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:51:5) |
|
Pass | TrustedScriptURL.fromLiteral: null throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(null); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:57:5) |
|
Pass | TrustedScriptURL.fromLiteral: undefined throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(undefined); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:63:5) |
|
Pass | TrustedScriptURL.fromLiteral: Object throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral({}); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:69:5) |
|
Pass | TrustedScriptURL.fromLiteral: template literal with expression throws. | Asserts run |
Pass | TrustedScriptURL.fromLiteral: non-literal throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(["abc"]); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:81:5) |
|
Pass | TrustedScriptURL.fromLiteral: frozen non-literal throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(Object.freeze(["abc"])); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:87:5) |
|
Pass | TrustedScriptURL.fromLiteral: non-literal with param throws. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "_ => { type.fromLiteral(["abc", "def"], "xxx"); }")
at Test.<anonymous> ( /trusted-types/trusted-types-from-literal.tentative.html:93:5) |
|
Fail | TrustedHTML.fromLiteral: Normalization of value works. | Cannot read properties of undefined (reading 'bind')TypeError: Cannot read properties of undefined (reading 'bind')
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:103:39)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:102:1 Asserts runNo asserts ran |
Fail | TrustedScript.fromLiteral: No normalization of value occurs. | Cannot read properties of undefined (reading 'bind')TypeError: Cannot read properties of undefined (reading 'bind')
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:108:41)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:107:1 Asserts runNo asserts ran |
Fail | TrustedScriptURL.fromLiteral: No normalization of value occurs. | Cannot read properties of undefined (reading 'bind')TypeError: Cannot read properties of undefined (reading 'bind')
at Test.<anonymous> (https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:113:44)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/trusted-types/trusted-types-from-literal.tentative.html:112:1 Asserts runNo asserts ran |