Commit Graph

29 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
Paolo Amadini
aa9592d486 Bug 1427364 - Remove showCommentColumn and showImageColumn. r=mak
MozReview-Commit-ID: 8RNVaLvZkrY
2018-01-10 15:22:23 +00: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
Martin Giger
3720518b78 Bug 1387624 - Fix datalist popups in extension options r=mixedpuppy
MozReview-Commit-ID: 9w7Hhv5Fh4n
2017-11-04 13:40:47 +01:00
Sean Lee
af49048c0b Bug 1406585 - Close the autocomplete popup when the crash of a content page or Message Manager disconnection happens. r=MattN
MozReview-Commit-ID: DjSc4R0WBQP
2017-11-10 17:00:33 +08:00
Ray Lin
d6223dd225 Bug 1383707 - Temporarily increase the maxRows for form autofill results in order not to show scrollbar in the popup. r=MattN
MozReview-Commit-ID: 7Fjt7T90GIJ
2017-07-26 15:17:02 +08:00
Jonathan Guillotte-Blouin
246e1d8e72 Bug 1372427 - enforce "comma-dangle". r=MattN
auto --fix

MozReview-Commit-ID: KKmDI0Pt43K
2017-06-14 17:46:42 -07:00
Jonathan Guillotte-Blouin
68432b1c69 Bug 1372427 - add rule to not put spacing inside arrays. r=MattN
auto --fix

MozReview-Commit-ID: BiEzl4OawuU
2017-06-14 17:35:30 -07:00
Jonathan Guillotte-Blouin
29b30a4a82 Bug 1372427 - add js-doc rule. r=MattN
MozReview-Commit-ID: YgDBHM88PW
2017-06-13 10:48:52 -07:00
Jonathan Guillotte-Blouin
4aee0d02d2 Bug 1372427 - add semi-colon rule. r=MattN
auto --fix

MozReview-Commit-ID: F9GvxcghPkt
2017-06-13 09:51:07 -07:00
Jonathan Guillotte-Blouin
10ee9a5b3d Bug 1372427 - Add indentation rules. r=MattN
MozReview-Commit-ID: 62a7RvVlcco
2017-06-12 15:45:00 -07:00
Shane Caraveo
7a05f598a5 Bug 1342708 fix datalist failure in webext popups, r=kmag
MozReview-Commit-ID: FbTB9h3TTdq
2017-06-01 16:20:34 -07:00
Jonathan Guillotte-Blouin
15fcc06e43 Bug 1365068 - import with destructuring, switch to shorthand function declarations and use array.includes. r=MattN
MozReview-Commit-ID: IfmePvN8WnA
2017-05-16 18:23:56 -07:00
Ray Lin
bf205694d1 Bug 1326139 - Implement profile item two column layout. r=MattN
MozReview-Commit-ID: CR91tz8d9fr
2017-01-25 11:04:15 +08:00
Florian Quèze
c8cf49999e Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Matthew Noorenberghe
86b1f39240 Bug 1319176 - Open the SUMO page when the insecure login warning is clicked. r=seanlee
MozReview-Commit-ID: JxAps2ySOnZ
2017-01-23 16:06:22 -08: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
Mike Conley
466a772cdb Bug 1296638 - Make Form Autocomplete popup use a richlistbox instead of a tree. r=MattN
MozReview-Commit-ID: 6ybBqAwxlmb
2016-08-19 17:15:56 -04:00
Mike Conley
cae7deca5e Bug 1296638 - AutoCompletePopup in browser-content.js and AutoCompletePopup.jsm need to have popupOpen be in sync. r=MattN
The opening of the AutoCompletePopup will always start from content, but closing the
popup can occur in the parent (for example, if the user switches focus from the browser),
or in content (the user hits Esc, for example, which tells the parent to close the popup).

This relationship between content and the popup has been true for a while, but the
patch in bug 1294502 didn't account for it. In particular, before this patch, it was
possible for AutoCompletePopup in browser-content.js and AutoCompletePopup.jsm to get
out of sync on whether or not the popup is open.

Mainly, this is because the parent wasn't telling the content that the popup had
hidden if the hide was initialized by the parent. The other reason, was because
the popupOpen state in browser-content.js was being set immediately, instead
of waiting for the parent to report that the popup had indeed opened or closed.

MozReview-Commit-ID: CRkg49lP1Hd
2016-09-17 12:44:04 -04:00
Jonathan Kingston
638b77683a Bug 1305050 - Removing chrome error in deleting password autocomplete and improving testing to catch issues. r=MattN,mconley
MozReview-Commit-ID: JEX5gly6bTA
2016-10-05 00:27:19 +01:00
Mike Conley
1d8e575221 Bug 1298204 - Make sure the form autocomplete popup tree gets updated when invalidated. r=MattN
Bug 1294502 recently refactored the form autocomplete code to
combine the e10s and non-e10s mechanisms. The new combined
mechanism works using something mostly similar to what we
used for e10s, except that we forgot to re-set the nsITreeView
when the autocomplete results are invalidated.

MozReview-Commit-ID: 4veXklEgLGl
2016-08-30 22:57:26 -04:00
Mike Conley
9db9ea2cff Bug 1294502 - Use the same AutoCompletePopup logic for e10s and non-e10s. r=MattN
MozReview-Commit-ID: B0QQLEn3yS
2016-08-18 10:50:58 -04:00