Re-factor how the sandboxBundleSrc option is passed to PDFScriptingManager

Given that this option isn't used in the Firefox PDF Viewer, we can (ever so slightly) reduce the amount of code needed.
This commit is contained in:
Jonas Jenwald 2023-12-09 09:40:07 +01:00
parent 988d3a188f
commit 92c15a61f1
6 changed files with 12 additions and 28 deletions

View file

@ -402,7 +402,7 @@ class FirefoxExternalServices extends DefaultExternalServices {
return new L10n(localeProperties, document.l10n);
}
static createScripting(options) {
static createScripting() {
return FirefoxScripting;
}