Brindusan Cristian
334a5602dc
Merge mozilla-central to inbound r=merge a=merge on a CLOSED TREE
2017-11-21 00:29:02 +02:00
Tooru Fujisawa
50f5bf47cd
Bug 1418739 - Part 2: Remove unused delayedStartup parameter from BrowserTestUtils.waitForNewWindow. r=smaug
2017-11-21 03:41:56 +09:00
Gijs Kruitbosch
59ffe6e6ca
Bug 1408044 - fix miscellaneous tests that depended on about: existing, r=dao
...
MozReview-Commit-ID: EKsaFbRoBc4
--HG--
extra : rebase_source : 3c22ed909437a7fa98e2126b4eb8b9c669f98173
2017-11-15 17:19:33 +00:00
Ciure Andrei
a8907fc95a
Backed out 5 changesets (bug 1408044) for failing Android test: TestAboutPagesPreparer.java:24: cannot find symbol. r=backout on a CLOSED TREE
...
Backed out changeset 5c5152ad910d (bug 1408044)
Backed out changeset c9a062838c12 (bug 1408044)
Backed out changeset 9ceaa645f2a9 (bug 1408044)
Backed out changeset 10fc0a581606 (bug 1408044)
Backed out changeset 513140019014 (bug 1408044)
2017-11-17 12:19:30 +02:00
Gijs Kruitbosch
03f7acbb5c
Bug 1408044 - fix miscellaneous tests that depended on about: existing, r=dao
...
MozReview-Commit-ID: EKsaFbRoBc4
--HG--
extra : rebase_source : 36497c95be10e307805a304e811a5b7a6bebebce
2017-11-15 17:19:33 +00:00
Mark Banner
4de6bf22b1
Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
...
MozReview-Commit-ID: H5YVp3rnzGo
--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Mark Banner
42cb2dc6a3
Bug 1230373
- Enable mozilla/use-services for browser/components/ r=mossop
...
MozReview-Commit-ID: 9m9iss3jUJJ
--HG--
extra : rebase_source : e6a6f9dec168ab1d0e0343236db65f3dd1b44aeb
2017-10-11 15:43:51 +01:00
Dan Banner
7caa92d5d8
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
Christoph Kerschbaumer
e328a6db15
Bug 1397652 - Update tests within browser/ to comply with new toplevel data: URI navigation policy. r=gijs
2017-09-13 06:56:42 +02:00
Marco Bonardo
286f0abd75
Bug 1398114
- Intermittent failure in browser_privatebrowsing_placesTitleNoUpdate.js. r=standard8
...
MozReview-Commit-ID: 7mXQAuaZOwD
--HG--
extra : rebase_source : f704697ecb6c46985dd920cc23596807b97d7455
2017-09-08 14:40:03 +02:00
Andrei Oprea
2e447a8060
Bug 1395319 - Disable private browsing about:home test when Activity Stream is enabled for about:home. r=Mardak
...
MozReview-Commit-ID: FIcaPQCayI7
--HG--
extra : rebase_source : 4887f634ecb5f1be182bfe0acd5d139d95847844
2017-08-30 22:26:27 +02:00
Marco Bonardo
f1ee6d9f5a
Bug 1384381 - Intermittent failures in browser_privatebrowsing_placestitle.js and browser_privatebrowsing_placesTitleNoUpdate.js. r=standard8
...
MozReview-Commit-ID: 8nvln9OLx9S
--HG--
extra : rebase_source : 3a2ec0b55ead78df01d0a37b300590d3c70b78bd
2017-08-29 18:45:36 +02:00
Dan Banner
f1eb5aaa84
Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8
...
MozReview-Commit-ID: JOC1330iFnh
--HG--
extra : rebase_source : 2afcb219d4a0d78f996bdc2c841456d2dccff605
2017-08-23 13:38:24 +01:00
Andrew Halberstadt
d2109610fb
Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
...
MozReview-Commit-ID: 5lO0uAjHMsw
--HG--
extra : rebase_source : 8607b3964da207a6076c79b6f1d75b40503cdd7d
2017-08-10 14:48:21 -04:00
Phil Ringnalda
0ff5a4285d
Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
...
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Andrew Halberstadt
f625fd5c37
Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
...
MozReview-Commit-ID: 5lO0uAjHMsw
--HG--
extra : rebase_source : d72a88962ec8d843e7be99e25f710887f01b6e1a
2017-08-10 14:48:21 -04:00
Masatoshi Kimura
8b713b2b0f
Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
...
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.
MozReview-Commit-ID: 4ecl3RZhOwC
--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Marco Bonardo
3a8adcdf32
Bug 1275878 - Part 2: Replace places-will-close-connection notification with a shutdown blocker. r=adw
...
MozReview-Commit-ID: A2sn2OreX4K
--HG--
extra : rebase_source : 6c9dd729c2aad0b5870f0cbf1e565a33376c4f56
2016-05-19 23:50:27 +02:00
Florian Quèze
2924991bf6
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
2017-06-23 11:25:52 +02:00
Paolo Amadini
10ee6a5c4e
Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
...
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.
MozReview-Commit-ID: 1buqgX1EP4P
--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Christoph Kerschbaumer
e4f38c8d7c
Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian
2017-05-15 21:49:50 +02:00
Florian Quèze
97f401c644
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
5e3539e504
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
2bf9485071
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
...
MozReview-Commit-ID: 5fVG7akPnGM
--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst
95a418ca5b
Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout
2017-05-11 10:15:55 +02:00
Mark Banner
256aeb441c
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
...
MozReview-Commit-ID: 5fVG7akPnGM
--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Dão Gottwald
c692f271f7
Bug 1361986 - Update the about:privatebrowsing design for photon. r=johannh
...
MozReview-Commit-ID: 8czyGdaoyLI
--HG--
extra : rebase_source : 37dc762b1d6781fe6079ea394e6e736ca566231a
2017-05-04 17:02:02 +02:00
Joel Maher
905dc9c4e5
Bug 1354865 - Intermittent browser/components/privatebrowsing/test/browser/browser_privatebrowsing_newtab_from_popup.js. r=gbrown
2017-04-27 11:52:43 -04:00
Florian Queze
f935ddc4b3
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Mark Banner
92c422a2d6
Bug 1342459 - Add a rule to automatically detect ContentTask.spawn and inject the relevant globals. r=mossop
...
This reduces the amount of places where we need to specify the mozilla/frame-script environment. It does have
the side effect of allowing those globals in the whole file, but that is what specifying the environment would
do, and this is also for mochitest test files only.
MozReview-Commit-ID: 1LLFbn6fFJR
--HG--
extra : rebase_source : 82a6934d90bbbbd25f91b7b06bf4f9354e38865a
2017-04-05 10:00:25 +01:00
Mike Conley
09404adfdd
Bug 1280079 - Make sure browser_privatebrowsing_newtab_from_popup.js accounts for initial browser remoteness flip when opening popup. r=mossop
...
During the test, we open a new window which loads a URL, and have code to wait for that
initial browser to complete the load. For the initial browser, there is (when we open
a remote-able URL), the remoteness of that initial browser flips from non-remote to
remote. Sometimes, due to messaging / timing, the initial browser will send a message
saying that a load completed for the initial about:blank before the URL we actually
want is loaded. This causes the test to continue, and attempt to click on an element
that isn't actually on the page yet.
This modification allows us to wait for the initial browser to actually load the page
that we care about before proceeding.
I also changed some of the assertion messages to actually reflect what's being asserted,
as opposed to reflecting what is being revealed if the assertion fails.
MozReview-Commit-ID: 608SaA1nCVs
--HG--
extra : rebase_source : 0662d166e10de5036c40b278554ff5b3dd11de04
extra : source : 4255a184eac6d037763deb9319df652abf5f703b
2017-03-23 13:49:41 -04:00
Ryan VanderMeulen
be248812bc
Backed out changeset 4255a184eac6 (bug 1280079) for a different fix.
...
--HG--
extra : rebase_source : cee2b5adbcba84e08cfe63d2007df4b6f50b6d4e
2017-03-28 12:48:36 -04:00
Mike Conley
eaa669802f
Bug 1280079 - Make sure browser_privatebrowsing_newtab_from_popup.js accounts for initial browser remoteness flip when opening popup. r=mossop
...
During the test, we open a new window which loads a URL, and have code to wait for that
initial browser to complete the load. For the initial browser, there is (when we open
a remote-able URL), the remoteness of that initial browser flips from non-remote to
remote. Sometimes, due to messaging / timing, the initial browser will send a message
saying that a load completed for the initial about:blank before the URL we actually
want is loaded. This causes the test to continue, and attempt to click on an element
that isn't actually on the page yet.
This modification allows us to wait for the initial browser to actually load the page
that we care about before proceeding.
I also changed some of the assertion messages to actually reflect what's being asserted,
as opposed to reflecting what is being revealed if the assertion fails.
MozReview-Commit-ID: 608SaA1nCVs
--HG--
extra : rebase_source : d8d76945d6e36023a7ea9395c3a7355f346df0f0
2017-03-23 13:49:41 -04:00
Jared Wein
a54eda04ca
Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
...
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.
MozReview-Commit-ID: ANyg2qfo3Qx
--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Carsten "Tomcat" Book
62f6c37109
merge mozilla-inbound to mozilla-central a=merge
2017-03-22 14:26:27 +01:00
Mark Banner
bd625e4e9f
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
--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Christoph Kerschbaumer
dc82ea3ccb
Bug 1348801: Test OA of principal when opening link in new private window. r=gijs
2017-03-22 07:59:23 +01:00
Jim Porter
5e6b22bdde
Bug 1346671 - Enable the no-useless-concat eslint rule in toolkit/ r=jaws
...
MozReview-Commit-ID: 1a422BiLEhK
--HG--
extra : rebase_source : a83b8d753e2a48593904ef0755d5517908588b93
2017-03-13 17:34:24 -05:00
Michelangelo De Simone
ef7392e0f4
Bug 1341928 - Tag the Geolocation test suite. r=jdm
...
MozReview-Commit-ID: 9bNXMQNsL1a
--HG--
extra : rebase_source : 99ed74fc1c64472d29687d541d4b254c6b4ba2d8
2017-02-22 15:49:59 -08:00
Michelangelo De Simone
22a7c10b2c
Bug 1072859 - Disable Geolocation on non-secure origins. r=jdm
...
MozReview-Commit-ID: KnHOb0aN4nE
--HG--
extra : source : 07ead25d0bdae2e62c116da16f70f5599513d00f
extra : histedit_source : 19e33405ac6e7b228179e397a80bd39a44651f4a%2C04a0bb8d5aaa06b8780f1937cc836b404bd8d1f7
2017-03-08 16:45:44 -08:00
Sebastian Hengst
dd5376d924
Backed out changeset 8b1c50cdb50c (bug 1072859) for failing devtools/client/responsive.html/test/browser/browser_permission_doorhanger.js. r=backout a=merge
...
MozReview-Commit-ID: LaknhYl9fEw
--HG--
extra : source : 6263649f857f55b11a6060d4a8735bdc8dbb0971
2017-03-09 00:46:17 +01:00
Michelangelo De Simone
1cd6de26c9
Bug 1072859 - Disable Geolocation on non-secure origins. r=jdm
...
MozReview-Commit-ID: KnHOb0aN4nE
--HG--
extra : rebase_source : a04cb5f52614889e83d8bcf5d8345f2559878b94
2017-03-06 14:10:13 -08:00
Sebastian Hengst
6074a8bda0
Bug 1337729 - Reenable browser_privatebrowsing_concurrent.js: use doublequotes to make eslint happy. r=eslint-fix
2017-03-07 20:28:59 +01:00
Gabor Krizsanits
00f7a8fb86
Bug 1337729 - Reenable browser_privatebrowsing_concurrent.js. r=mrbkap
2017-03-07 20:00:33 +01:00
Mark Banner
561b6cfb0c
Bug 1344027 - Fix most of the remaining ESLint no-undef issues in browser/components. r=jaws
...
MozReview-Commit-ID: DUnxVITvZgh
--HG--
extra : rebase_source : abe5adf3b024a45c2804d048f078c6a59a936242
2017-03-03 09:29:14 +00:00