Mark Banner
ec9074e132
Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
...
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01: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
Mark Banner
af190890fc
Bug 1331006 - [eslint] Define more globals, and add a rule to import test globals from SimpleTest/EventUtils. r=mossop
...
MozReview-Commit-ID: 5ifWLAa8wG2
2017-01-12 10:24:10 +00:00
Jared Wein
242ab87626
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Sebastian Hengst
6cf65ed900
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: toolkit. r=RyanVM
...
MozReview-Commit-ID: I5LuDjnM7By
2016-11-05 11:29:22 +01:00
Mark Banner
233309fbe2
Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
...
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Kashyap Gajera
d2e13ffd80
Bug 1290701 - Replace in-tree consumer of non-standard Iterator() with Object.{values,entries} in toolkit/. r=dtownsend
2016-08-03 11:53:10 +05:30
Jared Wein
4518d81cb5
Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
...
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Dave Townsend
a2ba043d69
Bug 1245649: Turn on no-trailing-spaces. r=Gijs
2016-02-03 14:22:33 -08:00
Dave Townsend
8dc7f59eb3
Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
2015-11-30 13:05:00 -08: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
Dave Townsend
f657500ff0
Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
...
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.
I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.
UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Wes Kocher
69b522405d
Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
...
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)
2015-09-22 11:02:55 -07:00
Dave Townsend
eef8701d19
Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
...
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.
I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.
UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Andrew Halberstadt
11b824f09b
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04: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
Asaf Romano
c1fd4b7552
Bug 981689 (Show a notice to beta users when we turn telemetry on by default on the beta channel) - For the new channel-override preference, use UpdateChannel.jsm rather than nsIXULRuntime so that it's easier to QA the feature by hacking install.js. As part of that, add a new argument to UpdateChannel.js for excluding partners. r=bsmbedberg.
2014-04-28 17:04:51 +03:00
Ekanan Ketunuti
2f0d5ca09d
Bug 828116 - Move modules in toolkit/content and toolkit/mozapps/shared to toolkit/modules. r=Mossop
2013-05-14 14:37:18 -07:00
Dave Townsend
34c2e45a17
Bug 793928: Switch users of the promise library to the new location and move tests files. r=gavin
2013-02-01 11:43:15 -08:00
Saurabh Anand
80d233c3ed
Bug 722995 - Part 1: Convert test_privatebrowsing_downloadLastDir.js, test_privatebrowsing_downloadLastDir_c.js, test_DownloadLastDir.js, and test_DownloadLastDirWithCPS.js to mochitest. r=ehsan
2012-07-21 11:20:24 +05:30
Abhishek Potnis
4450b24137
Bug 727967 - Support conversion from/to JSON in Dict.jsm. r=gavin
2012-10-10 21:55:38 +05:30
Paolo Amadini
cd47fe6d20
Bug 763311 - Implement basic "Task.js" interfaces in Toolkit. r=Mossop
2012-08-20 13:51:44 +02:00
Ryan VanderMeulen
0645bb7f23
Backout 53d053772879, e68d8406541e, 1a18d1d71ddf, 705c22e17976, 73f73097fb1a, and 8b28f53415fe (bug 722995) due to frequent linux32 mochitest-other orange.
2012-07-21 14:29:50 -04:00
Saurabh Anand
7415366fd7
Bug 722995 - Part 2: Convert test_privatebrowsing_downloadLastDir_c.js to mochitest, r=ehsan
2012-07-21 11:21:30 +05:30
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Dão Gottwald
80556f539e
Bug 720984 - contentAreaUtils.js: getTargetFile leaks gDownloadLastDir into the global scope. r=gavin
2012-01-26 13:09:45 +01:00
Asaf Romano
15bce77beb
Reland Part 1 of Bug 710259 - Add a module for reading property list (plist) files (and add support for lazy-getters values in Dict.jsm). r=mak, sr=mossap for the new module. r=sid0 for the changes to Dict.jsm
2012-01-23 14:05:01 +02:00
Ed Morley
424d70ca5f
Backout 5ad0ee32f855 (bug 710259) for build failures on all platforms
2012-01-22 22:08:18 +00:00
Asaf Romano
ee22fb9778
Part 1 of Bug 710259 - Add a module for reading property list (plist) files (and add support for lazy-getters values in Dict.jsm). r=mak, sr=mossap for the new module. r=sid0 for the changes to Dict.jsm
2012-01-22 23:49:20 +02:00
Rafael Ávila de Espíndola
19024fce63
Bug 713294 - send quit-application in test_privatebrowsing_downloadLastDir_c.js. r=mak.
2011-12-28 12:27:23 -05:00
Geoff Lankow
f8e416ce5f
Bug 702744 - Use do_get_profile() instead of CurProcD in test_privatebrowsing_downloadLastDir.js; r=gavin.sharp
2011-11-20 11:12:06 +13:00
Joel Maher
39ca77fbd2
Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only
2011-05-20 11:54:01 -04:00
Siddarth Agarwal
d559534c33
Bug 621204 - Add Dict.jsm to toolkit, r=dtownsend
2011-03-23 15:13:41 -04:00
Marco Bonardo
15a3f30705
Bug 556231 - Tests are trying to QI to nsIDirectoryProvider, that does not exist. r=ted
2010-04-01 13:29:13 +02:00
Paolo Amadini
ab272e5054
Bug 475283 - Replace getStringBundle() with ContentAreaUtils.stringBundle. r=gavin
2010-03-25 14:16:20 +01:00
Metal Sonic
259a398dae
Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv.
2009-12-21 21:50:30 +00:00
Ehsan Akhgari
e04130f7d7
Bug 526194 - r=vlad
2009-11-17 15:01:15 -05:00
Jae-Seong Lee-Russo
d340b148b1
Toolkit tests that fail in js strict mode.
...
Bug 524781 - xpcshell-tests: turn on strict & werror by default.
r=benjamin.
2009-11-15 12:20:35 +01:00
Ehsan Akhgari
97628206b5
Bug 508526 - Make gDownloadLastDir smarter; r=mconnor
2009-08-25 13:52:43 +04:30
Ehsan Akhgari
d122bfbc15
Bug 464795 - Persist "save as" directory during private browsing, but restore previous value after (tests); r=gavin
2009-04-23 20:00:25 +04:30
40adc2cfda
Bug 422872, fix test in test_contentAreaUtils.js for both suite and toolkit. r=sayrer
2008-03-13 22:46:45 -07:00
mozilla.mano@sent.com
195d4c9ee2
Bug 342485 - Replace calls to CheckLoadURI() with calls to CheckLoadURIWithPrincipal(). r=gavin, sayrer (for tests).
2007-02-17 04:12:28 +00:00