Commit graph

612 commits

Author SHA1 Message Date
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
Andrea Marchesini
4d21d3a57a Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-03-03 09:42:54 +01:00
Mark Banner
bb4287f8fb Bug 1311345 - Enable eslint of browser/components/privatebrowsing/ - Final manual fixes. r=jaws
MozReview-Commit-ID: 66ds8Adnsta

--HG--
extra : rebase_source : 0c49c6d4ac351145b857e32ff4897dc9b045c9cd
2017-02-28 13:17:42 +00:00
Mark Banner
d74b9431a6 Bug 1311345 - Enable eslint of browser/components/privatebrowsing/ - Automatically fixed changes by eslint. r=jaws
MozReview-Commit-ID: 2rmHK5vkpt1

--HG--
extra : rebase_source : d29a70e4adc9572bca8f425760ed0bf30a5188a4
2017-02-28 12:44:14 +00:00
jordan9769
3aa7e13c6a Bug 1311345 - Enable eslint of browser/components/privatebrowsing/ - Initial changes; r=standard8
MozReview-Commit-ID: AD112cmtsk3

--HG--
extra : rebase_source : 77b76cb8183cd20d624eaa0188599722d1e01541
2017-02-28 12:21:00 +00:00
Masatoshi Kimura
7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Shane Caraveo
6359cf10d6 Bug 1208596 implement sidebar api for webextensions, f?kmag, gijs r=Gijs,kmag
MozReview-Commit-ID: 6GMdU5kcrFR

--HG--
extra : rebase_source : 03acc88de0a87051f222408cc6e80b8f62a770cb
2017-02-09 15:32:50 -08:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Gabor Krizsanits
216527edfc Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-23 14:15:30 +01:00
Phil Ringnalda
63d58feb4a Backed out 2 changesets (bug 1303113) for test_ext_cookies.html failures
CLOSED TREE

Backed out changeset f6c9241b40ec (bug 1303113)
Backed out changeset f4b8933f62ea (bug 1303113)
2017-01-21 12:20:41 -08:00
Gabor Krizsanits
8b31ae6749 Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-21 18:24:35 +01:00
Tooru Fujisawa
82e73ed5ac Bug 1321215 - Remove legacy generator from browser/. r=Paolo 2017-01-21 22:52:44 +09:00
Wes Kocher
ddc572ebce Backed out changeset 529ae909938a (bug 1303113) for frequent asan failures in test_ext_cookies.html a=backout
MozReview-Commit-ID: 9hU3ePb8tpn
2017-01-20 12:22:08 -08:00
Gabor Krizsanits
4ef662975e Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-20 15:52:07 +01:00
Wes Kocher
32faf4c617 Backed out changeset 0c891a3aff93 (bug 1303113) for test-oop-extensions failures a=backout CLOSED TREE
MozReview-Commit-ID: AU5hIBAmFKw
2017-01-19 11:29:42 -08:00
Gabor Krizsanits
c56ff65186 Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-19 17:43:05 +01:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Florian Quèze
a03918c148 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Florian Quèze
028a82f682 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Panos Astithas
e0efffb708 Bug 1282768 - Part 3 - Convert permission notifications to use two buttons and a checkbox instead of multiple secondary actions. r=florian
MozReview-Commit-ID: KNf04CBaLKB

--HG--
extra : rebase_source : 6c89da5ce541922f55db3853a7bf6f3b6cbc74fa
2016-11-20 18:40:26 +01:00
Ricky Chien
face48836d Bug 1317438 - Remove unnecessary whitespaces in about:privatebrowsing r=flod,Tomcat
MozReview-Commit-ID: 6PA3GXzAPah

--HG--
extra : rebase_source : e63b29c7d168c2bc4b46323f4c9bb92c1d74fb4b
2016-11-15 17:03:59 +08:00