Implement `TrustedTypePolicyFactory`'s `getAttributeType`
Categories
(Core :: DOM: Security, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox133 | --- | fixed |
People
(Reporter: mbrodesser, Assigned: fredw)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, Whiteboard: [domsecurity-backlog], [wptsync upstream])
Attachments
(4 files)
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
This overlaps a bit with the following tests:
TrustedTypePolicyFactory-getAttributeType-namespace.html
TrustedTypePolicyFactory-getAttributeType-svg.html
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
The spec is not really clear, for now add a tentative test with the
cases detected while implementing the method in Firefox. For details,
see https://github.com/w3c/trusted-types/issues/520
Updated•1 year ago
|
| Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Comment 5•1 year ago
|
||
Updated•1 year ago
|
https://hg.mozilla.org/mozilla-central/rev/d9c1c805ef2d
https://hg.mozilla.org/mozilla-central/rev/474afb5197ff
https://hg.mozilla.org/mozilla-central/rev/aba2bd9d817f
https://hg.mozilla.org/mozilla-central/rev/51f5ff4856dc
Comment 12•1 year ago
|
||
:fredw do you want to nominate this for a release note? (Process info)
| Assignee | ||
Comment 13•1 year ago
|
||
I think this is only a small method from the Trusted Types spec, so probably not worth nominating it.
| Reporter | ||
Comment 14•1 year ago
|
||
(In reply to Frédéric Wang (:fredw) from comment #13)
I think this is only a small method from the Trusted Types spec, so probably not worth nominating it.
Also be aware that the method is guarded by a default-disabled pref ([1], [2]).
[1] https://searchfox.org/mozilla-central/rev/783f3fca1dda58353f7d3075744dd48b66e00e5e/dom/webidl/TrustedTypes.webidl#47,55
[2] https://searchfox.org/mozilla-central/rev/783f3fca1dda58353f7d3075744dd48b66e00e5e/modules/libpref/init/StaticPrefList.yaml#3947,3949
| Assignee | ||
Comment 15•1 year ago
|
||
Right, but that does not seem to prevent a feature from being nominated:
If your feature is ready for testing on the nightly channel but is behind a feature flag and it isn't planned to ship on Beta/Release soon, please nominate it so that we can expose it to our nightly testers.
| Reporter | ||
Comment 16•1 year ago
|
||
(In reply to Frédéric Wang (:fredw) from comment #15)
Right, but that does not seem to prevent a feature from being nominated:
If your feature is ready for testing on the nightly channel but is behind a feature flag and it isn't planned to ship on Beta/Release soon, please nominate it so that we can expose it to our nightly testers.
Right.
Since support of many APIs with Trusted Types still has to be implemented, I suggest notifying Nightly testers later. Possibly when all APIs for non-Worker code are implemented. Or when another reasonably usable set of APIs is implemented.
Comment 17•11 months ago
|
||
FF133 MDN docs for this can be tracked in https://github.com/mdn/content/issues/36559. As this is very minimal implementation, mostly that is just a compatibility data update, and an experimental features doc section that just makes it clear that there is a lot more to come (essentially, a placeholder).
Description
•