Closed Bug 1755956 Opened 3 years ago Closed 3 years ago

Land initial boilerplate for origin trials.

Categories

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

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
No longer depends on: origin-trials

This patch imports and implements all the infrastructure for origin
trial tokens, minus the crypto stuff / token verification.

We still don't hook it anywhere. The intended setup for now would be to
have the OriginTrials object hanging off the Document (or global
perhaps, not sure yet). That has a self-descriptive API to enable trials
(UpdateFromToken), and check enabledness status (IsEnabled).

There are some tests in the origin-trial-token crate
(third_party/rust/origin-trial-token/tests.rs). No test for the DOM code
yet because this isn't hooked into yet.

Severity: -- → N/A
Type: defect → task
Priority: -- → P3
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/efb39765f1d4 Add initial boilerplate for origin trials. r=smaug,hsivonen
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/32cebc065a4d Use an absolute path to try to keep windows rusttest build happy.
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/f59730ec327f Really fix rusttests on windows, by using utf-8 to read Cargo.toml in RunCbindgen.py so it doesn't choke on my name.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: