Open
Bug 1401640
Opened 7 years ago
Updated 2 years ago
Do unpacked extension checks off the main thread
Categories
(WebExtensions :: Request Handling, enhancement, P3)
Tracking
(firefox57 affected)
NEW
Tracking | Status | |
---|---|---|
firefox57 | --- | affected |
People
(Reporter: haik, Assigned: haik)
Details
For unpacked developer extensions (i.e., when an extension developer loads an extension from a directory and not a JAR file) ExtensionProtocolHandler::NewStream() does some checks to make sure the moz-extension URI it loads on behalf of child processes resolves to a file within the directory. Specifically, it calls nsIFile::Normalize() and widget::WinUtils::ResolveJunctionPointsAndSymLinks() which would be better to do off the main thread. On Mac and Linux, nsIFile::Normalize() calls realpath(3). This code is also used for system extensions when Firefox is run from a developer repo (as in ./mach run.)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → haftandilian
Updated•7 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Product: Toolkit → WebExtensions
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•