Commit Graph
51 Commits
Author SHA1 Message Date
Greg Mierzwinski 82a4c50614 Bug 1362816 - Prevent test_data_protocol_registration.js and test_no_remote_registration.js from overwriting previously registered factories. r=jmaher
This patch does two things. The first is that it fixes the two tests mentioned in the title by saving a previously registered XULAppInfoFactory, unregistering it, registering the new factory, and then at the end of the test re-registering the factory which was registered before the test started. The second thing this patch does is remove the skipping conditions for these two tests so we can run them on linux64-jsdcov.

MozReview-Commit-ID: 71c1nrYvx1M
2017-05-22 08:49:18 -04:00
Greg Mierzwinski 2d8ca3ac30 Bug 1348103 - Fix test_chrome_bookmarks.js error when collecting code coverage on linux64-jsdcov. r=Gijs
This patch first adds an argument to the 'do_get_file(...)' function call in 'test_chrome_bookmarks.js' that simply allows the 'chromefiles' folder to be non-existent if it does not exist. The 'CoverageUtils.jsm' file is then modified so that the import of 'osfile.jsm' does not interfere with any tests. So, it is now imported into the script after the test has completed. Two other tests have unwanted behaviour that cause code coverage collection to fail so they are also skipped through this patch.

MozReview-Commit-ID: H42HN1solkh
2017-04-29 10:47:24 -04:00
Zibi Braniecki 165d58b836 Bug 1347306 - Hand over language negotiation from ChromeRegistry to LocaleService. r=jfkthame
MozReview-Commit-ID: RIPZUHN4LW
2017-03-14 15:28:47 -07:00
Mark Banner 55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Florian Quèze 6459975a67 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Sebastian Hengst 41721013f3 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: chrome. r=RyanVM
MozReview-Commit-ID: Axd8PWgm4pl
2016-11-05 11:29:13 +01:00
Tooru Fujisawa 412ae0e2a1 Bug 1256088 - Merge mock app-info implementation into AppInfo.jsm. r=gps 2016-03-16 16:58:29 +09:00
Tooru Fujisawa e3bbfbd9e8 Bug 1217981 - Part 1: Remove for-each from chrome/. r=bsmedberg 2015-10-19 01:28:18 +09:00
Carsten "Tomcat" Book 036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book 12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo 474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa 27c546954d Bug 1207499 - Part 2: Remove use of expression closure from chrome/. r=bsmedberg 2015-09-21 02:35:31 +09:00
Shu-yu Guo 37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Jonathan Griffin d1881748c9 Bug 1136892 - Create an xpcshell-addons tag for running addon-specific xpcshell tests, r=chmanchester 2015-08-18 11:26:14 -07:00
Christoph Kerschbaumer 79da90f424 Bug 1147562 - Update remaining callsites of newChannel before landing the shim in chrome/ (r=bsmedberg) 2015-04-09 10:11:05 -07:00
Hiroyuki Ikezoe c95e381e21 Bug 1139254 - Use MockRegistrar in chrome. r=gps 2015-03-03 19:47:00 -05:00
Andrew Halberstadt 11b824f09b Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Mike Hommey 254e1b7a2d Bug 1072152 - Change chrome.manifest read order. r=bsmedberg
In case of multiple "resource" manifest entries for the same keyword, the
last registered one now takes precedence, like any other chrome manifest
entry.
2014-09-25 14:47:03 +09:00
Jim Blandy 39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Gregory Szorc 189afd1a65 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted 2013-09-24 11:50:08 -07:00
Axel Hecht 50ff3d6654 bug 848297, allow overrides of locales for packages, r=bsmedberg 2013-04-26 17:11:47 +02:00
Irving Reid 4ef32935ca Bug 557024: Mock out the locale service to make test reliable on non en-US systems. r=bsmedberg 2012-02-14 21:33:43 -05:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Hernan Rodriguez Colmeiro 6399fa13f3 Bug 564667: Allow bootstrapped add-ons to have chrome URLs. r=dtownsend, sr=bsmedberg 2011-07-29 11:20:47 +02:00
Joel Maher 39ca77fbd2 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Vivien Nicolas 9f60e55a03 Bug 597296 - Chrome registry selected locale should not changed immediatly [r=bsmedberg,glandium, a=blocking-fennec] 2010-11-30 15:02:23 +01:00
Ehsan Akhgari 5461d4365f Followup of the backout of bug 542999, fix an incorrect merge conflict resolution 2010-11-29 22:27:46 -05:00
Ehsan Akhgari 1c7f6a9536 Merge backout of bug 542999 2010-11-29 20:50:32 -05:00
Ehsan Akhgari 083d54e49b Backed out changeset 78d7e307a632 (bug 542999) because the patch doesn't solve the problem, and the test is broken 2010-11-29 20:40:42 -05:00
Mike Hommey f8106fa690 Bug 542999 - Setting general.useragent.locale in user profile should override any intl.locale.matchOS setting. r=bsmedberg 2010-02-22 12:42:38 +13:00
Vivien Nicolas e6a77c6cc0 Bug 519468: matchOS is read from default prefs at startup [r=benjamin] 2009-11-02 13:04:45 -05:00
Ted Mielczarek 31c7dc8591 bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo 2009-03-21 11:20:00 -04:00
Shawn Wilsher 0854689264 Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
Shawn Wilsher d1d70a25ca Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher 58d8f8d85c Bug 466582 - smarter handling of remote chrome (and not allowing it)
r=bsmedberg, r=bz, sr=bz
2008-12-08 17:14:14 -05:00
Justin Dolske d70dfebacc bug 580508 - fix test_resolve_uris.js test. r=mossop 2010-08-03 16:26:27 +12:00
Mark Banner 42439a7a24 Make test_resolve_uris.js account for non-libxul configurations where app-info isn't available and isn't needed. Agreed over irc with jdm. Test-only bustage fix. 2010-07-05 19:46:31 +01:00
Benjamin Smedberg c0b20a13c4 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg 468aa298a1 Support Windows line endings in manifest files again (regression introduced in revision 5229353383b0). With test! 2010-06-29 13:16:43 -04:00
Benjamin Smedberg 6bdeb8b9bc Bug 568691 - Add an ABI chrome registration modifier so that platform-specific directories can be implemented directly in chrome.manifest. 2010-06-27 15:13:04 -04:00
Benjamin Smedberg 4e43e54e39 Fix chrome registry test setup. 2010-06-25 20:53:20 -04:00
Oleg Romashin 93e412b1c9 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Josh Matthews e62521460f Bug 542907 - "e10s: Chrome registry should be unified between parent and child" [r=benjamin] 2010-03-11 18:33:00 +13:00
Serge Gautherie a5c77d4ff0 Bug 541671 - [SeaMonkey 2.1] xpcshell: test_bug519468.js fails; (Av1) Call checkForNewChrome(), s/TmpD/ProfD/.
r=benjamin.
2010-04-02 18:25:13 +02:00
5fa40dbfad Bug 292789 (the chrome registry part), add a contentaccessible flag for packages and expose it on nsIXULChromeRegistry, r=dtownsend sr=jst a=beltzner 2008-04-11 06:39:43 -07:00
7edb807d0c Bug 415367 - "ieTab extension not working due to use of ":" in chrome URIs" (adding test only) [[email protected] (Ehsan Akhgari [ehsan]) r+sr=dveditz] 2008-02-16 19:29:20 -08:00
ca87e4a109 Bug 401153: Provide resource:// substitutions for installed add-ons. r=bsmedberg, a=beltzner 2007-12-21 11:32:54 -08:00
0270b738ec Bug 403621 - "fix various ArrayEnumerator implementations" [[email protected] (Dão Gottwald) r=Mano a1.9=schrep] 2007-11-21 13:15:39 -08:00
9d585f91a3 Bug 397073 - "Allow runtime overrides by OS version for chrome" [p=Mossop r=bsmedberg a1.9=schrep] 2007-11-12 21:38:48 -08:00
4a2deb0ab3 Bug 399707 - "Add inverse matching for string flags" [p=Mossop r=bsmedberg a1.9=damons] 2007-11-12 21:32:09 -08:00