0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2025-03-12 14:11:42 -05:00

Remove unnescessary ChromeUtils.import statements causing errors

See #2292
This commit is contained in:
Malte Jürgens 2025-03-05 21:14:53 +01:00
parent 1656ecd148
commit c41bc77f87
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3
2 changed files with 1 additions and 8 deletions

View file

@ -5,8 +5,7 @@
/* import-globals-from extensionControlled.js */
/* import-globals-from preferences.js */
var { AppConstants } = ChromeUtils.import( "resource://gre/modules/AppConstants.jsm");
XPCOMUtils.defineLazyGetter(this, "L10n", () => {
ChromeUtils.defineLazyGetter(this, "L10n", () => {
return new Localization([
"branding/brand.ftl",
"browser/preferences/preferences.ftl",

View file

@ -4,12 +4,6 @@
"use strict";
// Services = object with smart getters for common XPCOM services
var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
var { AppConstants } = ChromeUtils.import(
"resource://gre/modules/AppConstants.jsm"
);
async function init(aEvent) {
if (aEvent.target != document) {
return;