Bug 1500474 - Rename webcompat-reporter directory to report-site-issue r=florian,Pike
authorThomas Wisniewski <twisniewski@mozilla.com>
Tue, 23 Apr 2019 17:36:40 +0000
changeset 470520 ba4736a11504d19edc53805e38079349f4fb9744
parent 470519 9550416c06abcb24b583cecc7cc09220e3208318
child 470521 783efcde8dfbff4f9bef21fbc4e92abfe73f960d
push id35906
push useraciure@mozilla.com
push dateTue, 23 Apr 2019 22:14:56 +0000
treeherdermozilla-central@0ce3633f8b80 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian, Pike
bugs1500474
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1500474 - Rename webcompat-reporter directory to report-site-issue r=florian,Pike Differential Revision: https://phabricator.services.mozilla.com/D17890
browser/base/content/test/static/browser_all_files_referenced.js
browser/extensions/moz.build
browser/extensions/report-site-issue/.eslintrc.js
browser/extensions/report-site-issue/background.js
browser/extensions/report-site-issue/experimentalAPIs/aboutConfigPrefs.js
browser/extensions/report-site-issue/experimentalAPIs/aboutConfigPrefs.json
browser/extensions/report-site-issue/experimentalAPIs/browserInfo.js
browser/extensions/report-site-issue/experimentalAPIs/browserInfo.json
browser/extensions/report-site-issue/experimentalAPIs/l10n.js
browser/extensions/report-site-issue/experimentalAPIs/l10n.json
browser/extensions/report-site-issue/experimentalAPIs/pageActionExtras.js
browser/extensions/report-site-issue/experimentalAPIs/pageActionExtras.json
browser/extensions/report-site-issue/experimentalAPIs/tabExtras.js
browser/extensions/report-site-issue/experimentalAPIs/tabExtras.json
browser/extensions/report-site-issue/icons/lightbulb.svg
browser/extensions/report-site-issue/locales/en-US/webcompat.properties
browser/extensions/report-site-issue/locales/jar.mn
browser/extensions/report-site-issue/locales/moz.build
browser/extensions/report-site-issue/manifest.json
browser/extensions/report-site-issue/moz.build
browser/extensions/report-site-issue/test/browser/.eslintrc.js
browser/extensions/report-site-issue/test/browser/browser.ini
browser/extensions/report-site-issue/test/browser/browser_button_state.js
browser/extensions/report-site-issue/test/browser/browser_disabled_cleanup.js
browser/extensions/report-site-issue/test/browser/browser_report_site_issue.js
browser/extensions/report-site-issue/test/browser/fastclick1.html
browser/extensions/report-site-issue/test/browser/fastclick2.html
browser/extensions/report-site-issue/test/browser/head.js
browser/extensions/report-site-issue/test/browser/test.html
browser/extensions/report-site-issue/test/browser/webcompat.html
browser/extensions/webcompat-reporter/.eslintrc.js
browser/extensions/webcompat-reporter/background.js
browser/extensions/webcompat-reporter/experimentalAPIs/aboutConfigPrefs.js
browser/extensions/webcompat-reporter/experimentalAPIs/aboutConfigPrefs.json
browser/extensions/webcompat-reporter/experimentalAPIs/browserInfo.js
browser/extensions/webcompat-reporter/experimentalAPIs/browserInfo.json
browser/extensions/webcompat-reporter/experimentalAPIs/l10n.js
browser/extensions/webcompat-reporter/experimentalAPIs/l10n.json
browser/extensions/webcompat-reporter/experimentalAPIs/pageActionExtras.js
browser/extensions/webcompat-reporter/experimentalAPIs/pageActionExtras.json
browser/extensions/webcompat-reporter/experimentalAPIs/tabExtras.js
browser/extensions/webcompat-reporter/experimentalAPIs/tabExtras.json
browser/extensions/webcompat-reporter/icons/lightbulb.svg
browser/extensions/webcompat-reporter/locales/en-US/webcompat.properties
browser/extensions/webcompat-reporter/locales/jar.mn
browser/extensions/webcompat-reporter/locales/moz.build
browser/extensions/webcompat-reporter/manifest.json
browser/extensions/webcompat-reporter/moz.build
browser/extensions/webcompat-reporter/test/browser/browser.ini
browser/extensions/webcompat-reporter/test/browser/browser_button_state.js
browser/extensions/webcompat-reporter/test/browser/browser_disabled_cleanup.js
browser/extensions/webcompat-reporter/test/browser/browser_report_site_issue.js
browser/extensions/webcompat-reporter/test/browser/fastclick1.html
browser/extensions/webcompat-reporter/test/browser/fastclick2.html
browser/extensions/webcompat-reporter/test/browser/head.js
browser/extensions/webcompat-reporter/test/browser/test.html
browser/extensions/webcompat-reporter/test/browser/webcompat.html
browser/locales/Makefile.in
browser/locales/filter.py
browser/locales/l10n.ini
browser/locales/l10n.toml
testing/runtimes/mochitest-browser-chrome-e10s.runtimes.json
tools/lint/codespell.yml
--- a/browser/base/content/test/static/browser_all_files_referenced.js
+++ b/browser/base/content/test/static/browser_all_files_referenced.js
@@ -274,18 +274,18 @@ function parseManifest(manifestUri) {
     for (let line of data.split("\n")) {
       let [type, ...argv] = line.split(/\s+/);
       if (type == "content" || type == "skin" || type == "locale") {
         let chromeUri = `chrome://${argv[0]}/${type}/`;
         // The webcompat reporter's locale directory may not exist if
         // the addon is preffed-off, and since it's a hack until we
         // get bz1425104 landed, we'll just skip it for now.
         // Same issue with fxmonitor, which is also pref'd off.
-        if (chromeUri === "chrome://webcompat-reporter/locale/") {
-          gChromeMap.set("chrome://webcompat-reporter/locale/", true);
+        if (chromeUri === "chrome://report-site-issue/locale/") {
+          gChromeMap.set("chrome://report-site-issue/locale/", true);
         } else if (chromeUri === "chrome://fxmonitor/locale/") {
           gChromeMap.set("chrome://fxmonitor/locale/", true);
         } else {
           trackChromeUri(chromeUri);
         }
       } else if (type == "override" || type == "overlay") {
         // Overlays aren't really overrides, but behave the same in
         // that the overlay is only referenced if the original xul
--- a/browser/extensions/moz.build
+++ b/browser/extensions/moz.build
@@ -5,10 +5,10 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 DIRS += [
     'formautofill',
     'fxmonitor',
     'pdfjs',
     'screenshots',
     'webcompat',
-    'webcompat-reporter'
+    'report-site-issue'
 ]
rename from browser/extensions/webcompat-reporter/.eslintrc.js
rename to browser/extensions/report-site-issue/.eslintrc.js
rename from browser/extensions/webcompat-reporter/background.js
rename to browser/extensions/report-site-issue/background.js
rename from browser/extensions/webcompat-reporter/experimentalAPIs/aboutConfigPrefs.js
rename to browser/extensions/report-site-issue/experimentalAPIs/aboutConfigPrefs.js
rename from browser/extensions/webcompat-reporter/experimentalAPIs/aboutConfigPrefs.json
rename to browser/extensions/report-site-issue/experimentalAPIs/aboutConfigPrefs.json
rename from browser/extensions/webcompat-reporter/experimentalAPIs/browserInfo.js
rename to browser/extensions/report-site-issue/experimentalAPIs/browserInfo.js
rename from browser/extensions/webcompat-reporter/experimentalAPIs/browserInfo.json
rename to browser/extensions/report-site-issue/experimentalAPIs/browserInfo.json
rename from browser/extensions/webcompat-reporter/experimentalAPIs/l10n.js
rename to browser/extensions/report-site-issue/experimentalAPIs/l10n.js
rename from browser/extensions/webcompat-reporter/experimentalAPIs/l10n.json
rename to browser/extensions/report-site-issue/experimentalAPIs/l10n.json
rename from browser/extensions/webcompat-reporter/experimentalAPIs/pageActionExtras.js
rename to browser/extensions/report-site-issue/experimentalAPIs/pageActionExtras.js
rename from browser/extensions/webcompat-reporter/experimentalAPIs/pageActionExtras.json
rename to browser/extensions/report-site-issue/experimentalAPIs/pageActionExtras.json
rename from browser/extensions/webcompat-reporter/experimentalAPIs/tabExtras.js
rename to browser/extensions/report-site-issue/experimentalAPIs/tabExtras.js
rename from browser/extensions/webcompat-reporter/experimentalAPIs/tabExtras.json
rename to browser/extensions/report-site-issue/experimentalAPIs/tabExtras.json
rename from browser/extensions/webcompat-reporter/icons/lightbulb.svg
rename to browser/extensions/report-site-issue/icons/lightbulb.svg
rename from browser/extensions/webcompat-reporter/locales/en-US/webcompat.properties
rename to browser/extensions/report-site-issue/locales/en-US/webcompat.properties
rename from browser/extensions/webcompat-reporter/locales/jar.mn
rename to browser/extensions/report-site-issue/locales/jar.mn
rename from browser/extensions/webcompat-reporter/locales/moz.build
rename to browser/extensions/report-site-issue/locales/moz.build
rename from browser/extensions/webcompat-reporter/manifest.json
rename to browser/extensions/report-site-issue/manifest.json
rename from browser/extensions/webcompat-reporter/moz.build
rename to browser/extensions/report-site-issue/moz.build
new file mode 100644
--- /dev/null
+++ b/browser/extensions/report-site-issue/test/browser/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/browser-test"
+  ]
+};
rename from browser/extensions/webcompat-reporter/test/browser/browser.ini
rename to browser/extensions/report-site-issue/test/browser/browser.ini
rename from browser/extensions/webcompat-reporter/test/browser/browser_button_state.js
rename to browser/extensions/report-site-issue/test/browser/browser_button_state.js
rename from browser/extensions/webcompat-reporter/test/browser/browser_disabled_cleanup.js
rename to browser/extensions/report-site-issue/test/browser/browser_disabled_cleanup.js
rename from browser/extensions/webcompat-reporter/test/browser/browser_report_site_issue.js
rename to browser/extensions/report-site-issue/test/browser/browser_report_site_issue.js
rename from browser/extensions/webcompat-reporter/test/browser/fastclick1.html
rename to browser/extensions/report-site-issue/test/browser/fastclick1.html
rename from browser/extensions/webcompat-reporter/test/browser/fastclick2.html
rename to browser/extensions/report-site-issue/test/browser/fastclick2.html
rename from browser/extensions/webcompat-reporter/test/browser/head.js
rename to browser/extensions/report-site-issue/test/browser/head.js
rename from browser/extensions/webcompat-reporter/test/browser/test.html
rename to browser/extensions/report-site-issue/test/browser/test.html
rename from browser/extensions/webcompat-reporter/test/browser/webcompat.html
rename to browser/extensions/report-site-issue/test/browser/webcompat.html
--- a/browser/locales/Makefile.in
+++ b/browser/locales/Makefile.in
@@ -57,17 +57,17 @@ libs-%:
 	$(NSINSTALL) -D $(DIST)/install
 	@$(MAKE) -C ../../toolkit/locales libs-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)'
 	@$(MAKE) -C ../../services/sync/locales AB_CD=$* XPI_NAME=locale-$*
 	@$(MAKE) -C ../../extensions/spellcheck/locales AB_CD=$* XPI_NAME=locale-$*
 ifneq (,$(wildcard ../extensions/formautofill/locales))
 	@$(MAKE) -C ../extensions/formautofill/locales AB_CD=$* XPI_NAME=locale-$*
 endif
 	@$(MAKE) -C ../extensions/fxmonitor/locales AB_CD=$* XPI_NAME=locale-$*
-	@$(MAKE) -C ../extensions/webcompat-reporter/locales AB_CD=$* XPI_NAME=locale-$*
+	@$(MAKE) -C ../extensions/report-site-issue/locales AB_CD=$* XPI_NAME=locale-$*
 	@$(MAKE) -C ../../devtools/client/locales AB_CD=$* XPI_NAME=locale-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)'
 	@$(MAKE) -C ../../devtools/startup/locales AB_CD=$* XPI_NAME=locale-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)'
 	@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=$(PREF_DIR)
 	@$(MAKE) multilocale.txt-$* AB_CD=$* XPI_NAME=locale-$*
 	@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$*
 
 chrome-%: AB_CD=$*
 chrome-%: IS_LANGUAGE_REPACK=1
