Closed Bug 1863335 Opened 11 months ago Closed 10 months ago

Remove the simd-detect-worker.js in favor of a simple validate call

Categories

(Firefox :: Translations, task, P3)

task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

Details

Attachments

(1 file)

It turns out we can just call WebAssembly.validate rather than instantiate a full wasm module. This removes the restriction that we need to do it in a worker, and the detect function becomes synchronous.

Comment on attachment 9362145 [details]
Bug 1863335 - Make the simd detection synchronous; r?nordzilla!

Revision D192701 was moved to bug 1815339. Setting attachment 9362145 [details] to obsolete.

Attachment #9362145 - Attachment is obsolete: true
Attachment #9362145 - Attachment is obsolete: false
Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3c461abf8e99 Make the simd detection synchronous; r=nordzilla,geckoview-reviewers,owlish,translations-reviewers
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: