740e1ab450
If we only invoke the bootstrap-enabled script when PdfJs.enabled is true, then we don't need to check it again in the script. This avoids a sync IPC call to the parent process. It also keeps PdfJs.jsm from importing PdfjsContentUtils.jsm in the child process until it is actually needed, which is one steps towards not loading it until it is really needed. |
||
---|---|---|
.. | ||
chrome | ||
content | ||
tools | ||
.eslintrc | ||
.gitignore | ||
bootstrap.js | ||
chrome-mozcentral.manifest | ||
chrome.manifest | ||
icon64.png | ||
icon.png | ||
install.rdf | ||
README.mozilla | ||
update.rdf |
This is the pdf.js project output, https://github.com/mozilla/pdf.js Current extension version is: PDFJSSCRIPT_VERSION