Skip to content

Commit

Permalink
Bug 1022925 - Part 1: move addressReferences to addressmetadata folde…
Browse files Browse the repository at this point in the history
…r. r=lchang,scottwu

MozReview-Commit-ID: 4vRodOAyDdB

--HG--
rename : browser/extensions/formautofill/content/addressReferences.js => browser/extensions/formautofill/addressmetadata/addressReferences.js
extra : rebase_source : 69f1dd8be13d96da6209194aaa7c2d3bf53e3810
  • Loading branch information
steveck-chung committed Nov 10, 2017
1 parent 18d07a7 commit 84109f9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ var gExceptionPaths = [

// browser/extensions/pdfjs/content/build/pdf.js#1999
"resource://pdf.js/web/images/",

// Exclude all the metadata paths under the country metadata folder because these
// paths will be concatenated in FormAutofillUtils.jsm based on different country/region.
"resource://formautofill/addressmetadata/",
];

// These are not part of the omni.ja file, so we find them only when running
Expand Down
2 changes: 1 addition & 1 deletion browser/extensions/formautofill/FormAutofillUtils.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ this.EXPORTED_SYMBOLS = ["FormAutofillUtils"];

const {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;

const ADDRESS_REFERENCES = "chrome://formautofill/content/addressReferences.js";
const ADDRESS_REFERENCES = "resource://formautofill/addressmetadata/addressReferences.js";

// TODO: We only support US in MVP. We are going to support more countries in
// bug 1370193.
Expand Down
1 change: 1 addition & 0 deletions browser/extensions/formautofill/jar.mn
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
% resource formautofill %res/
res/ (*.jsm)
res/phonenumberutils/ (phonenumberutils/*.jsm)
res/addressmetadata/ (addressmetadata/*)

% content formautofill %content/
content/ (content/*)
Expand Down

0 comments on commit 84109f9

Please sign in to comment.