Open
Bug 1401372
Opened 7 years ago
Updated 8 months ago
Run extension API scripts in the shared module global
Categories
(WebExtensions :: General, enhancement, P3)
WebExtensions
General
Tracking
(firefox57 wontfix)
NEW
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: kmag, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [MemShrink:P2][overhead:?])
Currently, extension API scripts run in a dedicated Sandbox global (rather than the plain object contexts from a JSM that they used to run in), which means that they incur a lot of wrapper overhead when communicating with the rest of the framework. We need to update them to run in the context of a normal JSM scope instead. The main issue here is that those scripts are loaded using the ScriptPreloader, which currently only supports execution in the context of a global, not a non-syntactic scope. We need to update it to accept a non-syntactic scope, with awareness of existing JSM non-syntactic scopes, and possibly allow it to create a NSVO scope of its own.
Comment 1•7 years ago
|
||
You filed and assigned this bug, can you set priority and status-firefox57 flags please.
Updated•7 years ago
|
Flags: needinfo?(kmaglione+bmo)
Reporter | ||
Updated•7 years ago
|
Updated•6 years ago
|
Product: Toolkit → WebExtensions
Updated•5 years ago
|
Whiteboard: [MemShrink]
Updated•5 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P2][overhead:?]
![]() |
||
Updated•5 years ago
|
Priority: P2 → P3
Updated•2 years ago
|
Severity: normal → S3
Comment 2•8 months ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: kmaglione+bmo → nobody
You need to log in
before you can comment on or make changes to this bug.
Description
•