Commit Graph

294 Commits

Author SHA1 Message Date
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
Geoff Brown
01da2945e7 Bug 1394963 - Skip browser_newtab_fullscreen_focus.js on osx/debug for 200+ failures; r=me,test-only 2017-10-02 16:31:41 -06:00
Ed Lee
2370795ab6 Bug 1338836 - Skip browser_newtab_bug725996.js for mac/win debug. r=jmaher
MozReview-Commit-ID: ADy2igmNNKX
2017-08-26 20:43:25 -07:00
Ed Lee
614a8f7240 Bug 1338848 - Skip browser_newtab_bug725996.js for mac/win debug. r=jmaher
MozReview-Commit-ID: 6i2x1FAdBwk
2017-08-23 13:48:46 -07:00
Andrew Halberstadt
1ecb0adc26 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Phil Ringnalda
5e91797776 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
6c60ffa524 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Fischer.json
4cadedde2c Bug 1386226 - Perma failure when 56 merges to beta in browser/base/content/test/newtab/browser_newtab_focus.js, r=mossop
This commit

- Fixes the focus count failure. The bug 1375793 turned on the onboarding on all channels but this test still checks `AppConstants.NIGHTLY_BUILD`. Hence although the onboarding is enabled on Beta, this test thought it is disabled and missed counting the onboarding elements. The solution is to remove `AppConstants.NIGHTLY_BUILD` condition.

- Updates the `promiseTourNotificationOpened` function the same as the bug 1383070 btw

MozReview-Commit-ID: 2TVyqDxMGS6
2017-08-02 15:57:33 +08:00
Fischer.json
f2f95ef920 Bug 1377439 - Should adapt the oboarding UI to the hight-contrast display mode, r=mossop
This patch makes the mininmum and the important elements and images visible in the high-constrast mode, including
- making button have border (using the given default grey border in the high-constrast mode)
- making the upper-left overlay button's fox image visible
- making the images of the X close buttons on the notification bar and on the overlay visible
- making that the navigation item of the current tour on the overlay's right side would have outline
- making the hovered navigation item on the overlay's right side would have outline
- making sure using <button> element for buttons for a better semantic
- changing #onboarding-overlay-icon to #onboarding-overlay-button for a better semantic

MozReview-Commit-ID: Aj6wndb4to9
2017-07-18 14:26:25 +08:00
Fischer.json
4734586594 Bug 1372067 - Part 2: Add the test cases, r=mossop
This commit
- splits up the browser_onboarding_notification.js test
- adds the test_mute_notification_on_1st_session test case
- adds the test_move_on_to_next_notification_when_reaching_max_prompt_count test case
- adds the test_move_on_to_next_notification_when_reaching_max_life_time test case
- adds the test_move_on_to_next_notification_after_interacting_with_notification test case
- updates the existing test cases for the new notification timing policy
- updates the browser_newtab_focus.js test

MozReview-Commit-ID: Ej2bHJSr35z
2017-07-12 12:44:34 +08:00
gasolin
deebde5126 Bug 1379860 - shipping origin new tab page view by default;r=Gijs
MozReview-Commit-ID: DGVBYXs6WZH
2017-07-11 16:08:58 +08:00
Fischer.json
d1f203b768 Bug 1377433 - Should not do the sliding-up tour notification transition, r=mossop
MozReview-Commit-ID: L4aDUF1s9OI
2017-06-30 06:37:09 -07:00
gasolin
26497b51d2 Bug 1369287 - shipping compact new tab page view by default;r=Gijs
MozReview-Commit-ID: FTEicOcGqtv
2017-06-27 11:13:15 -07:00
Fischer.json
5ede4ba7c7 Bug 1357641 - Part 2: Add the browser_onboarding_notification.js test, r=mossop
MozReview-Commit-ID: 8kEDXaQ0zqK
2017-06-16 17:44:06 +08:00
Phil Ringnalda
4cb0288799 Backed out 2 changesets (bug 1357641) for OS X near-permaorange in browser_permissionsPromptDeny.js
Backed out changeset ad8486907154 (bug 1357641)
Backed out changeset 3eb9c03bd0cd (bug 1357641)

MozReview-Commit-ID: DuESQH4FecO
2017-06-22 20:44:50 -07:00
Fischer.json
6deeb32c11 Bug 1357641 - Part 2: Add the browser_onboarding_notification.js test, r=mossop
MozReview-Commit-ID: 8kEDXaQ0zqK
2017-06-16 17:44:06 +08:00
k88hudson
7eb4d7aecc Bug 1369875 - Turn off activity-stream.enabled for new tab related tests r=Mardak
MozReview-Commit-ID: Gx3itUrHICL
2017-06-02 16:33:18 -04:00
Mike Conley
16cece1794 Bug 1367621 - Regression test to ensure that the URL bar is focused when new tabs are opened in fullscreen mode. r=Felipe
MozReview-Commit-ID: 66Rl2U2Kdbl
2017-05-26 12:21:25 -04:00
Phil Ringnalda
463c93a002 Backed out 2 changesets (bug 1367621) for breaking the next test, browser_newtab_perwindow_private_browsing.js, on OS X
CLOSED TREE

Backed out changeset fedfdd4d63bc (bug 1367621)
Backed out changeset 92cd7b48120b (bug 1367621)

MozReview-Commit-ID: E1kuaL830LG
2017-05-26 19:29:27 -07:00
Mike Conley
60d337041c Bug 1367621 - Regression test to ensure that the URL bar is focused when new tabs are opened in fullscreen mode. r=Felipe
MozReview-Commit-ID: 66Rl2U2Kdbl
2017-05-26 12:21:25 -04:00
Christoph Kerschbaumer
5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +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
Ed Lee
e4a81ec969 Bug 1241390 - Remove Suggested Tiles and related features. r=adw,emtwo
Remove suggested and enhanced tiles along with related campaign, frequency-cap, inadjacency, pings, preferences, strings, styles, tests.

MozReview-Commit-ID: FkjaSpSFQHu
2017-05-02 17:09:16 -07:00
Frederik Braun
fda653356c Bug 1359350: Add no-eval rule to eslint config (and whitelist failures in tests) r=standard8
MozReview-Commit-ID: 4nYlX4sSdbF
2017-05-08 14:50:50 +02:00
Ehsan Akhgari
eddfbe11b2 Bug 1360788 - Part 2: Remove some dead code that is left over from bug 1077652 2017-05-02 19:03:57 -04:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Mark Banner
25c75db032 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
2017-04-05 10:00:25 +01:00
Mark Banner
ec9074e132 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
2017-03-20 12:36:37 +01:00
Florian Quèze
49d8db6821 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
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
Geoff Brown
9e6b1f2d5f Bug 1243398 - Move browser_newtab_undo.js to clipboard subsuite; r=jmaher
browser_newtab_undo.js is failing frequently on Windows.
In bug 1243103, similar failures were seen in browser_newtab_drag_drop_ext.js
until it was moved to the clipboard subsuite. Let's try to avoid failures
here the same way.
2017-01-25 11:11:50 -07:00
Florian Quèze
91f7a2ef3a 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
Andrew Halberstadt
9235b09a35 Bug 1333506 - Remove inline comment in manifestparser because they are not supported, r=gbrown
Manifestparser currently only supports inline comments on conditional keys (skip-if, subsuite-if, etc). This
is dumb behaviour, and bug 1333564 tracks doing something about it. Until then, lets just move this comment
to its own line so the test gets filtered properly.

MozReview-Commit-ID: ITkjKgZR5aH
2017-01-24 16:33:17 -05:00
Jared Wein
0c2dd4fa35 Bug 1329017 - Enable the no-useless-return rule for eslint and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: 2MhpvzUDgtK
2017-01-06 12:09:28 -05:00
Dão Gottwald
08ad0e2efc Bug 1322737 - Implement ability to show basic placeholders for missing about:newtab thumbnails. r=gijs 2017-01-06 15:00:25 +01:00
Dão Gottwald
51ee83518a Bug 1322738 - Implement compact about:newtab tiles styling. r=gijs 2017-01-04 22:39:52 +01:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05: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
Alessio Placitelli
ef64b5d943 Bug 1315650 - Add a longer timeout for searchbar suggestions in tests. r=mak
MozReview-Commit-ID: 4dkkibfGFMv
2016-12-20 06:37:00 +01:00
Tracy Walker
aea4930c04 Bug 1119906 - Temporarily skip browser_newtab_bug722273.js on OSX debug until it can be made more reliable. r=jmaher 2016-11-23 11:54:42 -06:00
Andrea Marchesini
a0f9b83d87 Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Sebastian Hengst
85e0c09e58 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Andrea Marchesini
8b521463f7 Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01: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