Closed Bug 1479236 Opened 6 years ago Closed 6 years ago

Stop loading NetUtil.jsm in the content process

Categories

(Firefox :: General, enhancement)

57 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 63
Tracking Status
firefox63 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

NetUtil.jsm is large, and generally not especially useful. We should not be loading it in the content process.
Comment on attachment 8995761 [details]
Bug 1479236: Stop loading NetUtil.jsm in the content process.

https://reviewboard.mozilla.org/r/260124/#review267146
Attachment #8995761 - Flags: review?(dtownsend) → review+
https://hg.mozilla.org/mozilla-central/rev/0462ba95cb84
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
(In reply to Kris Maglione [:kmag] from comment #0)
> NetUtil.jsm is large, and generally not especially useful. We should not be
> loading it in the content process.

If we should not load it in the content process, it would be good to remove it from the whitelist at https://searchfox.org/mozilla-central/rev/033d45ca70ff32acf04286244644d19308c359d5/browser/base/content/test/performance/browser_startup_content.js#37

And it seems the test still thinks NetUtil.jsm is being loaded in content processes, or it would report an unused whitelist entry.
(In reply to Florian Quèze [:florian] from comment #5)
> (In reply to Kris Maglione [:kmag] from comment #0)
> > NetUtil.jsm is large, and generally not especially useful. We should not be
> > loading it in the content process.
> 
> If we should not load it in the content process, it would be good to remove
> it from the whitelist at
> https://searchfox.org/mozilla-central/rev/
> 033d45ca70ff32acf04286244644d19308c359d5/browser/base/content/test/
> performance/browser_startup_content.js#37
> 
> And it seems the test still thinks NetUtil.jsm is being loaded in content
> processes, or it would report an unused whitelist entry.

See bug 1479235.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: