Commit Graph

54 Commits

Author SHA1 Message Date
kanika
b75efc14de Bug 1428847 - Move is_hidden and is_visible helper functions into BrowserTestUtils.jsm. r=johannh
MozReview-Commit-ID: 2xshA0CAPgY
2018-03-22 21:14:23 +05:30
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Mark Banner
862ad83caa Bug 1371294 - Add a SearchTestUtils.jsm file and stop duplicating promiseNewSearchEngine. r=mikedeboer
MozReview-Commit-ID: IP5iRstshrM
2018-04-12 20:09:01 +01:00
Gurzau Raul
72748e476e Backed out 2 changesets (bug 1371294) for failing browser_contentSearchUI.js on a CLOSED TREE
Backed out changeset 74e1257f8dfb (bug 1371294)
Backed out changeset 8902ee028f58 (bug 1371294)
2018-04-20 18:04:50 +03:00
Mark Banner
2090511492 Bug 1371294 - Add a SearchTestUtils.jsm file and stop duplicating promiseNewSearchEngine. r=mikedeboer
MozReview-Commit-ID: IP5iRstshrM
2018-04-12 20:09:01 +01:00
Drew Willcoxon
c74d0af0ad Bug 1449947 - The "Add Search Engine" page action button doesn't respond to clicks when it's in the urlbar. r=Gijs
MozReview-Commit-ID: 5H9XfRXq8eO
2018-03-30 09:34:47 -07:00
Paolo Amadini
ed0806abfd Bug 1434883 - Part 1 - Fix tests for the activated page action panel. r=Gijs
The promisePanelEvent function was unreliable because it did not raise an error if the provided panel did not exist, which caused one of the callers to ignore a missing panel silently. All the callers have now been updated based on whether they expect the panel to exist or not.

MozReview-Commit-ID: AGT4rHls4OB
2018-02-04 16:32:20 +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
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
Drew Willcoxon
f0eb3eb041 Bug 1410240 - Search suggestions keep displacing awesomebar results as I'm about to click on them. r=mak
MozReview-Commit-ID: 2NdV9qWzld1
2017-11-22 16:22:32 -08:00
Marco Bonardo
7bae246779 Bug 1402286 - chunk notifyResults calls so that we don't run all the autocomplete js for each match. r=adw
MozReview-Commit-ID: GuYew5B30WQ
2017-10-31 11:13:47 +01:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Marco Bonardo
b19c6a5663 Bug 1406860 - Make urlbar tests a bit more reliable. r=standard8
MozReview-Commit-ID: 71ZzDbCq8n0
2017-10-10 01:18:23 +02:00
Sebastian Hengst
6273f32bbf Backed out changeset 1ac7fce0b369 (bug 1406860) for failing xpcshell tests, e.g. toolkit/components/places/tests/unit/test_000_frecency.js. r=backout 2017-10-11 18:25:57 +02:00
Marco Bonardo
9aedc5efc3 Bug 1406860 - Make urlbar tests a bit more reliable. r=standard8
MozReview-Commit-ID: 71ZzDbCq8n0
2017-10-10 01:18:23 +02:00
Drew Willcoxon
5d0ec9ed36 Bug 1385882 - Intermittent browser/base/content/test/urlbar/browser_page_action_menu.js | Test timed out. r=Gijs
MozReview-Commit-ID: 8uzQAPQEldP
2017-10-02 10:55:00 -07:00
Drew Willcoxon
543c69f057 Bug 1384464 - Intermittent browser/base/content/test/urlbar/browser_page_action_menu.js. r=Gijs
MozReview-Commit-ID: A2rypvJjvcz
2017-09-18 13:01:56 -07:00
Drew Willcoxon
b69a7ae1a8 Bug 1388835 - Hide page action urlbar buttons on about pages (about:preferences, etc.). r=Gijs
MozReview-Commit-ID: 9lid8VpPkJE
2017-08-26 12:47:33 -07:00
Evelyn Hung
84f8861245 Bug 1355451 - Speculative connect to websites on mousedown on awesomebar item. r=mak
We preconnect to an explicit URL or the url in moz-action:remotetab on
the popup.

MozReview-Commit-ID: 3KqlO2Bio3V
2017-08-15 15:02:42 +08:00
Sebastian Hengst
734db6497f Backed out changeset 4da627f785bc (bug 1355451) for frequently failing browser_urlbar_search_speculative_connect_mousedown.js. r=backout 2017-08-18 00:29:20 +02:00
Evelyn Hung
4059810f84 Bug 1355451 - Speculative connect to websites on mousedown on awesomebar item. r=mak
We preconnect to an explicit URL or the url in moz-action:remotetab on
the popup.

MozReview-Commit-ID: Itgie3BMehn
2017-08-04 22:27:21 +08:00
Phil Ringnalda
b611a43dc2 Backed out changeset ec99e3ba4e7a (bug 1355451) for frequent failures in browser_urlbar_search_speculative_connect_mousedown.js
MozReview-Commit-ID: 8NZP5vza6Hz
2017-08-04 23:02:01 -07:00
Evelyn Hung
4905f74f3b Bug 1355451 - Speculative connect to websites on mousedown on awesomebar item. r=mak
We preconnect to an explicit URL or the url in moz-action:remotetab on
the popup.

MozReview-Commit-ID: Itgie3BMehn
2017-08-04 22:27:21 +08:00
Wes Kocher
d312c0d512 Backed out changeset a35f3b534eb9 (bug 1355451) for frequent failures in browser_urlbar_search_speculative_connect_mousedown.js a=backout
MozReview-Commit-ID: JExIufpYeF7
2017-08-03 16:16:43 -07:00
Evelyn Hung
40027f48c4 Bug 1355451 - Speculative connect to websites on mousedown on awesomebar item. r=mak
We preconnect to an explicit URL or the url in moz-action:remotetab on the popup.

MozReview-Commit-ID: 2U6nhwM6RUk
2017-08-03 21:41:58 +08:00
Sebastian Hengst
9bcd3c8feb Backed out changeset 742dfaf7631d (bug 1355451) for eslint failure at urlbarBindings.xml:2331: multiple spaces before elt. r=backout 2017-08-03 16:08:48 +02:00
Evelyn Hung
7bcbc334fa Bug 1355451 - Speculative connect to websites on mousedown on awesomebar item. r=mak
We preconnect to an explicit URL or the url in moz-action:remotetab on the popup.

MozReview-Commit-ID: 2U6nhwM6RUk
2017-08-03 21:41:58 +08:00
Drew Willcoxon
0a6ef09dae Bug 1363188 - Add an add/remove context menu to page actions in the urlbar. r=Gijs
MozReview-Commit-ID: 5rJWvID5OPd
2017-08-02 09:31:07 -07:00
Drew Willcoxon
7c1be6376c Bug 1374477 - Update consumers of Photon page action panel for changed identifiers. r=Gijs
MozReview-Commit-ID: 1skE8YJaqA7
2017-07-29 20:25:08 -07:00
Evelyn Hung
0b332f0c3c Bug 1355443 - Speculatively connect to the current search engine. r=mak
when the first result is "Search with ...", we can preconnect to the
search engine to speed up the possible search query.

MozReview-Commit-ID: 1K1Vp5gVwmR
2017-07-26 17:35:13 +08:00
Mark Banner
a009bbe088 Bug 1368245 - Move browser_page_action_menu's copyURL test into its own clipboard subsuite specific test to try and avoid intermittents. r=mak
MozReview-Commit-ID: 5tipFLkpvbh
2017-07-10 10:44:12 +01:00
Florian Quèze
c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze
15feaa278a Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +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
Mark Banner
0172a32b29 Bug 1338195 - Define a frame-script environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
MozReview-Commit-ID: Fcin4InbLK2
2017-02-07 10:52:06 +00:00
Florian Quèze
47dde5c17b Bug 1334250 - script-generated patch to avoid removeEventListener calls when a variable is used for the event name, r=jaws. 2017-01-27 10:48:00 +01: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
Jared Wein
ef8b1e86ca Bug 1316870 - Enable no-shadow eslint rule for browser/. r=mossop 2016-11-15 22:58:30 -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
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Marco Bonardo
670745eb23 Bug 1299428 - Use more of BrowserTestUtils in urlbar tests. r=adw
MozReview-Commit-ID: DnM6PylbNv
2016-10-31 17:56:01 +01:00
Blake Kaplan
8ee33b31ec Bug 1314812 - Remove code that manually times out loads in favor of relying on the test harness. r=Gijs
MozReview-Commit-ID: FZB9ys9lvIN
2016-11-02 16:03:11 -07:00
Marco Bonardo
785ad45550 Bug 1301093 - Part 3: fix delayed handleEnter regression. r=adw
MozReview-Commit-ID: 1SZeMUtLjNg
2016-09-13 09:35:00 +02:00