Bug 1691821 - [1.c.3] Rename autofill paths to use the new toolkit component. r=zbraniecki,dimi

Differential Revision: https://phabricator.services.mozilla.com/D108058
This commit is contained in:
Eugen Sawin 2021-04-12 17:33:16 +00:00
Родитель a4f82a3dc6
Коммит b0aad68d81
55 изменённых файлов: 92 добавлений и 92 удалений

Просмотреть файл

@ -11,17 +11,17 @@ const CACHED_STYLESHEETS = new WeakMap();
ChromeUtils.defineModuleGetter(
this,
"FormAutofill",
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillStatus",
"resource://formautofill/FormAutofillParent.jsm"
"resource://autofill/FormAutofillParent.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillParent",
"resource://formautofill/FormAutofillParent.jsm"
"resource://autofill/FormAutofillParent.jsm"
);
ChromeUtils.defineModuleGetter(
this,
@ -181,10 +181,10 @@ this.formautofill = class extends ExtensionAPI {
ChromeUtils.registerWindowActor("FormAutofill", {
parent: {
moduleURI: "resource://formautofill/FormAutofillParent.jsm",
moduleURI: "resource://autofill/FormAutofillParent.jsm",
},
child: {
moduleURI: "resource://formautofill/FormAutofillChild.jsm",
moduleURI: "resource://autofill/FormAutofillChild.jsm",
events: {
focusin: {},
DOMFormBeforeSubmit: {},

Просмотреть файл

@ -266,7 +266,7 @@
_onCollapse() {
if (this.showWarningText) {
let { FormAutofillParent } = ChromeUtils.import(
"resource://formautofill/FormAutofillParent.jsm"
"resource://autofill/FormAutofillParent.jsm"
);
FormAutofillParent.removeMessageObserver(this);
}
@ -308,7 +308,7 @@
if (this.showWarningText) {
let { FormAutofillParent } = ChromeUtils.import(
"resource://formautofill/FormAutofillParent.jsm"
"resource://autofill/FormAutofillParent.jsm"
);
FormAutofillParent.addMessageObserver(this);
this.updateWarningNote();

Просмотреть файл

@ -9,14 +9,14 @@
// eslint-disable-next-line no-unused-vars
const { FormAutofill } = ChromeUtils.import(
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
ChromeUtils.defineModuleGetter(
this,
"formAutofillStorage",
"resource://formautofill/FormAutofillStorage.jsm"
"resource://autofill/FormAutofillStorage.jsm"
);
class AutofillEditDialog {

Просмотреть файл

@ -11,7 +11,7 @@
*/
const { FormAutofillUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
const CONTENT_WIN = typeof window != "undefined" ? window : this;

Просмотреть файл

@ -18,7 +18,7 @@ const { XPCOMUtils } = ChromeUtils.import(
"resource://gre/modules/XPCOMUtils.jsm"
);
const { FormAutofill } = ChromeUtils.import(
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
ChromeUtils.defineModuleGetter(
@ -29,12 +29,12 @@ ChromeUtils.defineModuleGetter(
ChromeUtils.defineModuleGetter(
this,
"formAutofillStorage",
"resource://formautofill/FormAutofillStorage.jsm"
"resource://autofill/FormAutofillStorage.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillUtils",
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
ChromeUtils.defineModuleGetter(
this,

Просмотреть файл

@ -1,7 +1,7 @@
"use strict";
const { FormAutofillUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
XPCOMUtils.defineLazyModuleGetters(this, {

Просмотреть файл

@ -4,7 +4,7 @@
add_task(async function setup() {
let { formAutofillStorage } = ChromeUtils.import(
"resource://formautofill/FormAutofillStorage.jsm"
"resource://autofill/FormAutofillStorage.jsm"
);
await formAutofillStorage.initialize();
});
@ -348,7 +348,7 @@ add_task(async function test_editInvalidCreditCardNumber() {
// sourceSync: true, since saveCreditCard uses FormAutofillParent
// which doesn't expose this option.
let { formAutofillStorage } = ChromeUtils.import(
"resource://formautofill/FormAutofillStorage.jsm"
"resource://autofill/FormAutofillStorage.jsm"
);
await formAutofillStorage.initialize();
// Use `sourceSync: true` to bypass field normalization which will

Просмотреть файл

@ -200,7 +200,7 @@ async function focusAndWaitForFieldsIdentified(browserOrContext, selector) {
/* eslint no-shadow: ["error", { "allow": ["selector", "previouslyFocused", "previouslyIdentified"] }] */
const { FormAutofillParent } = ChromeUtils.import(
"resource://formautofill/FormAutofillParent.jsm"
"resource://autofill/FormAutofillParent.jsm"
);
// If the input is previously focused, no more notifications will be

Просмотреть файл

@ -10,7 +10,7 @@ let defaultTextColor;
let expectingPopup = null;
const { FormAutofillUtils } = SpecialPowers.Cu.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
async function sleep(ms = 500, reason = "Intentionally wait for UI ready") {

Просмотреть файл

@ -6,17 +6,17 @@
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
const { FormAutofill } = ChromeUtils.import(
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
const { FormAutofillUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
const { OSKeyStoreTestUtils } = ChromeUtils.import(
"resource://testing-common/OSKeyStoreTestUtils.jsm"
);
let { formAutofillStorage } = ChromeUtils.import(
"resource://formautofill/FormAutofillStorage.jsm"
"resource://autofill/FormAutofillStorage.jsm"
);
const {

Просмотреть файл

@ -34,7 +34,7 @@ add_task(async function test_DE_is_valid_testcase() {
],
});
let chromeScript = SpecialPowers.loadChromeScript(function test_country_data() {
const {AddressDataLoader} = ChromeUtils.import("resource://formautofill/FormAutofillUtils.jsm");
const {AddressDataLoader} = ChromeUtils.import("resource://autofill/FormAutofillUtils.jsm");
let data = AddressDataLoader.getData("DE");
/* global addMessageListener */
addMessageListener("CheckSubKeys", () => {

Просмотреть файл

@ -142,7 +142,7 @@ async function initProfileStorage(
collectionName = "addresses"
) {
let { FormAutofillStorage } = ChromeUtils.import(
"resource://formautofill/FormAutofillStorage.jsm",
"resource://autofill/FormAutofillStorage.jsm",
null
);
let path = getTempFile(fileName).path;
@ -209,10 +209,10 @@ var AddressDataLoader, FormAutofillUtils;
async function runHeuristicsTest(patterns, fixturePathPrefix) {
add_task(async function setup() {
({ FormAutofillHeuristics, LabelUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillHeuristics.jsm"
"resource://autofill/FormAutofillHeuristics.jsm"
));
({ AddressDataLoader, FormAutofillUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
));
});

Просмотреть файл

@ -129,7 +129,7 @@ const KNOWN_NAMES = {
add_task(async function setup() {
({ FormAutofillHeuristics } = ChromeUtils.import(
"resource://formautofill/FormAutofillHeuristics.jsm"
"resource://autofill/FormAutofillHeuristics.jsm"
));
});

Просмотреть файл

@ -8,7 +8,7 @@ let FormAutofillStatus;
add_task(async function setup() {
({ FormAutofillStatus } = ChromeUtils.import(
"resource://formautofill/FormAutofillParent.jsm"
"resource://autofill/FormAutofillParent.jsm"
));
});

Просмотреть файл

@ -18,7 +18,7 @@ const SUPPORT_COUNTRIES_TESTCASES = [
var AddressDataLoader, FormAutofillUtils;
add_task(async function setup() {
({ AddressDataLoader, FormAutofillUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
));
});

Просмотреть файл

@ -13,7 +13,7 @@ const { setTimeout, clearTimeout } = ChromeUtils.import(
var FormAutofillHandler, OSKeyStore;
add_task(async function setup() {
({ FormAutofillHandler } = ChromeUtils.import(
"resource://formautofill/FormAutofillHandler.jsm"
"resource://autofill/FormAutofillHandler.jsm"
));
({ OSKeyStore } = ChromeUtils.import(
"resource://gre/modules/OSKeyStore.jsm"

Просмотреть файл

@ -7,7 +7,7 @@
var FormAutofillHandler;
add_task(async function setup() {
({ FormAutofillHandler } = ChromeUtils.import(
"resource://formautofill/FormAutofillHandler.jsm"
"resource://autofill/FormAutofillHandler.jsm"
));
});

Просмотреть файл

@ -7,7 +7,7 @@
var FormAutofillHandler;
add_task(async function seutp() {
({ FormAutofillHandler } = ChromeUtils.import(
"resource://formautofill/FormAutofillHandler.jsm"
"resource://autofill/FormAutofillHandler.jsm"
));
});

Просмотреть файл

@ -16,7 +16,7 @@ const { CreditCard } = ChromeUtils.import(
let FormAutofillStorage;
add_task(async function setup() {
({ FormAutofillStorage } = ChromeUtils.import(
"resource://formautofill/FormAutofillStorage.jsm",
"resource://autofill/FormAutofillStorage.jsm",
null
));
});

Просмотреть файл

@ -3,7 +3,7 @@
var LabelUtils;
add_task(async function() {
({ LabelUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillHeuristics.jsm"
"resource://autofill/FormAutofillHeuristics.jsm"
));
});

Просмотреть файл

@ -3,7 +3,7 @@
var LabelUtils;
add_task(async function() {
({ LabelUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillHeuristics.jsm"
"resource://autofill/FormAutofillHeuristics.jsm"
));
});

Просмотреть файл

@ -7,7 +7,7 @@
var FormAutofillHandler;
add_task(async function() {
({ FormAutofillHandler } = ChromeUtils.import(
"resource://formautofill/FormAutofillHandler.jsm"
"resource://autofill/FormAutofillHandler.jsm"
));
});

Просмотреть файл

@ -3,7 +3,7 @@
var FormAutofillUtils;
add_task(async function() {
({ FormAutofillUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
));
});

Просмотреть файл

@ -3,7 +3,7 @@
var FormAutofillContent;
add_task(async function() {
({ FormAutofillContent } = ChromeUtils.import(
"resource://formautofill/FormAutofillContent.jsm"
"resource://autofill/FormAutofillContent.jsm"
));
});

Просмотреть файл

@ -3,7 +3,7 @@
var FormAutofillHeuristics, LabelUtils;
add_task(async function() {
({ FormAutofillHeuristics, LabelUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillHeuristics.jsm"
"resource://autofill/FormAutofillHeuristics.jsm"
));
});

Просмотреть файл

@ -12,7 +12,7 @@ let FormAutofillParent, FormAutofillStatus;
let OSKeyStore;
add_task(async function setup() {
({ FormAutofillParent, FormAutofillStatus } = ChromeUtils.import(
"resource://formautofill/FormAutofillParent.jsm"
"resource://autofill/FormAutofillParent.jsm"
));
({ OSKeyStore } = ChromeUtils.import(
"resource://gre/modules/OSKeyStore.jsm"

Просмотреть файл

@ -7,7 +7,7 @@
var FormAutofillNameUtils;
add_task(async function setup() {
({ FormAutofillNameUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillNameUtils.jsm"
"resource://autofill/FormAutofillNameUtils.jsm"
));
});

Просмотреть файл

@ -3,7 +3,7 @@
var FormAutofillUtils;
add_task(async function seutp() {
({ FormAutofillUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
));
});

Просмотреть файл

@ -57,7 +57,7 @@ let markedFieldId = [];
var FormAutofillContent;
add_task(async function setup() {
({ FormAutofillContent } = ChromeUtils.import(
"resource://formautofill/FormAutofillContent.jsm"
"resource://autofill/FormAutofillContent.jsm"
));
FormAutofillContent._markAsAutofillField = function(field) {

Просмотреть файл

@ -7,7 +7,7 @@
let FormAutofillStorage;
add_task(async function setup() {
({ FormAutofillStorage } = ChromeUtils.import(
"resource://formautofill/FormAutofillStorage.jsm",
"resource://autofill/FormAutofillStorage.jsm",
null
));
});

Просмотреть файл

@ -7,7 +7,7 @@
var FormAutofillNameUtils;
add_task(async function() {
({ FormAutofillNameUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillNameUtils.jsm"
"resource://autofill/FormAutofillNameUtils.jsm"
));
});

Просмотреть файл

@ -3,7 +3,7 @@
var FormAutofillContent;
add_task(async function setup() {
({ FormAutofillContent } = ChromeUtils.import(
"resource://formautofill/FormAutofillContent.jsm"
"resource://autofill/FormAutofillContent.jsm"
));
});

Просмотреть файл

@ -3,7 +3,7 @@
var FormAutofillUtils;
add_task(async function setup() {
({ FormAutofillUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
));
});

Просмотреть файл

@ -7,10 +7,10 @@
var PhoneNumber, PhoneNumberNormalizer;
add_task(async function setup() {
({ PhoneNumber } = ChromeUtils.import(
"resource://formautofill/phonenumberutils/PhoneNumber.jsm"
"resource://autofill/phonenumberutils/PhoneNumber.jsm"
));
({ PhoneNumberNormalizer } = ChromeUtils.import(
"resource://formautofill/phonenumberutils/PhoneNumberNormalizer.jsm"
"resource://autofill/phonenumberutils/PhoneNumberNormalizer.jsm"
));
});

Просмотреть файл

@ -3,7 +3,7 @@
var AddressResult, CreditCardResult;
add_task(async function setup() {
({ AddressResult, CreditCardResult } = ChromeUtils.import(
"resource://formautofill/ProfileAutoCompleteResult.jsm"
"resource://autofill/ProfileAutoCompleteResult.jsm"
));
});

Просмотреть файл

@ -8,7 +8,7 @@ let FormAutofillStatus;
add_task(async function setup() {
({ FormAutofillStatus } = ChromeUtils.import(
"resource://formautofill/FormAutofillParent.jsm"
"resource://autofill/FormAutofillParent.jsm"
));
});

Просмотреть файл

@ -7,7 +7,7 @@
let FormAutofillStorage;
add_task(async function setup() {
({ FormAutofillStorage } = ChromeUtils.import(
"resource://formautofill/FormAutofillStorage.jsm",
"resource://autofill/FormAutofillStorage.jsm",
null
));
});

Просмотреть файл

@ -7,7 +7,7 @@
let FormAutofillStorage;
add_task(async function setup() {
({ FormAutofillStorage } = ChromeUtils.import(
"resource://formautofill/FormAutofillStorage.jsm",
"resource://autofill/FormAutofillStorage.jsm",
null
));
});

Просмотреть файл

@ -20,7 +20,7 @@ add_task(async function() {
sanitizeStorageObject,
AutofillRecord,
AddressesEngine,
} = ChromeUtils.import("resource://formautofill/FormAutofillSync.jsm", null));
} = ChromeUtils.import("resource://autofill/FormAutofillSync.jsm", null));
});
Services.prefs.setCharPref("extensions.formautofill.loglevel", "Trace");

Просмотреть файл

@ -3,7 +3,7 @@
var FormAutofillUtils;
add_task(async function setup() {
({ FormAutofillUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
));
});

Просмотреть файл

@ -7,7 +7,7 @@
let FormAutofillStorage;
add_task(async function setup() {
({ FormAutofillStorage } = ChromeUtils.import(
"resource://formautofill/FormAutofillStorage.jsm",
"resource://autofill/FormAutofillStorage.jsm",
null
));
});

Просмотреть файл

@ -111,7 +111,7 @@ treat them as a single engine in practice.
As a result, only a shim is in the `services/sync/modules/engines/` directory,
while the actual logic is
`next to the storage implementation <https://searchfox.org/mozilla-central/source/browser/extensions/formautofill/FormAutofillSync.jsm>`_.
`next to the storage implementation <https://searchfox.org/mozilla-central/source/toolkit/components/formautofill/FormAutofillSync.jsm>`_.
This engine has a unique twist on the "mirror" concept described above -
whenever a change is made to a fields, the original value of the field is

Просмотреть файл

@ -15,17 +15,17 @@ ChromeUtils.defineModuleGetter(
ChromeUtils.defineModuleGetter(
this,
"FormAutofill",
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillContent",
"resource://formautofill/FormAutofillContent.jsm"
"resource://autofill/FormAutofillContent.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillUtils",
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
ChromeUtils.defineModuleGetter(
this,

Просмотреть файл

@ -22,7 +22,7 @@ const { XPCOMUtils } = ChromeUtils.import(
ChromeUtils.defineModuleGetter(
this,
"AddressResult",
"resource://formautofill/ProfileAutoCompleteResult.jsm"
"resource://autofill/ProfileAutoCompleteResult.jsm"
);
ChromeUtils.defineModuleGetter(
this,
@ -32,22 +32,22 @@ ChromeUtils.defineModuleGetter(
ChromeUtils.defineModuleGetter(
this,
"CreditCardResult",
"resource://formautofill/ProfileAutoCompleteResult.jsm"
"resource://autofill/ProfileAutoCompleteResult.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofill",
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillHandler",
"resource://formautofill/FormAutofillHandler.jsm"
"resource://autofill/FormAutofillHandler.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillUtils",
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
ChromeUtils.defineModuleGetter(
this,

Просмотреть файл

@ -16,10 +16,10 @@ const { AppConstants } = ChromeUtils.import(
);
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
const { FormAutofill } = ChromeUtils.import(
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
const { FormAutofillUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
this.log = null;

Просмотреть файл

@ -19,18 +19,18 @@ const { XPCOMUtils } = ChromeUtils.import(
"resource://gre/modules/XPCOMUtils.jsm"
);
const { FormAutofill } = ChromeUtils.import(
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillUtils",
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillHeuristics",
"resource://formautofill/FormAutofillHeuristics.jsm"
"resource://autofill/FormAutofillHeuristics.jsm"
);
ChromeUtils.defineModuleGetter(
this,

Просмотреть файл

@ -15,12 +15,12 @@ const { XPCOMUtils } = ChromeUtils.import(
"resource://gre/modules/XPCOMUtils.jsm"
);
const { FormAutofill } = ChromeUtils.import(
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillUtils",
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
XPCOMUtils.defineLazyModuleGetters(this, {
@ -1254,7 +1254,7 @@ this.FormAutofillHeuristics = {
XPCOMUtils.defineLazyGetter(FormAutofillHeuristics, "RULES", () => {
let sandbox = {};
const HEURISTICS_REGEXP = "chrome://formautofill/content/heuristicsRegexp.js";
const HEURISTICS_REGEXP = "resource://autofill/content/heuristicsRegexp.js";
Services.scriptloader.loadSubScript(HEURISTICS_REGEXP, sandbox);
return sandbox.HeuristicsRegExp.RULES;
});

Просмотреть файл

@ -37,16 +37,16 @@ const { XPCOMUtils } = ChromeUtils.import(
);
const { FormAutofill } = ChromeUtils.import(
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
XPCOMUtils.defineLazyModuleGetters(this, {
BrowserWindowTracker: "resource:///modules/BrowserWindowTracker.jsm",
CreditCard: "resource://gre/modules/CreditCard.jsm",
FormAutofillPreferences:
"resource://formautofill/FormAutofillPreferences.jsm",
FormAutofillDoorhanger: "resource://formautofill/FormAutofillDoorhanger.jsm",
FormAutofillUtils: "resource://formautofill/FormAutofillUtils.jsm",
"resource://autofill/FormAutofillPreferences.jsm",
FormAutofillDoorhanger: "resource://autofill/FormAutofillDoorhanger.jsm",
FormAutofillUtils: "resource://autofill/FormAutofillUtils.jsm",
OSKeyStore: "resource://gre/modules/OSKeyStore.jsm",
});
@ -262,7 +262,7 @@ let FormAutofillStatus = {
// Once storage is loaded we need to update saved field names and inform content processes.
XPCOMUtils.defineLazyGetter(this, "gFormAutofillStorage", () => {
let { formAutofillStorage } = ChromeUtils.import(
"resource://formautofill/FormAutofillStorage.jsm"
"resource://autofill/FormAutofillStorage.jsm"
);
log.debug("Loading formAutofillStorage");

Просмотреть файл

@ -20,10 +20,10 @@ const MANAGE_CREDITCARDS_URL =
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
const { FormAutofill } = ChromeUtils.import(
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
const { FormAutofillUtils } = ChromeUtils.import(
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
ChromeUtils.defineModuleGetter(
this,

Просмотреть файл

@ -135,7 +135,7 @@ const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
const { OS } = ChromeUtils.import("resource://gre/modules/osfile.jsm");
const { FormAutofill } = ChromeUtils.import(
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
ChromeUtils.defineModuleGetter(
@ -151,12 +151,12 @@ ChromeUtils.defineModuleGetter(
ChromeUtils.defineModuleGetter(
this,
"FormAutofillNameUtils",
"resource://formautofill/FormAutofillNameUtils.jsm"
"resource://autofill/FormAutofillNameUtils.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillUtils",
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
ChromeUtils.defineModuleGetter(
this,
@ -166,7 +166,7 @@ ChromeUtils.defineModuleGetter(
ChromeUtils.defineModuleGetter(
this,
"PhoneNumber",
"resource://formautofill/phonenumberutils/PhoneNumber.jsm"
"resource://autofill/phonenumberutils/PhoneNumber.jsm"
);
XPCOMUtils.defineLazyServiceGetter(

Просмотреть файл

@ -22,7 +22,7 @@ ChromeUtils.defineModuleGetter(this, "Log", "resource://gre/modules/Log.jsm");
ChromeUtils.defineModuleGetter(
this,
"formAutofillStorage",
"resource://formautofill/FormAutofillStorage.jsm"
"resource://autofill/FormAutofillStorage.jsm"
);
// A helper to sanitize address and creditcard records suitable for logging.

Просмотреть файл

@ -6,7 +6,7 @@
var EXPORTED_SYMBOLS = ["FormAutofillUtils", "AddressDataLoader"];
const ADDRESS_METADATA_PATH = "resource://formautofill/addressmetadata/";
const ADDRESS_METADATA_PATH = "resource://autofill/addressmetadata/";
const ADDRESS_REFERENCES = "addressReferences.js";
const ADDRESS_REFERENCES_EXT = "addressReferencesExt.js";
@ -61,7 +61,7 @@ const { XPCOMUtils } = ChromeUtils.import(
);
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
const { FormAutofill } = ChromeUtils.import(
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
XPCOMUtils.defineLazyModuleGetters(this, {
CreditCard: "resource://gre/modules/CreditCard.jsm",

Просмотреть файл

@ -10,12 +10,12 @@ const { XPCOMUtils } = ChromeUtils.import(
"resource://gre/modules/XPCOMUtils.jsm"
);
const { FormAutofill } = ChromeUtils.import(
"resource://formautofill/FormAutofill.jsm"
"resource://autofill/FormAutofill.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"FormAutofillUtils",
"resource://formautofill/FormAutofillUtils.jsm"
"resource://autofill/FormAutofillUtils.jsm"
);
ChromeUtils.defineModuleGetter(
this,

Просмотреть файл

@ -12,12 +12,12 @@ var EXPORTED_SYMBOLS = ["PhoneNumber"];
ChromeUtils.defineModuleGetter(
this,
"PHONE_NUMBER_META_DATA",
"resource://formautofill/phonenumberutils/PhoneNumberMetaData.jsm"
"resource://autofill/phonenumberutils/PhoneNumberMetaData.jsm"
);
ChromeUtils.defineModuleGetter(
this,
"PhoneNumberNormalizer",
"resource://formautofill/phonenumberutils/PhoneNumberNormalizer.jsm"
"resource://autofill/phonenumberutils/PhoneNumberNormalizer.jsm"
);
var PhoneNumber = (function(dataBase) {
const MAX_PHONE_NUMBER_LENGTH = 50;

Просмотреть файл

@ -3054,8 +3054,8 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
<p>This license applies to parts of the code in:</p>
<ul>
<li><code>browser/extensions/formautofill/content/heuristicsRegexp.js</code></li>
<li><code>browser/extensions/formautofill/FormAutofillHeuristics.jsm</code></li>
<li><code>browser/extensions/formautofill/FormAutofillNameUtils.jsm</code></li>
<li><code>toolkit/components/formautofill/FormAutofillHeuristics.jsm</code></li>
<li><code>toolkit/components/formautofill/FormAutofillNameUtils.jsm</code></li>
<li><code>editor/libeditor/EditorEventListener.cpp</code></li>
<li><code>mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/StrictModeContext.java</code></li>
<li><code>security/sandbox/</code></li>