Closed
Bug 1410415
Opened 7 years ago
Closed 7 years ago
Set a sandboxName on the WebExtensions Content Script sandboxes
Categories
(WebExtensions :: General, enhancement, P3)
WebExtensions
General
Tracking
(firefox58 verified, firefox59 verified)
VERIFIED
FIXED
mozilla58
People
(Reporter: rpl, Assigned: rpl)
Details
Attachments
(2 files)
It would be nice to set the sandboxName on the Sandbox instances related to the WebExtensions Content Scripts (as we are already doing for the other sandboxes created by the WebExtensions internals, http://searchfox.org/mozilla-central/search?q=sandboxName&case=false®exp=false&path=components%2Fextensions). By setting an explicit sandboxName (e.g. something that includes "Content Script" and the extension id in it), these sandboxes will be more easily recognizable in the about:memory reports (to be fair the moz-extension url is already visible in the memory report because it is part of the sandbox principal, nevertheless including the extension.id would make it easier to recognize which is the extension that owns that moz-extension url).
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Priority: -- → P3
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8920567 -
Flags: review?(mixedpuppy)
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8920567 [details] Bug 1410415 - Set a sandboxName on the WebExtensions Content Script sandboxes. https://reviewboard.mozilla.org/r/191578/#review196844
Attachment #8920567 -
Flags: review?(mixedpuppy) → review+
Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/474d75b9420f Set a sandboxName on the WebExtensions Content Script sandboxes. r=mixedpuppy
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/474d75b9420f
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Updated•7 years ago
|
Keywords: dev-doc-needed
Updated•7 years ago
|
Keywords: dev-doc-needed
I can reproduce this issue on Firefox 57.0 (20171112125346) under Wind 7 64-bit. In the memory report the “[anonymous sandbox]” is displayed. This issue is verified as fixed on Firefox 59.0a1 (20171120222519) and Firefox 58.0b4 (20171115114231) under Wind 7 64-bit and Mac OS X 10.13. The “Content Script” followed by the id of the extension is displayed in the memory report. Please see the attached screenshots.
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•