Open Bug 1923547 Opened 2 years ago Updated 2 years ago

Extension API to Disable JIT Compilation

Categories

(Core :: JavaScript Engine: JIT, enhancement, P5)

Firefox 133
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: peseho3496, Unassigned)

References

(Blocks 2 open bugs)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0

Steps to reproduce:

Request for the addition of an API in the WebExtensions framework to allow developers to disable Just-In-Time (JIT) compilation for specific scripts or contexts. This feature would enable better control over performance and security for extensions that require precise execution environments, particularly for security-focused applications or for debugging purposes.

Actual results:

Currently, there is no such API available in the WebExtensions framework, limiting developers' ability to manage script execution environments effectively.

Expected results:

An API method (e.g., browser.runtime.disableJIT()) that allows developers to toggle JIT compilation on or off for their extension’s scripts, with appropriate documentation and usage guidelines.

The Bugbug bot thinks this bug should belong to the 'Core::JavaScript Engine: JIT' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → JavaScript Engine: JIT
Product: Firefox → Core
Blocks: sm-api
Severity: -- → N/A
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.