@@ -79,17 +79,17 @@ chrome-%:
 ifneq (,$(wildcard ../extensions/formautofill/locales))
 	@$(MAKE) -C ../extensions/formautofill/locales chrome AB_CD=$*
 endif
 	@$(MAKE) -C ../extensions/fxmonitor/locales chrome AB_CD=$*
 	@$(MAKE) -C ../../devtools/client/locales chrome AB_CD=$*
 	@$(MAKE) -C ../../devtools/startup/locales chrome AB_CD=$*
 	@$(MAKE) chrome AB_CD=$*
 	@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales chrome AB_CD=$*
-	@$(MAKE) -C ../extensions/webcompat-reporter/locales chrome AB_CD=$*
+	@$(MAKE) -C ../extensions/report-site-issue/locales chrome AB_CD=$*
 
 package-win32-installer: $(SUBMAKEFILES)
 	$(MAKE) -C ../installer/windows CONFIG_DIR=l10ngen ZIP_IN='$(ZIP_OUT)' installer
 
 langpack: langpack-$(AB_CD)
 
 # This is a generic target that will make a langpack, repack ZIP (+tarball)
 # builds, and repack an installer if applicable. It is called from the
--- a/browser/locales/filter.py
+++ b/browser/locales/filter.py
@@ -6,17 +6,17 @@
 def test(mod, path, entity=None):
     import re
     # ignore anything but Firefox
     if mod not in ("netwerk", "dom", "toolkit", "security/manager",
                    "devtools/client", "devtools/shared", "devtools/startup",
                    "browser",
                    "browser/extensions/formautofill",
                    "browser/extensions/fxmonitor",
-                   "browser/extensions/webcompat-reporter",
+                   "browser/extensions/report-site-issue",
                    "extensions/spellcheck",
                    "other-licenses/branding/firefox",
                    "browser/branding/official",
                    "services/sync"):
         return "ignore"
     if mod not in ("browser", "extensions/spellcheck"):
         # we only have exceptions for browser and extensions/spellcheck
         return "error"
--- a/browser/locales/l10n.ini
+++ b/browser/locales/l10n.ini
@@ -9,17 +9,17 @@ all = browser/locales/all-locales
 [compare]
 dirs = browser
      other-licenses/branding/firefox
      browser/branding/official
      devtools/client
      devtools/startup
      browser/extensions/formautofill
      browser/extensions/fxmonitor
-     browser/extensions/webcompat-reporter
+     browser/extensions/report-site-issue
 
 [includes]
 # non-central apps might want to use %(topsrcdir)s here, or other vars
 # RFE: that needs to be supported by compare-locales, too, though
 toolkit = toolkit/locales/l10n.ini
 services_sync = services/sync/locales/l10n.ini
 
 [extras]
--- a/browser/locales/l10n.toml
+++ b/browser/locales/l10n.toml
@@ -126,16 +126,20 @@ locales = [
     reference = "browser/extensions/fxmonitor/locales/en-US/**"
     l10n = "{l}browser/extensions/fxmonitor/**"
 
 [[paths]]
     reference = "browser/extensions/webcompat-reporter/locales/en-US/**"
     l10n = "{l}browser/extensions/webcompat-reporter/**"
 
 [[paths]]
+    reference = "browser/extensions/report-site-issue/locales/en-US/**"
+    l10n = "{l}browser/extensions/report-site-issue/**"
+
+[[paths]]
     reference = "services/sync/locales/en-US/**"
     l10n = "{l}services/sync/**"
 
 
 [[includes]]
     path = "toolkit/locales/l10n.toml"
 
 [[includes]]
--- a/testing/runtimes/mochitest-browser-chrome-e10s.runtimes.json
+++ b/testing/runtimes/mochitest-browser-chrome-e10s.runtimes.json
@@ -779,17 +779,17 @@
     "browser/extensions/pdfjs/test/browser_pdfjs_main.js": 6022,
     "browser/extensions/pdfjs/test/browser_pdfjs_navigation.js": 6302,
     "browser/extensions/pdfjs/test/browser_pdfjs_views.js": 4247,
     "browser/extensions/pdfjs/test/browser_pdfjs_zoom.js": 6099,
     "browser/components/pocket/test/browser_pocket_ui_check.js": 3070,
     "browser/extensions/shield-recipe-client/test/browser/browser_AddonStudies.js": 5032,
     "browser/extensions/shield-recipe-client/test/browser/browser_Heartbeat.js": 4712,
     "browser/extensions/shield-recipe-client/test/browser/browser_about_studies.js": 7504,
-    "browser/extensions/webcompat-reporter/test/browser/browser_button_state.js": 5240,
+    "browser/extensions/report-site-issue/test/browser/browser_button_state.js": 5240,
     "browser/modules/test/browser/browser_BrowserUITelemetry_buckets.js": 4386,
     "browser/modules/test/browser/browser_ContentSearch.js": 5429,
     "browser/modules/test/browser/browser_PageActions.js": 8479,
     "browser/modules/test/browser/browser_PermissionUI.js": 7457,
     "browser/modules/test/browser/browser_PermissionUI_prompts.js": 3852,
     "browser/modules/test/browser/browser_SitePermissions_combinations.js": 3200,
     "browser/modules/test/browser/browser_SitePermissions_tab_urls.js": 15340,
     "browser/modules/test/browser/browser_UnsubmittedCrashHandler.js": 3056,
--- a/tools/lint/codespell.yml
+++ b/tools/lint/codespell.yml
@@ -2,17 +2,17 @@
 codespell:
     description: Check code for common misspellings
     include:
         - browser/base/content/docs/
         - browser/branding/
         - browser/components/newtab/docs/
         - browser/components/newtab/prerendered/locales/en-US/
         - browser/extensions/formautofill/locales/en-US/
-        - browser/extensions/webcompat-reporter/locales/en-US/
+        - browser/extensions/report-site-issue/locales/en-US/
         - browser/installer/windows/docs/
         - browser/locales/en-US/
         - build/docs/
         - devtools/client/locales/en-US/
         - devtools/docs/
         - devtools/shared/locales/en-US/
         - devtools/startup/locales/en-US/
         - dom/locales/en-US/