Closed Bug 1786904 Opened 2 years ago Closed 2 years ago

Origin trial request

Categories

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

task

Tracking

()

RESOLVED FIXED

People

(Reporter: steiner.thomas, Unassigned)

Details

Request form

  • Origin trial name (e.g., OffscreenCanvas): OffscreenCanvas
  • Website (e.g., https://mysite.com): https://svgco.de/
  • Requires subdomains (yes/no): no
  • Suggested expiration date (leave blank if you don't know / don't care):

Additional details

(feel free to leave blank)

Flags: needinfo?(emilio)

We're shipping OffscreenCanvas in 105 (current beta, bug 1779009), so I chose the expiration based on the 106 release date (2022-10-18).

The token is:

A9fpGFtXlh5J++cpniZnF+mcpxdzXlY5ubM7aIl5o9kA4XOrw62slF5XC2rpcpHxlM8tP6D4gU5iYxKhmFC5I/4AAABNeyJvcmlnaW4iOiJodHRwczovL3N2Z2NvLmRlIiwiZmVhdHVyZSI6Ik9mZnNjcmVlbkNhbnZhcyIsImV4cGlyeSI6MTY2NjA3NjQwMH0=

You know how to use it since I see you have other tokens on the page, should work the same as in chrome, either header or <meta>. I just tested it just in case:

window.OffscreenCanvas // undefined
let meta = document.createElement("meta");
meta.httpEquiv = "origin-trial";
meta.content = "<token>";
document.head.appendChild(meta)
window.OffscreenCanvas // function()

Please report any performance / correctness / interop issues you find, or if you find issues with the origin trials too, of course :)

Thanks!

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(emilio)
Resolution: --- → FIXED

Thanks a lot, deployed successfully and tested live on https://svgco.de/.

———
Meta:
Unfortunately the app is still slow due to https://bugzilla.mozilla.org/show_bug.cgi?id=1755678, which causes posterization to not work at all. You can see this if you compare https://svgco.de/?debug with the red, green, and blue sliders all the way down to 1. On Chrome, you can see the posterized image having less colors. On Firefox (and Safari, where this is reported as https://bugs.webkit.org/show_bug.cgi?id=198416), you can see that the posterization doesn't work. You can also run the demo https://canvas-svg-filter.glitch.me directly.
———

You need to log in before you can comment on or make changes to this bug.