summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-01-18 13:17:41 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-01-18 13:17:41 -0500
commitc137a4045cbfcbd5a39f018b553089e0fd571d2c (patch)
treec72233c780f56fa4d53adc0a90f9bcb974120833 /python
parent63219a15b155aee142f316156b6578f027204129 (diff)
downloadUXP-c137a4045cbfcbd5a39f018b553089e0fd571d2c.tar
UXP-c137a4045cbfcbd5a39f018b553089e0fd571d2c.tar.gz
UXP-c137a4045cbfcbd5a39f018b553089e0fd571d2c.tar.lz
UXP-c137a4045cbfcbd5a39f018b553089e0fd571d2c.tar.xz
UXP-c137a4045cbfcbd5a39f018b553089e0fd571d2c.zip
Issue #1359 - Pointlessly rename greprefs.. again.
Diffstat (limited to 'python')
-rw-r--r--python/mozbuild/mozpack/packager/formats.py2
-rw-r--r--python/mozbuild/mozpack/test/test_packager_formats.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/python/mozbuild/mozpack/packager/formats.py b/python/mozbuild/mozpack/packager/formats.py
index c4adabab0..cedd1998b 100644
--- a/python/mozbuild/mozpack/packager/formats.py
+++ b/python/mozbuild/mozpack/packager/formats.py
@@ -318,7 +318,7 @@ class OmniJarSubFormatter(PiecemealFormatter):
path[1] in ['pref', 'preferences'])
return path[0] in [
'modules',
- 'greprefs.js',
+ 'goanna.js',
'hyphenation',
'update.locale',
] or path[0] in STARTUP_CACHE_PATHS
diff --git a/python/mozbuild/mozpack/test/test_packager_formats.py b/python/mozbuild/mozpack/test/test_packager_formats.py
index 1af4336b2..66a7cc8e6 100644
--- a/python/mozbuild/mozpack/test/test_packager_formats.py
+++ b/python/mozbuild/mozpack/test/test_packager_formats.py
@@ -405,13 +405,13 @@ class TestFormatters(unittest.TestCase):
self.assertFalse(
is_resource(base, 'defaults/preferences/channel-prefs.js'))
self.assertTrue(is_resource(base, 'modules/foo.jsm'))
- self.assertTrue(is_resource(base, 'greprefs.js'))
+ self.assertTrue(is_resource(base, 'goanna.js'))
self.assertTrue(is_resource(base, 'hyphenation/foo'))
self.assertTrue(is_resource(base, 'update.locale'))
self.assertTrue(
is_resource(base, 'jsloader/resource/gre/modules/foo.jsm'))
self.assertFalse(is_resource(base, 'foo'))
- self.assertFalse(is_resource(base, 'foo/bar/greprefs.js'))
+ self.assertFalse(is_resource(base, 'foo/bar/goanna.js'))
self.assertTrue(is_resource(base, 'defaults/messenger/foo.dat'))
self.assertFalse(
is_resource(base, 'defaults/messenger/mailViews.dat'))