Origin Trials: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Remove Kate's email.)
(Add PPA)
 
(3 intermediate revisions by 2 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 [https://developer.chrome.com/blog/origin-trials/ Chrome's origin trials].


== Current Trials ==
== Current Trials ==
Line 8: Line 7:


* [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 30: Line 32:
&lt;meta http-equiv="origin-trial" content="your-token">
&lt;meta http-equiv="origin-trial" content="your-token">
</pre>
</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: