mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
008a6c80f9
Changes ExtensionProtocolHandler to use remote streams for moz-extension loads of file and JAR URI's to allow for filesystem read-access sandboxing. Adds messaging to PNecko to allow child processes to request an input stream or file descriptor for moz-extension URI's. Add ExtensionProtocolHandler singleton so that NeckoParent can call methods directly and ExtensionProtocolHandler::NewFD can use a new member variable |mFileOpenerThread| to open files. Adds FileDescriptorFile, a limited implementation of nsIFile that wraps a file descriptor, to be sideloaded into nsJARChannels so that extension JAR files can be read using a file descriptor without accessing the filesystem directly. MozReview-Commit-ID: 1pcnIpjz2yR --HG-- extra : rebase_source : c3f2ede3dbfb29d98af6b194dbe58669d93d4197 |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libbz2 | ||
libjar | ||
libmar | ||
libpref | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |