Add Origin Trial support for trusted types
Categories
(Core :: DOM: Core & HTML, task)
Tracking
()
People
(Reporter: fredw, Assigned: fredw)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: origin-trial-request)
Attachments
(1 obsolete file)
| Comment hidden (obsolete) |
Comment 1•4 months ago
|
||
This form is to request a trial. To create a trial, you want to add the [Trial] attribute to WebIDL and so on. You shouldn't need me for that but if you get stuck or what not lmk :)
| Assignee | ||
Comment 2•4 months ago
|
||
(In reply to Emilio Cobos Álvarez [:emilio] from comment #1)
This form is to request a trial. To create a trial, you want to add the
[Trial]attribute to WebIDL and so on. You shouldn't need me for that but if you get stuck or what not lmk :)
Yes I was planning to do so...
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 3•4 months ago
|
||
- Blocked on bug 1757935 (see
Window.trustedTypesattribute). - Enable CSP parsing of
trusted-types,require-trusted-types-for
directives as well astrusted-types-evalsource keyword but that
shouldn't affect nothing but displayed console warnings.
Updated•4 months ago
|
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 4•4 months ago
|
||
@emilio: Requesting needinfo to you if you have an idea for the first TODO from the commit message (aka bug 1757935). As an alternative, I tested a bit and it seems we can still disable individual members of TrustedTypePolicyFactory so although window.trustedTypes would be defined when trial is off, it won't be possible to use this API.
I'll look at the second TODO tomorrow.
| Assignee | ||
Comment 6•4 months ago
|
||
As an alternative, I tested a bit and it seems we can still disable individual members of TrustedTypePolicyFactory so although window.trustedTypes would be defined when trial is off, it won't be possible to use this API.
Probably this is not a good solution as feature detection is likely to rely on window.trustedTypes. So I guess we really need to fix bug 1757935 first.
| Assignee | ||
Comment 7•3 months ago
|
||
Given bug 1992941 landed, do we still want an origin trial for TT?
Comment 8•3 months ago
|
||
Given bug 1757935, we should close this WONTFIX :-/
Comment 9•3 months ago
|
||
Should we? it's not unfixable
Comment 10•3 months ago
|
||
It's fixable, but we won't fix it? :-)
Updated•2 months ago
|