Closed Bug 1991658 Opened 4 months ago Closed 3 months ago

Add Origin Trial support for trusted types

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: fredw, Assigned: fredw)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: origin-trial-request)

Attachments

(1 obsolete file)

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 :)

Flags: needinfo?(emilio)

(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: nobody → fwang
Depends on: 1757935
  • Blocked on bug 1757935 (see Window.trustedTypes attribute).
  • Enable CSP parsing of trusted-types, require-trusted-types-for
    directives as well as trusted-types-eval source keyword but that
    shouldn't affect nothing but displayed console warnings.
Summary: Origin trial request: Trusted Types → Add Origin Trail support for trusted types
Summary: Add Origin Trail support for trusted types → Add Origin Trial support for trusted types

@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.

Flags: needinfo?(emilio)

I'll follow-up in bug 1757935.

Flags: needinfo?(emilio)

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.

Given bug 1992941 landed, do we still want an origin trial for TT?

Given bug 1757935, we should close this WONTFIX :-/

Status: NEW → RESOLVED
Closed: 3 months ago
Flags: needinfo?(fbraun)
Resolution: --- → WONTFIX

Should we? it's not unfixable

It's fixable, but we won't fix it? :-)

Attachment #9517392 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: