Origin Trials: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Add COEP: credentialless to list of active trials)
(Add PPA)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Origin trials are a way for websites to opt-in to experimental web platform features.
<span style="float:right">__TOC__</span>
 
<dfn>Mozilla Firefox Origin Trials</dfn> are a way for websites to opt-in to experimental web platform features.
They're similar to [Chrome's origin trials](https://developer.chrome.com/blog/origin-trials/).


== Current Trials ==
== Current Trials ==
Line 7: Line 6:
Currently active trials are:
Currently active trials are:


* [https://bugzilla.mozilla.org/show_bug.cgi?id=1768195 OffscreenCanvas]: Enables access to `OffscreenCanvas` on window and workers.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1778492 COEP: credentialless]: Enables the `credentialless` value for the `Cross-Origin-Embedder-Policy` header.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1778492 COEP: credentialless]: Enables the `credentialless` value for the `Cross-Origin-Embedder-Policy` header.
** COEP: credentialless is enabled in Firefox Desktop by default since Firefox 119, you only need to request an origin trial if you need it for Firefox Android.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1898047 Privacy Preserving Attribution]: See [https://groups.google.com/a/mozilla.org/g/dev-platform/c/D6GZiXW_Da8/m/RNX3usF5AAAJ intent to experiment].


== Requesting a trial for your website ==
== Requesting a trial for your website ==
Line 14: Line 15:
In order to request a trial please click here:
In order to request a trial please click here:


* [https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_ignored=0&bug_severity=--&bug_status=NEW&bug_type=task&cc=emilio%40crisal.io&cc=khudson%40mozilla.com&cf_a11y_review_project_flag=---&cf_fx_iteration=---&cf_fx_points=---&cf_has_regression_range=---&cf_performance=---&cf_status_firefox100=---&cf_status_firefox101=---&cf_status_firefox102=---&cf_status_firefox_esr91=---&cf_status_thunderbird_esr102=---&cf_status_thunderbird_esr91=---&cf_tracking_firefox100=---&cf_tracking_firefox101=---&cf_tracking_firefox102=---&cf_tracking_firefox_esr91=---&cf_tracking_firefox_relnote=---&cf_tracking_thunderbird_esr102=---&cf_tracking_thunderbird_esr91=---&cf_webcompat_priority=---&comment=%23%23%20Request%20form%0D%0A%0D%0A%20%2A%20Origin%20trial%20name%20%28e.g.%2C%20OffscreenCanvas%29%3A%0D%0A%20%2A%20Website%20%28e.g.%2C%20https%3A%2F%2Fmysite.com%29%3A%0D%0A%20%2A%20Requires%20subdomains%20%28yes%2Fno%29%3A%0D%0A%20%2A%20Suggested%20expiration%20date%20%28leave%20blank%20if%20you%20don%27t%20know%20%2F%20don%27t%20care%29%3A%0D%0A%0D%0A%23%23%20Additional%20details%0D%0A%0D%0A%28feel%20free%20to%20leave%20blank%29&component=DOM%3A%20Core%20%26%20HTML&contenttypemethod=list&contenttypeselection=text%2Fplain&defined_groups=1&filed_via=standard_form&flag_type-203=X&flag_type-37=X&flag_type-41=X&flag_type-607=X&flag_type-721=X&flag_type-737=X&flag_type-787=X&flag_type-799=X&flag_type-800=X&flag_type-803=X&flag_type-846=X&flag_type-855=X&flag_type-863=X&flag_type-864=X&flag_type-930=X&flag_type-936=X&flag_type-937=X&flag_type-947=X&flag_type-952=X&form_name=enter_bug&maketemplate=Remember%20values%20as%20bookmarkable%20template&needinfo_from=emilio%40crisal.io%2C%20&op_sys=Unspecified&priority=--&product=Core&rep_platform=Unspecified&short_desc=Origin%20trial%20request&status_whiteboard=origin-trial-request&target_milestone=---&version=unspecified Origin trial request].
* [https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_ignored=0&bug_severity=--&bug_status=NEW&bug_type=task&cc=emilio%40crisal.io&cf_a11y_review_project_flag=---&cf_fx_iteration=---&cf_fx_points=---&cf_has_regression_range=---&cf_performance=---&cf_status_firefox100=---&cf_status_firefox101=---&cf_status_firefox102=---&cf_status_firefox_esr91=---&cf_status_thunderbird_esr102=---&cf_status_thunderbird_esr91=---&cf_tracking_firefox100=---&cf_tracking_firefox101=---&cf_tracking_firefox102=---&cf_tracking_firefox_esr91=---&cf_tracking_firefox_relnote=---&cf_tracking_thunderbird_esr102=---&cf_tracking_thunderbird_esr91=---&cf_webcompat_priority=---&comment=%23%23%20Request%20form%0D%0A%0D%0A%20%2A%20Origin%20trial%20name%20%28e.g.%2C%20CoepCredentialless%29%3A%0D%0A%20%2A%20Website%20%28e.g.%2C%20https%3A%2F%2Fmysite.com%29%3A%0D%0A%20%2A%20Requires%20subdomains%20%28yes%2Fno%29%3A%0D%0A%20%2A%20Suggested%20expiration%20date%20%28leave%20blank%20if%20you%20don%27t%20know%20%2F%20don%27t%20care%29%3A%0D%0A%0D%0A%23%23%20Additional%20details%0D%0A%0D%0A%28feel%20free%20to%20leave%20blank%29&component=DOM%3A%20Core%20%26%20HTML&contenttypemethod=list&contenttypeselection=text%2Fplain&defined_groups=1&filed_via=standard_form&flag_type-203=X&flag_type-37=X&flag_type-41=X&flag_type-607=X&flag_type-721=X&flag_type-737=X&flag_type-787=X&flag_type-799=X&flag_type-800=X&flag_type-803=X&flag_type-846=X&flag_type-855=X&flag_type-863=X&flag_type-864=X&flag_type-930=X&flag_type-936=X&flag_type-937=X&flag_type-947=X&flag_type-952=X&form_name=enter_bug&maketemplate=Remember%20values%20as%20bookmarkable%20template&needinfo_from=emilio%40crisal.io%2C%20&op_sys=Unspecified&priority=--&product=Core&rep_platform=Unspecified&short_desc=Origin%20trial%20request&status_whiteboard=origin-trial-request&target_milestone=---&version=unspecified Origin trial request].


That will take you to Bugzilla with an already-prefilled template where you'd need to fill a few details (like trial name, website origin, whether subdomains should be included, and a suggested expiration date / other details if you know them). A token will be given to you in that bug.
That will take you to Bugzilla with an already-prefilled template where you'd need to fill a few details (like trial name, website origin, whether subdomains should be included, and a suggested expiration date / other details if you know them). A token will be given to you in that bug.
== Using the trial token ==
Once you get a reply with a token, you can use them by serving your page with the relevant header:
<pre>
origin-trial: your-token
</pre>
O with a meta tag:
<pre>
&lt;meta http-equiv="origin-trial" content="your-token">
</pre>
== Articles ==
Articles and blog posts about Origin Trials in general:
* 2020-10-28 Stephanie Stimac: [https://blog.stephaniestimac.com/posts/2020/10/what-the-heck-origin-trials/ What the heck is an Origin Trial?] <blockquote>Origin Trials are a way for developers to test and use experimental web platform features for a limited amount of time in exchange for feedback. Feedback is key in origin trials as browsers are granting developers access to ensure that the feature makes sense and is usable.</blockquote>
* ...
== Other Browsers Origin Trials ==
Documentation and lists of origin trials in other browsers:
* [https://developer.chrome.com/docs/web-platform/origin-trials Google Chrome Origin Trials]
** [https://github.com/GoogleChrome/OriginTrials/blob/gh-pages/explainer.md Chrome Origin Trials Motivation and Explainer]
** [https://github.com/GoogleChrome/OriginTrials/blob/gh-pages/developer-guide.md Origin Trials Guide for Web Developers]
** [https://web.dev/learn/pwa/experimental/#origin_trials Chrome Experimental Features: Origin Trials]
* [https://microsoftedge.github.io/MSEdgeExplainers/origin-trials/ Microsoft Edge Origin Trials]
** [https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/OriginTrialsGuide/explainer.md Microsoft Edge Origin Trials Guide]
** 2023-10-26 [https://learn.microsoft.com/en-us/microsoft-edge/origin-trials/ Use Origin Trials in Microsoft Edge]

Latest revision as of 15:21, 12 June 2024

Mozilla Firefox Origin Trials are a way for websites to opt-in to experimental web platform features.

Current Trials

Currently active trials are:

  • COEP: credentialless: Enables the `credentialless` value for the `Cross-Origin-Embedder-Policy` header.
    • COEP: credentialless is enabled in Firefox Desktop by default since Firefox 119, you only need to request an origin trial if you need it for Firefox Android.

Requesting a trial for your website

In order to request a trial please click here:

That will take you to Bugzilla with an already-prefilled template where you'd need to fill a few details (like trial name, website origin, whether subdomains should be included, and a suggested expiration date / other details if you know them). A token will be given to you in that bug.

Using the trial token

Once you get a reply with a token, you can use them by serving your page with the relevant header:

origin-trial: your-token

O with a meta tag:

<meta http-equiv="origin-trial" content="your-token">

Articles

Articles and blog posts about Origin Trials in general:

  • 2020-10-28 Stephanie Stimac: What the heck is an Origin Trial?

    Origin Trials are a way for developers to test and use experimental web platform features for a limited amount of time in exchange for feedback. Feedback is key in origin trials as browsers are granting developers access to ensure that the feature makes sense and is usable.

  • ...

Other Browsers Origin Trials

Documentation and lists of origin trials in other browsers: