Closed Bug 1972486 Opened 5 months ago Closed 5 months ago

WebGPU: release on stable on Windows πŸŽ‰

Categories

(Core :: Graphics: WebGPU, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox141 + fixed
firefox142 --- fixed

People

(Reporter: ErichDonGubler, Assigned: ErichDonGubler, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(3 files, 3 obsolete files)

No description provided.
Assignee: nobody → egubler
Status: NEW → ASSIGNED

(will require an addition to our 141 release notes)

Type: task → enhancement

BTW we still have known crashes in WPT, are they somehow okay to be ignored for now? Otherwise I wonder it should be a release blocker. https://searchfox.org/mozilla-central/search?q=expected%3A+CRASH&path=webgpu&case=true&regexp=false

And also, as I just pinged you in Matrix, do we want to ship webgpu for workers too here?

Flags: needinfo?(jimb)
Summary: WebGPU: ride the trains to stable πŸŽ‰ → WebGPU: ride the trains to stable on Windows πŸŽ‰

Look who is back!

Answering for Jim: Yes, we definitely want to ship support for all worker types minus service workers, which do not yet have CTS runs (see bug 1942431 and its dependencies).

Flags: needinfo?(jimb)

(In reply to Kagami Rosylight [:saschanaz] (they/them) from comment #4)

BTW we still have known crashes in WPT, are they somehow okay to be ignored for now? Otherwise I wonder it should be a release blocker. https://searchfox.org/mozilla-central/search?q=expected%3A+CRASH&path=webgpu&case=true&regexp=false

These are risks we've accepted for now with shipping. Our team is focusing on removing any CRASHes we think are dangerous to end users for the next iteration, with uplifts to Beta being our current plan. Most of these crashes are panics on conditions not being validated in earlier parts of the WebGPU API but which are standardized to be checked, but not exploitable. Some others are not panics, and we need a fast follow on these.

(In reply to Erich Gubler [:ErichDonGubler] (he/him) from comment #6)

Answering for Jim: Yes, we definitely want to ship support for all worker types minus service workers, which do not yet have CTS runs (see bug 1942431 and its dependencies).

minus service worker sounds like we need an extra pref, because the current pref covers all workers?

(In reply to Erich Gubler [:ErichDonGubler] (he/him) from comment #7)

These are risks we've accepted for now with shipping. Our team is focusing on removing any CRASHes we think are dangerous to end users for the next iteration, with uplifts to Beta being our current plan. Most of these crashes are panics on conditions not being validated in earlier parts of the WebGPU API but which are standardized to be checked, but not exploitable. Some others are not panics, and we need a fast follow on these.

I guess that decision is based on crash stats on beta/nightly, right?

Attachment #9495083 - Attachment description: Bug 1972486 - chore(webgpu): ride the trains to stable! πŸŽ‰ r=#webgpu-reviewers! → Bug 1972486 - chore(webgpu): enable on Windows by default r=#webgpu-reviewers!,#webidl!

:saschanaz: I'm moving conversation from here into D253924; let's keep things in one place, and not fragmented between two patches and this bug's feed. πŸ˜…

I guess that decision is based on crash stats on beta/nightly, right?

So far, yes!

I guess that decision is based on crash stats on beta/nightly, right?

My position on this is further explained in the patch.

Keywords: dev-doc-needed
Summary: WebGPU: ride the trains to stable on Windows πŸŽ‰ → WebGPU: release on stable on Windows πŸŽ‰
Attachment #9495820 - Attachment is obsolete: true
Keywords: leave-open
Pushed by egubler@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5b78b57d86b3 https://hg.mozilla.org/integration/autoland/rev/b4a18aa945d7 chore(webgpu)!: narrow `dom.webgpu.workers.enabled` to `….service-workers.enabled` r=webgpu-reviewers,saschanaz,jimb
Pushed by sstanca@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1444ad724640 https://hg.mozilla.org/integration/autoland/rev/2c8ead2b3d14 Revert "Bug 1972486 - chore(webgpu)!: narrow `dom.webgpu.workers.enabled` to `….service-workers.enabled` r=webgpu-reviewers,saschanaz,jimb" for causing mochitets failures in browser_aboutURLs.js.

Reverted this because it was causing mochitets failures in browser_aboutURLs.js.

  • Revert link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/components/contextualidentity/test/browser/browser_aboutURLs.js | A promise chain failed to handle a rejection: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref] - stack: refreshPage@chrome://global/content/aboutInference.js:609:20
Flags: needinfo?(egubler)
Flags: needinfo?(egubler)
Pushed by egubler@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a364f4fac9fc https://hg.mozilla.org/integration/autoland/rev/b42fff40af34 chore(webgpu)!: narrow `dom.webgpu.workers.enabled` to `….service-workers.enabled` r=webgpu-reviewers,saschanaz,jimb https://github.com/mozilla-firefox/firefox/commit/b805bf25d159 https://hg.mozilla.org/integration/autoland/rev/f540263c97a2 chore(webgpu): enable on Windows by default r=webgpu-reviewers,webidl,smaug,jimb

Next step: uplift to Beta! πŸ˜€

Attachment #9497878 - Flags: approval-mozilla-beta?

Make IDL available in all contexts. Limit adapters to content, dedicated
workers, and shared workers; basically everything but service workers,
which is blocked on bug 1942431.

Original Revision: https://phabricator.services.mozilla.com/D253924

Attachment #9497879 - Flags: approval-mozilla-beta?
Attachment #9497879 - Attachment description: Bug 1972486 - chore(webgpu): enable on Windows by default r=#webgpu-reviewers!,#webidl! → Bug 1972486 - chore(webgpu): release on stable with narrowed service worker pref. r=#webgpu-reviewers
Attachment #9497878 - Attachment is obsolete: true
Attachment #9497878 - Flags: approval-mozilla-beta?
Attachment #9497879 - Attachment description: Bug 1972486 - chore(webgpu): release on stable with narrowed service worker pref. r=#webgpu-reviewers → Bug 1972486 - chore(webgpu): release on stable on Windows with narrowed service worker pref. r=#webgpu-reviewers
Attachment #9498185 - Flags: approval-mozilla-beta?
Attachment #9498185 - Attachment is obsolete: true
Attachment #9498185 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined: WebGPU will not ship in Fx141
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: none
  • Risk associated with taking this patch: WebGPU is a new DOM API.
  • Explanation of risk level: low; it's been in Nightly for years
  • String changes made/needed: none
  • Is Android affected?: no
Attachment #9497879 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Keywords: leave-open
Flags: needinfo?(egubler)

Jim has stated in team meetings that he intends to be the one to write a release note for this.

Flags: needinfo?(egubler) → needinfo?(jimb)
Target Milestone: --- → 142 Branch

FF141 MDN work for this can be tracked in https://github.com/mdn/content/issues/40473

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

Attachment

General

Created:
Updated:
Size: