Kris Maglione
0847e8227e
Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
...
MozReview-Commit-ID: 9APGewiDDYB
2018-05-25 17:02:29 -07:00
Kris Maglione
187318b0b7
Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
...
MozReview-Commit-ID: Iv4T1MVAF5
2018-05-19 20:17:45 -07:00
Florian Quèze
f6add2cafd
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Sebastian Hengst
4e51639fe3
merge mozilla-central to autoland on a CLOSED TREE
2018-02-24 03:07:44 +02:00
Florian Quèze
f1a55f73f8
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Margareta Eliza Balazs
7ec62aee45
Backed out changeset ebbcdc3e642d (bug 1433593) for X failing in toolkit/components/passwordmgr/test/unit/test_maybeImportLogin.js on a CLOSED TREE
2018-02-16 04:50:42 +02:00
Doug Thayer
2a70781cd0
Bug 1433593 - Clean up usages of LoginHelper.maybeImportLogin r=MattN
...
In bug 1426721 we added a bulk interface for importing logins, which
works in a background thread. This patch cleans up the single-login
interface and updates the remaining usages to consume the bulk
interface.
MozReview-Commit-ID: IziLXkO5dxQ
2018-02-15 10:26:44 -08:00
shindli
f1661b02af
Backed out 2 changesets (bug 1433593) for xpcshell on /tests/unit/test_IE7_passwords.js on a CLOSED TREE
...
Backed out changeset c1b0ea577728 (bug 1433593)
Backed out changeset 96327b595b91 (bug 1433593)
2018-02-20 23:01:54 +02:00
Doug Thayer
afbdc3b32b
Bug 1433593 - Clean up usages of LoginHelper.maybeImportLogin r=MattN
...
In bug 1426721 we added a bulk interface for importing logins, which
works in a background thread. This patch cleans up the single-login
interface and updates the remaining usages to consume the bulk
interface.
MozReview-Commit-ID: IziLXkO5dxQ
2018-02-15 10:26:44 -08:00
Doug Thayer
38979fb27e
Bug 1433593 - Clean up usages of LoginHelper.maybeImportLogin r=MattN
...
In bug 1426721 we added a bulk interface for importing logins, which
works in a background thread. This patch cleans up the single-login
interface and updates the remaining usages to consume the bulk
interface.
MozReview-Commit-ID: IziLXkO5dxQ
2018-02-15 10:26:44 -08:00
Andrew McCreight
272cee1e65
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Florian Quèze
c5f15a4700
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Sam R-T, Joseph F, Robin H
0be01d2d28
Bug 1432062 - Require dangling commas via eslint for the migration component. r=MattN
2018-01-22 15:22:35 -08:00
Doug Thayer
0c50874ac0
Bug 1430318 - Prevent zeroes Edge history timestamps from breaking import r=mak
...
Edge history visit times can be zero. Not sure of exactly what
conditions cause this, but the Edge start page has a visit time of
0 on a local machine.
MozReview-Commit-ID: KJ9iwbLIhj2
2018-01-16 11:08:21 -08:00
Dan Banner
503979c95a
Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
...
MozReview-Commit-ID: GrlcOI9K2hJ
2017-05-28 19:57:46 +01:00
Marco Bonardo
4742e1035b
Bug 1361675 - Cookie import test fails on Win 10. r=Gijs
...
MozReview-Commit-ID: 70iJjYaW1ya
2017-05-12 10:19:02 +02:00
Florian Quèze
50b8c6608d
Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop.
2017-05-12 14:47:41 +02:00
Florian Quèze
ff53eb9a63
Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop.
2017-05-12 14:42:39 +02:00
Aaron Klotz
bbb67e4720
Bug 1358549: Fix incorrect ABI specification in js-ctypes declaration of FileTimeToSystemTime; r=Gijs
...
MozReview-Commit-ID: AAPupaveOUM
2017-04-21 11:18:04 -06:00
Dan Banner
7116301bc3
Bug 1354512 - De-duplicate already ESLint recommended rules in browser/components/migration/. r=standard8
...
MozReview-Commit-ID: 66hJ6BvTrzY
2017-04-13 11:57:08 +01:00
Gijs Kruitbosch
da2191fab2
Bug 1344759 - batch-insert bookmarks when importing from Edge, IE, Safari or Chrome, r=dao
...
MozReview-Commit-ID: Dhvw0Y0fm5x
2017-03-13 23:46:16 +00:00
Andrea Marchesini
964dd600c8
Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug
2017-02-08 10:18:32 +01:00
Florian Quèze
63de711857
Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
2017-01-17 11:50:25 +01:00
Florian Quèze
45647c4570
Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws.
2017-01-09 20:27:25 +01: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
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
4e295aa48d
Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
...
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Andrea Marchesini
1f24189283
Bug 1303518 - Remove the chrome only constructor for File, r=qdot
2016-11-11 18:56:44 +01:00
Jared Wein
5edec1c0d9
Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
...
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04:00
Gijs Kruitbosch
1eb867efaf
Bug 1279501 - add telemetry for the number of bookmarks, history visits and logins are imported from another browser, r=bsmedberg,mak
...
MozReview-Commit-ID: EiZfkj6AsVL
2016-10-22 14:40:48 +01:00
Wes Kocher
5d8f248c21
Backed out changeset 77012ce07e57 (bug 1279501) a=gijs
2016-11-01 10:47:59 -07:00
Gijs Kruitbosch
f0e91ab90a
Bug 1279501 - add telemetry for the number of bookmarks, history visits and logins are imported from another browser, r=bsmedberg,mak
...
MozReview-Commit-ID: EiZfkj6AsVL
2016-10-22 14:40:48 +01:00
Jared Wein
0c024fa9ca
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
...
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Gijs Kruitbosch
bbf79f28ea
Bug 1311043 - make eslint much more strict in browser/components/migration/, and fix issues, r=mikedeboer
...
MozReview-Commit-ID: RXO68w3Kv3
2016-10-18 16:03:06 +01:00
Tim Huang
f3c87ef67d
Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
2016-05-25 11:54:21 +08:00
Wes Kocher
18fc6fa5e3
Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
...
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Tim Huang
0a60cbfed3
Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
2016-05-18 20:42:00 -04:00
Andrea Marchesini
0d6b911fbc
Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm
2016-04-10 05:46:07 +01:00
Ryan VanderMeulen
f16cc2b8b7
Backed out changeset 7d5f1e9ce04c (bug 1259169) for various cookie-related crashes and test failures.
2016-04-09 15:36:07 -04:00
Andrea Marchesini
c505892d92
Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm
2016-04-09 19:09:49 +01:00
Dave Townsend
17d8a23b3f
Bug 1257246: Update browser for eslint 2. r=felipe
...
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.
MozReview-Commit-ID: DEskVIjiKDM
2016-04-05 11:33:33 -07:00
Gijs Kruitbosch
3ccd888643
Bug 1255526 - fix import of typed URLs on versions of windows that do not store timestamps, r=MattN
...
MozReview-Commit-ID: KSXtQAS7meZ
2016-04-01 20:43:25 +01:00
Andrea Marchesini
d5bd12484c
Bug 1245184 - Update mochitests, r=me
2016-02-25 16:41:13 +01:00