Commit Graph

102 Commits

Author SHA1 Message Date
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
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
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
Mike Conley
cf66e82132 Bug 888784 - Use Sqlite.shutdown instead of AsyncShutdown to close FormHistory database connection. r=mak
MozReview-Commit-ID: GsM0bf8V7XD
2018-01-09 15:47:49 -05:00
Mike Conley
1a2eb61e7c Bug 888784 - Prevent duplicate fieldname/value pairs from being inserted in FormHistory. r=mak
MozReview-Commit-ID: 9icdBPW2Px9
2018-01-09 18:54:39 -05:00
Mike Conley
370093112a Bug 888784 - Get rid of dead mozIStorageService code in FormHistory.jsm. r=mak
MozReview-Commit-ID: XLOFLpMsPv
2017-12-01 14:55:24 -05:00
Mike Conley
07e86ebf6c Bug 888784 - Make FormHistory.expireOldEntries use new Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: KSaWz0s6hF1
2017-12-01 14:54:02 -05:00
Mike Conley
8dad1ae6d3 Bug 888784 - Make FormHistory.getAutoCompleteResults use Sqlite.jsm backend. r=mak
MozReview-Commit-ID: 7rYj1lMosLW
2017-12-01 10:53:32 -05:00
Mike Conley
6c37776e6d Bug 888784 - Get rid of FormHistory.shutdown. r=mak
FormHistory.shutdown was called via FormHistoryStartup.js's profile-before-change
observer to close the database synchronously.

Now FormHistory uses AsyncShutdown and closes the database asynchronously, so
FormHistory.shutdown is no longer required.

MozReview-Commit-ID: Lok5vx1dOTW
2017-11-30 18:11:18 -05:00
Mike Conley
c3bb5ab25e Bug 888784 - Make FormHistory.update use Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: 7Ku1kFtTYZK
2017-11-30 18:09:54 -05:00
Mike Conley
d173b25cfd Bug 888784 - Remove FormHistory.getSchemaVersion and update some tests that used it to use add_task. r=mak
MozReview-Commit-ID: EQBksMqeNm2
2017-11-30 17:00:07 -05:00
Mike Conley
3919dff4f9 Bug 888784 - Make FormHistory.search use Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: J1ElTJpWHza
2017-11-30 15:15:10 -05:00
Mike Conley
be3c98a03f Bug 888784 - Make FormHistory.count use Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: 53gec0qQL1y
2017-11-30 14:28:13 -05:00
Mike Conley
4d52fc8a39 Bug 888784 - Add a new Sqlite.jsm based database connector to FormHistory.jsm. r=mak
MozReview-Commit-ID: JADYzdAokVJ
2017-11-30 14:03:04 -05:00
Narcis Beleuzu
293aa6f554 Backed out 14 changesets (bug 888784) for ESlint failure on /FormHistory.jsm. on a CLOSED TREE
Backed out changeset 8c3fc3cb35b7 (bug 888784)
Backed out changeset 4f1b033d3cc0 (bug 888784)
Backed out changeset 4f7816c12e0b (bug 888784)
Backed out changeset 456d0f3e4e34 (bug 888784)
Backed out changeset 5044e2244d17 (bug 888784)
Backed out changeset 8a44ddb5f2c2 (bug 888784)
Backed out changeset 9e70d1f4489e (bug 888784)
Backed out changeset a799d6cd42e4 (bug 888784)
Backed out changeset f33b9cc53b30 (bug 888784)
Backed out changeset dc3b1653e70c (bug 888784)
Backed out changeset 53cb7d7c71da (bug 888784)
Backed out changeset 5f88a6ef1aac (bug 888784)
Backed out changeset 291e111da6ef (bug 888784)
Backed out changeset b2682e434b20 (bug 888784)
2018-01-22 18:13:06 +02:00
Mike Conley
c02d74f099 Bug 888784 - Use Sqlite.shutdown instead of AsyncShutdown to close FormHistory database connection. r=mak
MozReview-Commit-ID: GsM0bf8V7XD
2018-01-09 15:47:49 -05:00
Mike Conley
b9639112d4 Bug 888784 - Prevent duplicate fieldname/value pairs from being inserted in FormHistory. r=mak
MozReview-Commit-ID: 9icdBPW2Px9
2018-01-09 18:54:39 -05:00
Mike Conley
73fcef667d Bug 888784 - Get rid of dead mozIStorageService code in FormHistory.jsm. r=mak
MozReview-Commit-ID: XLOFLpMsPv
2017-12-01 14:55:24 -05:00
Mike Conley
23f62f26d3 Bug 888784 - Make FormHistory.expireOldEntries use new Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: KSaWz0s6hF1
2017-12-01 14:54:02 -05:00
Mike Conley
513a680f22 Bug 888784 - Make FormHistory.getAutoCompleteResults use Sqlite.jsm backend. r=mak
MozReview-Commit-ID: 7rYj1lMosLW
2017-12-01 10:53:32 -05:00
Mike Conley
187a94c63d Bug 888784 - Get rid of FormHistory.shutdown. r=mak
FormHistory.shutdown was called via FormHistoryStartup.js's profile-before-change
observer to close the database synchronously.

Now FormHistory uses AsyncShutdown and closes the database asynchronously, so
FormHistory.shutdown is no longer required.

MozReview-Commit-ID: Lok5vx1dOTW
2017-11-30 18:11:18 -05:00
Mike Conley
4483d84b33 Bug 888784 - Make FormHistory.update use Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: 7Ku1kFtTYZK
2017-11-30 18:09:54 -05:00
Mike Conley
3b29c6b6d2 Bug 888784 - Remove FormHistory.getSchemaVersion and update some tests that used it to use add_task. r=mak
MozReview-Commit-ID: EQBksMqeNm2
2017-11-30 17:00:07 -05:00
Mike Conley
a55d0a54b4 Bug 888784 - Make FormHistory.search use Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: J1ElTJpWHza
2017-11-30 15:15:10 -05:00
Mike Conley
be6ba2f114 Bug 888784 - Make FormHistory.count use Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: 53gec0qQL1y
2017-11-30 14:28:13 -05:00
Mike Conley
586a4c245f Bug 888784 - Add a new Sqlite.jsm based database connector to FormHistory.jsm. r=mak
MozReview-Commit-ID: JADYzdAokVJ
2017-11-30 14:03:04 -05:00
Sebastian Hengst
92d31ee76f Backed out 9 changesets (bug 888784) for failing mochitest-bc browser_426329.js on Linux and on Android chrome's test_ext_browsingData_formdata.html and robocop's testFormHistory. r=backout on a CLOSED TREE
Backed out changeset 98722ab8c2f6 (bug 888784)
Backed out changeset d92599272745 (bug 888784)
Backed out changeset 67c58cb32ac9 (bug 888784)
Backed out changeset 46fb8f82f2bf (bug 888784)
Backed out changeset 73ad820d09ec (bug 888784)
Backed out changeset 18d185fa362e (bug 888784)
Backed out changeset 10c472d10264 (bug 888784)
Backed out changeset 51fb50c1ea68 (bug 888784)
Backed out changeset 80a207ed79ec (bug 888784)
2018-01-09 20:18:55 +02:00
Mike Conley
4db6ebb8c6 Bug 888784 - Get rid of dead mozIStorageService code in FormHistory.jsm. r=mak
MozReview-Commit-ID: XLOFLpMsPv
2017-12-01 14:55:24 -05:00
Mike Conley
2d3399de22 Bug 888784 - Make FormHistory.expireOldEntries use new Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: KSaWz0s6hF1
2017-12-01 14:54:02 -05:00
Mike Conley
62b9042cef Bug 888784 - Make FormHistory.getAutoCompleteResults use Sqlite.jsm backend. r=mak
MozReview-Commit-ID: 7rYj1lMosLW
2017-12-01 10:53:32 -05:00
Mike Conley
534a0e8053 Bug 888784 - Get rid of FormHistory.shutdown. r=mak
FormHistory.shutdown was called via FormHistoryStartup.js's profile-before-change
observer to close the database synchronously.

Now FormHistory uses AsyncShutdown and closes the database asynchronously, so
FormHistory.shutdown is no longer required.

MozReview-Commit-ID: Lok5vx1dOTW
2017-11-30 18:11:18 -05:00
Mike Conley
5c22b44f4c Bug 888784 - Make FormHistory.update use Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: 7Ku1kFtTYZK
2017-11-30 18:09:54 -05:00
Mike Conley
b7921244f5 Bug 888784 - Remove FormHistory.getSchemaVersion and update some tests that used it to use add_task. r=mak
MozReview-Commit-ID: EQBksMqeNm2
2017-11-30 17:00:07 -05:00
Mike Conley
f5803042b3 Bug 888784 - Make FormHistory.search use Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: J1ElTJpWHza
2017-11-30 15:15:10 -05:00
Mike Conley
4939757aa3 Bug 888784 - Make FormHistory.count use Sqlite.jsm database backend. r=mak
MozReview-Commit-ID: 53gec0qQL1y
2017-11-30 14:28:13 -05:00
Mike Conley
16f4e7765b Bug 888784 - Add a new Sqlite.jsm based database connector to FormHistory.jsm. r=mak
MozReview-Commit-ID: JADYzdAokVJ
2017-11-30 14:03:04 -05:00
Edouard Oger
2b6aa00c6f Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr
2017-11-06 15:50:28 -05:00
Narcis Beleuzu
a934667a54 Backed out 1 changesets (bug 1404427) for browser failures in browser_sanitize-timespans.js at some times of the day. r=backout a=backout on a CLOSED TREE
Backed out changeset e02d99be7eb0 (bug 1404427)
2017-11-11 05:48:15 +02:00
Edouard Oger
62783b8de9 Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr
2017-11-06 15:50:28 -05:00
Sebastian Hengst
23db0d3ff9 Backed out changeset d9a7e2fba868 (bug 1404427) on suspicion of causing failures in browser_sanitize-timespans.js at some times of the day. r=backout a=backout on a CLOSED TREE 2017-11-10 15:28:16 +02:00
Edouard Oger
d78d1dc37b Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr
2017-11-06 15:50:28 -05:00
Andreea Pavel
3af1cb71b6 Backed out changeset 6aa22b862a45 (bug 1404427) for failing browser-chrome browser/components/search/test/browser_426329.js r=backout on a CLOSED TREE 2017-11-09 21:26:40 +02:00
Edouard Oger
09e10faa93 Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr
2017-11-06 15:50:28 -05:00
Edouard Oger
f8442abd16 Bug 1395427 p3 - Allow form history items to be created with a specific guid. r=markh
This allows us to have the same form history GUIDs across devices, which is mandatory
if we want tombstones to actually do something.

MozReview-Commit-ID: Hw6ahbVA5lB
2017-09-22 15:08:48 -04:00
Edouard Oger
d341d6e1de Bug 1395427 p2 - Include guid in formhistory-remove notifications. r=markh
MozReview-Commit-ID: Je0rV277d7
2017-09-22 15:19:56 -04:00
Sebastian Hengst
46db05e661 Backed out changeset 553d26ab8ee8 (bug 1395427) 2017-09-27 17:10:26 +02:00