Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions emrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ def create_emrun_safe_firefox_profile():
user_pref("javascript.options.wasm_memory64", true);
// Do not ask user consent to enable audio playback (0: Allow autoplay for all media)
user_pref("media.autoplay.default", 0);
// Enable JSPI support
user_pref("javascript.options.wasm_js_promise_integration", true);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this in the browser testing config? Are we not testing JSPI firefox today? Should we be? @brendandahl

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i.e. should we add this also to test/firefox_user.js?

Should we make a plan to merge these to two configs?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last I check it wasn't fully ready, but that's was several months ago. Maybe it's fine now?

''')
if emrun_options.private_browsing:
f.write('''
Expand Down
Loading