-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1925468 - Implement Trusted Type support for setAttribute/setAttr…
…ibuteNS. r=smaug See whatwg/dom#1268 https://w3c.github.io/trusted-types/dist/spec/#validate-attribute-mutation https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-data-for-attribute Differential Revision: https://phabricator.services.mozilla.com/D227943
- Loading branch information
Showing
11 changed files
with
203 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
testing/web-platform/meta/trusted-types/GlobalEventHandlers-onclick.html.ini
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html.ini
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
.../web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttribute.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,3 @@ | ||
[block-string-assignment-to-Element-setAttribute.html] | ||
[script.src accepts only TrustedScriptURL] | ||
expected: FAIL | ||
|
||
[iframe.srcdoc accepts only TrustedHTML] | ||
expected: FAIL | ||
|
||
[div.onclick accepts only TrustedScript] | ||
expected: FAIL | ||
|
||
[`Script.prototype.setAttribute.SrC = string` throws.] | ||
expected: FAIL | ||
|
||
[script.src's mutationobservers receive the default policy's value.] | ||
expected: FAIL | ||
|
||
[iframe.srcdoc's mutationobservers receive the default policy's value.] | ||
expected: FAIL | ||
|
||
[div.onclick's mutationobservers receive the default policy's value.] | ||
expected: FAIL | ||
|
||
[div.onclick accepts string and null after default policy was created.] | ||
expected: FAIL | ||
|
||
[`script.src = setAttributeNode(embed.src)` with string works.] | ||
expected: FAIL |
3 changes: 0 additions & 3 deletions
3
...eb-platform/meta/trusted-types/block-string-assignment-to-Element-setAttributeNS.html.ini
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.