Closed Bug 1622104 Opened 4 years ago Closed 4 years ago

content scripts are needlessly compiled on parent process

Categories

(WebExtensions :: General, defect, P2)

defect

Tracking

(firefox76 fixed)

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mixedpuppy, Assigned: mixedpuppy)

References

(Regressed 1 open bug)

Details

Attachments

(1 file)

As shown by some telemetry in nsContentSecurityUtils::ValidateScriptFilename, we are validating content script filenames from extensions in the parent process. Tracking this down, we are compiling scripts into the scriptcache, but since we don't load content scripts into the parent process, it's just needless work/memory/etc.

Pushed by scaraveo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ab46326057d4
prevent addon content script compilation in parent process r=zombie
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Regressions: 1639529
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: