Commit graph

1930 commits

Author SHA1 Message Date
Zibi Braniecki
9f6c244d29 Bug 1354445 - Migrate Intl.DateTimeFormat to mozIntl.DateTimeFormat in chrome. r=mak
MozReview-Commit-ID: 4z13lcLXN9T

--HG--
extra : rebase_source : 8043212542b95ca76cf5957fa1ca05e6943fb635
2017-04-08 23:04:32 -07:00
Sebastian Hengst
51beeffdec Backed out changeset bc87945ba833 (bug 1342178)
MozReview-Commit-ID: 2TLlzk8hOZY
2017-04-11 11:28:05 +02:00
Jonathan Hao
e5a3b0c533 Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO

--HG--
extra : rebase_source : 2512cb3e403093e0f18b3b979d7b4a10e3d7c42b
2017-04-11 10:14:10 +08:00
Mike de Boer
d84d119582 Bug 1350053 - Part 2 - Update tests to check the arrow panel to appear, instead of the notification bar. r=mossop
MozReview-Commit-ID: G4Hkb7KQ79X

--HG--
extra : rebase_source : cb959e1f87d69f0d89113fdcd15406c187a9e74b
2017-04-10 16:17:36 +02:00
Wes Kocher
59b56514c9 Backed out 4 changesets (bug 1342178) for frequent test_network_security.html failures a=backout
Backed out changeset 7f9114ffbcae (bug 1342178)
Backed out changeset f19289f0cfef (bug 1342178)
Backed out changeset 4afce44bc2b9 (bug 1342178)
Backed out changeset db9b64a44012 (bug 1342178)

--HG--
rename : devtools/shared/webconsole/test/test_network_security.html => devtools/shared/webconsole/test/test_network_security-hpkp.html
2017-04-10 12:34:10 -07:00
Jonathan Hao
851f486bfc Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO

--HG--
extra : rebase_source : e8cfe06ac3691d45bf97f61a3f5603cbec1bae39
2017-04-06 15:43:35 +08:00
Doug Thayer
f463069928 Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX

--HG--
extra : rebase_source : ee0c1e00fe3f99e16388f0de17274ff97a3b9fcf
2017-03-21 13:50:09 -07: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
Mark Banner
427e3b23dc Bug 1342459 - Fix various no-undef issues in browser/base. r=mossop
MozReview-Commit-ID: CRYxu7copKb

--HG--
extra : rebase_source : bc176c5e6890ffc6a4e26cb9bc9d441d9486ce7b
2017-04-04 13:42:33 +01:00
Mark Banner
1087fc1884 Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR

--HG--
extra : rebase_source : 482bdc039362347f35aec9fd15e07a143dccb860
2017-02-22 17:02:59 +00:00
Makoto Kato
cd753d1158 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : a8553684f8f106c1dfb6e2d9b51df7ebeb15275d
2017-03-29 15:34:49 +09:00
Phil Ringnalda
7ac3bd5b7e Backed out 3 changesets (bug 1351074) for reftest harness and browser_all_files_referenced.js bustage
CLOSED TREE

Backed out changeset 941e0f9ff9a7 (bug 1351074)
Backed out changeset 4fdf3b87a70b (bug 1351074)
Backed out changeset 586428f69838 (bug 1351074)
2017-04-02 19:46:49 -07:00
Makoto Kato
cd8761e0f4 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : 2143fcdf33c428c82c6b2e00b542649b958aeccc
2017-03-29 15:34:49 +09:00
Edouard Oger
d09f746bfb Bug 1345955 - Update FxA profile when push notification received. r=markh
MozReview-Commit-ID: 4LL6F5Qnnj4

--HG--
extra : rebase_source : 00bc6a445d22fdfb626e7af6ad62fb750f444460
2017-03-16 17:15:18 -04:00
Zack Herrick
84361e7e85 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 0266027fb3023d4cb155533193d6809d799de1e4
2017-03-29 11:52:08 -04:00
Sebastian Hengst
e86c4a75af Backed out changeset 9ef667136bbe (bug 1335907) for failing browser_datachoices_notification.js. r=backout 2017-03-28 23:43:11 +02:00
Leni Kadali
a1e32aff93 Bug 1346995 - Replace promiseErrorPageLoaded with BrowserTestUtils.waitForErrorPage in browser_ssl_error_reports.js r=johannh
Replaced it with BrowserTestUtils.waitForErrorPage instead.

MozReview-Commit-ID: KsVjMlaZaa6

--HG--
extra : rebase_source : 7754cd3eab18731b79afa7de0383ccb7fd39eb34
2017-03-28 18:14:16 +03:00
Zack Herrick
18ed059dcd Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 29359bb726a0ac8164d7304a2453ffeb8009e990
2017-03-28 14:32:54 -04:00
Blake Kaplan
42c38b539d Bug 1333428 - Wait for loads on new tabs to avoid double-counting. r=Felipe
MozReview-Commit-ID: 6O0L9A6qtUR

--HG--
extra : rebase_source : 44951b30400ca8341367e8ddd0eaf6bf6e0313f5
2017-03-27 15:44:52 -07:00
Johann Hofmann
5207d7e153 Bug 1349513 - Move tests related to web permissions from test/general to test/permissions. r=Gijs
MozReview-Commit-ID: 6nkSrgOtjTp

--HG--
rename : browser/base/content/test/general/browser_permissions.js => browser/base/content/test/permissions/browser_permissions.js
rename : browser/base/content/test/general/browser_temporary_permissions.js => browser/base/content/test/permissions/browser_temporary_permissions.js
rename : browser/base/content/test/general/browser_temporary_permissions_navigation.js => browser/base/content/test/permissions/browser_temporary_permissions_navigation.js
rename : browser/base/content/test/general/browser_temporary_permissions_tabs.js => browser/base/content/test/permissions/browser_temporary_permissions_tabs.js
rename : browser/base/content/test/general/permissions.html => browser/base/content/test/permissions/permissions.html
rename : browser/base/content/test/general/temporary_permissions_subframe.html => browser/base/content/test/permissions/temporary_permissions_subframe.html
extra : rebase_source : 2002c4ad94a31aec00d36288977eedf5ef6e47cd
2017-03-23 16:23:48 +01:00
Gijs Kruitbosch
3b26fd9456 Bug 1325841 - fix hiding popup icon when navigating the browser, r=Felipe
MozReview-Commit-ID: AXBgxwb3Jt

--HG--
rename : browser/base/content/test/general/browser_popupUI.js => browser/base/content/test/popups/browser_popupUI.js
rename : browser/base/content/test/general/browser_popup_blocker.js => browser/base/content/test/popups/browser_popup_blocker.js
rename : browser/base/content/test/general/popup_blocker.html => browser/base/content/test/popups/popup_blocker.html
extra : rebase_source : d03d139710882beaaac9581eab6b323e7bc82a45
2017-03-21 15:57:42 +00:00
Mats Palmgren
00b74113a3 Bug 1333482 part 4 - [css-ui] Amend all uses of '-moz-appearance:none' in tests to also specify 'appearance:none' (automated change). r=dholbert
MozReview-Commit-ID: BNOR5VRpV2E
2017-03-23 22:11:22 -07:00
Andrew Swan
42e0cf8db4 Bug 1342142 Part 2 Enable webextension permission prompts r=mossop
MozReview-Commit-ID: 5p4lvWXn9Hh

--HG--
extra : rebase_source : 26d0070e53b68053c497b6f5497008fe6348dec0
2017-03-10 16:05:26 -08:00
Mike Conley
a792e520a7 Bug 1340842 - Allow BrowserTestUtils.removeTab to pass options along to tabbrowser's removeTab method. r=mossop
There were options already being passed to BrowserTestUtils.removeTab, with only
a single property being observed, "dontRemove". This caused BrowserTestUtils.removeTab
to return a Promise once a tab is removed, but didn't actually remove the tab (as the
calling test would be responsible for that themselves). This patch removes that option,
and adds a method to BrowserTestUtils called tabRemoved to use for that case instead.

The options being passed to removeTab are now forwarded along directly to tabbrowser's
removeTab method.

MozReview-Commit-ID: JzfZuoZmlJ0

--HG--
extra : rebase_source : 71afc1f82ecd979b101a9f1a1ef1766185eefd75
2017-03-17 09:59:38 -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
c35121e343 Backed out changeset b3abd0e89699 (bug 1340842) 2017-03-22 16:40:02 +01:00
Mike Conley
eba3f6a314 Bug 1340842 - Allow BrowserTestUtils.removeTab to pass options along to tabbrowser's removeTab method. r=mossop
There were options already being passed to BrowserTestUtils.removeTab, with only
a single property being observed, "dontRemove". This caused BrowserTestUtils.removeTab
to return a Promise once a tab is removed, but didn't actually remove the tab (as the
calling test would be responsible for that themselves). This patch removes that option,
and adds a method to BrowserTestUtils called tabRemoved to use for that case instead.

The options being passed to removeTab are now forwarded along directly to tabbrowser's
removeTab method.

MozReview-Commit-ID: JzfZuoZmlJ0

--HG--
extra : rebase_source : cd9e7834f2f507b91cac8e9bb8e1dd58e2ba33d5
2017-03-17 09:59:38 -04: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
Gijs Kruitbosch
5da7cd6312 Bug 1348918 - add stupid comments to browser/base/content/test/general/browser.ini to dissuade people from adding tests, r=mossop
MozReview-Commit-ID: 9pP9Vvi1hn

--HG--
extra : rebase_source : bf277577fd9e486c23a819f2e916a2d4755daa9c
2017-03-20 18:06:40 +00:00
Wes Kocher
5d7c0bee97 Merge m-c to inbound a=merge
MozReview-Commit-ID: 860fBgcgHiy
2017-03-20 18:28:24 -07:00
Florian Queze
25f26ab751 Bug 1348570 - Make chrome://weave/locale/ point to the correct folder, r=markh. 2017-03-21 01:31:21 +01:00
Blake Kaplan
c6610ae7fd Bug 1333472 - Try to fix intermittent failures in browser_windowactivation.js. r=Felipe
MozReview-Commit-ID: E1jG1vLznvk

--HG--
extra : rebase_source : 31417c4ab76f822462e4e7367ae37bbfe7a4d411
2017-03-15 14:53:12 -07:00
Carsten "Tomcat" Book
d9ee923985 Backed out changeset 20537ebcebdb (bug 1303838) for eslint failure 2017-03-17 11:21:32 +01:00
Samael Wang
9e49902c09 Bug 1303838 - Switch to existing target tab when clicking links. r=smaug
Merge "DOMServiceWorkerFocusClient" & "DOMWebNotificationClicked"
to "DOMWindowFocus" event. Utilize the event to switch tab when
loading links to an existing target tab.

MozReview-Commit-ID: Hd1NkVkrJA1
2017-03-16 18:39:31 +08:00
Wes Kocher
c5d1991d35 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AuQEHTgSKcO
2017-03-16 14:07:10 -07:00
Florian Quèze
9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Florian Quèze
2ce3d7d34a Bug 1347947 - Move static checking browser mochitests to their own folder, r=Gijs.
--HG--
rename : browser/base/content/test/general/browser_misused_characters_in_strings.js => browser/base/content/test/static/browser_misused_characters_in_strings.js
rename : browser/base/content/test/general/browser_parsable_css.js => browser/base/content/test/static/browser_parsable_css.js
rename : browser/base/content/test/general/browser_parsable_script.js => browser/base/content/test/static/browser_parsable_script.js
rename : browser/base/content/test/general/bug1262648_string_with_newlines.dtd => browser/base/content/test/static/bug1262648_string_with_newlines.dtd
rename : browser/base/content/test/general/dummy_page.html => browser/base/content/test/static/dummy_page.html
rename : browser/base/content/test/general/parsingTestHelpers.jsm => browser/base/content/test/static/head.js
2017-03-16 19:26:01 +01:00
meghana
e10c319bc8 Bug 1346254 - Replaced promiseErrorPageLoaded with BrowserTestUtils.waitForErrorPage in browser_blockHPKP.js. r=johannh
MozReview-Commit-ID: 2JC9CHPXlow

--HG--
extra : rebase_source : 09ef4177aaf31c486d3e186d04c6f3f12d0a40f1
2017-03-15 22:52:54 +05:30
Blake Kaplan
055ce9bebc Bug 1346286 - Remove CPOWs from browser_aboutNetError.js. r=Gijs
MozReview-Commit-ID: 8famORaY5uA

--HG--
extra : rebase_source : 12b4ee454d3e2d8c20774340279f8e901a5cbb61
2017-03-09 14:49:33 -08:00
Blake Kaplan
c5c981fc5c Bug 1346286 - Remove CPOWs from browser_aboutCertError.js. r=Gijs
MozReview-Commit-ID: A7y6UfyHut0

--HG--
extra : rebase_source : 1c27e0ab935548c6315d628c1696f64299f0d509
2017-03-09 14:38:02 -08:00
Blake Kaplan
09a883b653 Bug 1346286 - Remove CPOWs from browser_bug882977.js. r=Felipe
MozReview-Commit-ID: L55dGxD3tZ1

--HG--
extra : rebase_source : 0ec6542a87761b5b514310b48841926357ebbd1e
2017-03-09 11:23:27 -08:00
Blake Kaplan
65ed1c4695 Bug 1346286 - Remove CPOWs from browser_bug749738.js. r=Felipe
MozReview-Commit-ID: 3gKvozefXY9

--HG--
extra : rebase_source : b761ac645af959ab01bf65290f4b04ca4d756955
2017-03-09 10:33:05 -08:00
Jared Wein
925e02b6ec Bug 1347329 - Move the select tests to a forms subdirectory and split apart the color tests to their own file since the test was getting very long. r=mossop
MozReview-Commit-ID: IGjS2aiL4a2

--HG--
rename : browser/base/content/test/general/browser_selectpopup.js => browser/base/content/test/forms/browser_selectpopup.js
extra : rebase_source : cf2a9bee2cbc46808c0f559baddd50cbdae90aab
2017-03-14 19:27:33 -04:00
Jared Wein
3581faf3a2 Bug 1347329 - Make sure that the nth-child index gets updated when recursing so that colors get applied correctly when optgroups are used. r=mossop
This problem only occurs when optgroups are involved since they introduce recursion in to the menu-building code and we weren't correctly passing state through
the recursion.

MozReview-Commit-ID: 514zcjgXbIY

--HG--
extra : rebase_source : fdb9309ec8b08f5ab8ca77d901065d5e7db1617f
2017-03-14 19:06:57 -04:00
Sebastian Hengst
8eb3901b10 Backed out changeset 899f6ba2fe55 (bug 1347329) for failing browser_selectpopup_colors.js. r=backout 2017-03-16 00:25:57 +01:00
Sebastian Hengst
410ac14947 Backed out changeset a84419a2e52d (bug 1347329)
--HG--
rename : browser/base/content/test/forms/browser_selectpopup.js => browser/base/content/test/general/browser_selectpopup.js
2017-03-16 00:24:47 +01:00
Jared Wein
3ec2d298ad Bug 1347329 - Move the select tests to a forms subdirectory and split apart the color tests to their own file since the test was getting very long. r=mossop
MozReview-Commit-ID: IGjS2aiL4a2

--HG--
rename : browser/base/content/test/general/browser_selectpopup.js => browser/base/content/test/forms/browser_selectpopup.js
extra : rebase_source : cf2a9bee2cbc46808c0f559baddd50cbdae90aab
2017-03-14 19:27:33 -04:00
Jared Wein
4bccf8475b Bug 1347329 - Make sure that the nth-child index gets updated when recursing so that colors get applied correctly when optgroups are used. r=mossop
This problem only occurs when optgroups are involved since they introduce recursion in to the menu-building code and we weren't correctly passing state through
the recursion.

MozReview-Commit-ID: 514zcjgXbIY

--HG--
extra : rebase_source : fdb9309ec8b08f5ab8ca77d901065d5e7db1617f
2017-03-14 19:06:57 -04:00
Blake Kaplan
067318cce2 Bug 1346286 - Remove CPOWs from browser_bug578534.js. r=Felipe
MozReview-Commit-ID: FSfxudfBSC9

--HG--
extra : rebase_source : 85a7f856f4639dd66e02ecbac1e91c433d565ba6
2017-02-17 16:52:09 -08:00
Jared Wein
376eb5a539 Bug 1347089 - Consolidate some of the testing functions to remove duplication. r=mossop
MozReview-Commit-ID: IsBwyICdS6d

--HG--
extra : rebase_source : 5d6a7d8b556f831ab02e044acb5ab84803421a17
2017-03-14 14:56:23 -04:00