Closed Bug 1870037 Opened 1 year ago Closed 1 year ago

Remove [SecureContext] from Gamepad

Categories

(Core :: DOM: Device Interfaces, defect, P3)

defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox120 --- wontfix
firefox121 --- wontfix
firefox122 --- wontfix
firefox123 --- wontfix
firefox124 --- wontfix
firefox125 --- fixed

People

(Reporter: mayankleoboy1, Assigned: saschanaz)

References

(Regression, )

Details

(Keywords: dev-doc-needed, regression)

Attachments

(1 file)

Uncaught RuntimeError: index out of bounds
createExportWrapper http://auburn.github.io/FastNoiseLite/:1
callMain http://auburn.github.io/FastNoiseLite/:1
A http://auburn.github.io/FastNoiseLite/:1
run http://auburn.github.io/FastNoiseLite/:1
line 1 > WebAssembly.instantiate:83209:1
<anonymous> http://auburn.github.io/FastNoiseLite/ line 1 > WebAssembly.instantiate:83209
<anonymous> http://auburn.github.io/FastNoiseLite/ line 1 > WebAssembly.instantiate:355877
<anonymous> http://auburn.github.io/FastNoiseLite/ line 1 > WebAssembly.instantiate:54966
createExportWrapper http://auburn.github.io/FastNoiseLite/:1
callMain http://auburn.github.io/FastNoiseLite/:1
A http://auburn.github.io/FastNoiseLite/:1
run http://auburn.github.io/FastNoiseLite/:1

This works for me on both Nightly and Release on Mac M1. Maybe x64 specific?

Fails for me on x86_64-linux, both with (wasm-) baseline and Ion.

I'm getting failures on my Mac M1, so I don't think it's x64 specific. Seems to be with both baseline and Ion for me as well.

Severity: -- → S2
Priority: -- → P1

The application still works in secure context: https://auburn.github.io/FastNoiseLite/

Via debugging you can see that navigator.getGamepads is requested in JS, and secure context is enforced by bug 1704005 (the commit from it in the regression range).

Component: JavaScript: WebAssembly → DOM: Device Interfaces
Keywords: regression
Regressed by: 1704005

Set release status flags based on info from the regressing bug 1704005

:marcos, since you are the author of the regressor, bug 1704005, could you take a look?

For more information, please visit BugBot documentation.

Changing to P3 -- Unfortunately, nothing in Gamepad (short of a security emergency) is getting P1 status anymore.

Priority: P1 → P3
Flags: needinfo?(marcos)

I'm going to WONTFIX because to my understanding this is "working exactly as intended" from bug 1704005. I'll comment there.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX

Actually, let me use this bug to revert our decision in bug 1704005.

Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Summary: Demo at http://auburn.github.io/FastNoiseLite/ does not run in Nightly → Remove [SecureContext] from Gamepad

please also raise this on the standard side.

Assignee: nobody → krosylight
Attachment #9378988 - Attachment description: WIP: Bug 1870037 - Remove [SecureContext] from Gamepads r=#dom-core! → Bug 1870037 - Remove [SecureContext] from Gamepads r=#dom-core
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2ffbf643b482 Remove [SecureContext] from Gamepads r=webidl,smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44678 for changes under testing/web-platform/tests
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Upstream PR merged by moz-wptsync-bot
Keywords: dev-doc-needed

The patch landed in nightly and beta is affected.
:saschanaz, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox124 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(krosylight)

I'll let it ride the train.

Flags: needinfo?(krosylight)
See Also: → 1591329
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: