Граф коммитов

658 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kingston f7836739e6 Bug 1585582 - Set appcache prefs on before start to prevent races in tests. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D47977

--HG--
extra : moz-landing-system : lando
2019-10-16 15:36:52 +00:00
Gregory Mierzwinski 5694febebf Bug 1586346 - Remove duplicate pref setting in raptor's user.js file. r=perftest-reviewers,stephendonner
There is a duplicate setting for a pref in raptor's user.js file. This patch removes the duplicate.

Differential Revision: https://phabricator.services.mozilla.com/D48204

--HG--
extra : moz-landing-system : lando
2019-10-04 17:18:03 +00:00
Gregory Mierzwinski f62dd43b6a Bug 1575575 - Add fullscreen and windowed youtube-playback power tests. r=perftest-reviewers,stephendonner,dhouse,rwood
This patch adds fullscreen and windowed youtube tests for the V9 and H264 encoding at 1080p30 and 1080p60. Each subtest runs for 20 page cycles which amounts to about 5 minutes each. It also begins adding these to power test tasks running on the macosx-1014 reference hardware.

Differential Revision: https://phabricator.services.mozilla.com/D45067

--HG--
extra : moz-landing-system : lando
2019-09-26 22:18:54 +00:00
alwu 4f6d0ab620 Bug 1578615 - part10 : do not enable delaying autoplay during test by default. r=chunmin
Tests which use this feature on testing should enable the pref explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D45756

--HG--
extra : moz-landing-system : lando
2019-09-25 21:43:38 +00:00
Brian Birtles 4ac6763bca Bug 1579062 - Set dom.animations-api.implicit-keyframes.enabled to true for all WPT; r=daisuke
This pref is required by the common animation interpolation test function used
in many of the CSS test suites but currently we only enable it on Nightly. As a
result, each time a new spec adds animation tests, we get failures on our beta
simulations. Rather than turn this on for each directory it is used in each
time a new failure occurs, this patch makes us set it globally.

This patch also removes a number of instances where we set this pref locally.
It only removes the instances that were specifically added due to the
introduction of the common CSS interpolation test function. The existing
instances remain untouched since they serve as documentation of other places
where we are specifically testing that feature.

Differential Revision: https://phabricator.services.mozilla.com/D47034

--HG--
extra : moz-landing-system : lando
2019-09-25 04:20:58 +00:00
Stephen Donner 7c97cf5c65 Bug 1578542: Raptor tests with Firefox crashes are not failing. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D46955

--HG--
extra : moz-landing-system : lando
2019-09-24 16:04:18 +00:00
arthur.iakab fa7fa3bd09 Backed out changeset 899aa346b320 (bug 1564920)for causing the logs to become to big to parse. 2019-09-24 01:39:40 +03:00
Dylan Roeh 18fc9d9b6b Bug 1564920 - Add browser.safebrowsing.debug to test environment prefs. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D46658

--HG--
extra : moz-landing-system : lando
2019-09-20 22:09:37 +00:00
Rob Wu 7fcc427ac6 Bug 1581223 - Ignore extension warning by Raptor on Android r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D45919

--HG--
extra : moz-landing-system : lando
2019-09-16 16:34:19 +00:00
Rob Wu 64ad4811f6 Bug 1570715 - Treat (deprecation) warnings as errors r=rpl
Add new preference `extensions.webextensions.warnings-as-errors` that
defaults to `true` in tests. Tests that expect warnings are modified
to briefly flip the pref for the specific part of the test that needs
an exception.

As part of the refactor, log entries for schema entries that contain
`"onError": "warn"` will now be prefixed by "Warning" instead of
"Error", to be consistent with the change from bug 1495908.

Differential Revision: https://phabricator.services.mozilla.com/D40548

--HG--
extra : moz-landing-system : lando
2019-09-16 16:35:59 +00:00
Narcis Beleuzu 1cb9dbb638 Backed out 2 changesets (bug 1570715) for causing tp6m raptor failures
Backed out changeset e7364a10a663 (bug 1570715)
Backed out changeset 51824b1dda97 (bug 1570715)
2019-09-14 16:00:00 +03:00
Rob Wu 75fd473720 Bug 1570715 - Treat (deprecation) warnings as errors r=rpl
Add new preference `extensions.webextensions.warnings-as-errors` that
defaults to `true` in tests. Tests that expect warnings are modified
to briefly flip the pref for the specific part of the test that needs
an exception.

As part of the refactor, log entries forschema entries that contain
`"onError": "warn"` will now be prefixed by "Warning" instead of
"Error", to be consistent with the change from bug 1495908.

Differential Revision: https://phabricator.services.mozilla.com/D40548

--HG--
extra : moz-landing-system : lando
2019-09-12 21:39:51 +00:00
Gijs Kruitbosch 9f3a3e9669 Bug 1578709 - Only set flash only pref for those tests that need it, r=mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44648

--HG--
extra : moz-landing-system : lando
2019-09-04 22:12:39 +00:00
Gurzau Raul f96e9cd73f Backed out changeset 887d125d7f59 (bug 1578709) for failing at test_bug427744.html on a CLOSED TREE. 2019-09-04 21:34:11 +03:00
Gijs Kruitbosch bb899238e7 Bug 1578709 - Only set flash only pref for those tests that need it, r=mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44648

--HG--
extra : moz-landing-system : lando
2019-09-04 17:28:02 +00:00
Elliot Stirling 650412e66c Bug 1521094 - Basic API for handling nsIHangReport in GeckoView r=geckoview-reviewers,snorp
Hooks up slow script reporting to the ContentDelegate. Allowing slow script prompts to be implemented.

Differential Revision: https://phabricator.services.mozilla.com/D41970

--HG--
extra : moz-landing-system : lando
2019-08-29 15:51:55 +00:00
Geoff Brown a473bf7d94 Bug 1554326 - Always set toolkit.telemetry.eventping.enabled during xpcshell tests; r=snorp
My previous attempt updated the wrong test profile, which does not apply to xpcshell tests.
This applies the pref override to xpcshell tests only, the only place we need it.

Differential Revision: https://phabricator.services.mozilla.com/D42865

--HG--
extra : moz-landing-system : lando
2019-08-21 18:24:47 +00:00
Ed Lee d8f9b0b88f Bug 1572682 - Switch performance tests to measure common case non-triplets new tab page r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D41751

--HG--
extra : moz-landing-system : lando
2019-08-13 13:47:48 +00:00
L. David Baron 85cac89c70 Bug 1561792 - Rename the pref gfx.font_ahem_antialias_none to gfx.font_rendering.ahem_antialias_none to avoid the additional pref observer added in the previous patch. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41068

--HG--
extra : moz-landing-system : lando
2019-08-07 20:46:04 +00:00
Andrew Swan 2bc629da76 Bug 1571885 Avoid making requests to AMO during reftests r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D41014

--HG--
extra : moz-landing-system : lando
2019-08-07 14:32:33 +00:00
Andrew Swan 9ae0346584 Bug 1563794 Don't make external requests for addon compat overrides in automation r=zombie
Also, remove an old obsolete preference (getWithPerformance) from test profiles.

Differential Revision: https://phabricator.services.mozilla.com/D40623

--HG--
extra : moz-landing-system : lando
2019-08-05 17:11:10 +00:00
Geoff Brown 666781b9c0 Bug 1554326 - Always set toolkit.telemetry.eventping.enabled during unit tests; r=snorp
This pref defaults to true, but geckoview builds set it to false. Several tests assume
this pref is set; some android xpcshell tests currently fail when run against the geckoview apk
for this reason. Setting the pref in the test profile means that geckoview tests will run
with a different pref value than geckoview would normally use, but aligns the geckoview
test environment with firefox. (An alternative would be to skip geckoview tests that rely
on the pref.)

Differential Revision: https://phabricator.services.mozilla.com/D38585

--HG--
extra : moz-landing-system : lando
2019-07-23 14:01:36 +00:00
Geoff Brown 06c0e8ef5b Bug 1565699 - Set consoleservice.logcat pref when running unittests, regardless of branch; r=ahal,kmag
Differential Revision: https://phabricator.services.mozilla.com/D38199

--HG--
extra : moz-landing-system : lando
2019-07-16 18:33:23 +00:00
Brindusan Cristian 535145f197 Backed out 2 changesets (bug 1556789) on request from aryx for causing Bug 1565836. a=backout
Backed out changeset ca5fdf3a0ddd (bug 1556789)
Backed out changeset 19419ff4e756 (bug 1556789)
2019-07-13 20:52:45 +03:00
Shane Caraveo 36bce0da93 Bug 1556789 - Refactor extension install in searchservice to use promises r=robwu,daleharvey
This provides a set of promises that the searchservice resolves once the search engine has been configured

Differential Revision: https://phabricator.services.mozilla.com/D33660

--HG--
extra : moz-landing-system : lando
2019-07-12 19:33:32 +00:00
Gurzau Raul 7a46596592 Backed out 2 changesets (bug 1556789) for assertion failures in FF functional tests on a CLOSED TREE.
Backed out changeset 2d10e95cf0cd (bug 1556789)
Backed out changeset 0acf6bafda0f (bug 1556789)
2019-07-12 04:45:46 +03:00
Shane Caraveo b2cb7defd5 Bug 1556789 - Refactor extension install in searchservice to use promises r=robwu,daleharvey
This provides a set of promises that the searchservice resolves once the search engine has been configured

Differential Revision: https://phabricator.services.mozilla.com/D33660

--HG--
extra : moz-landing-system : lando
2019-07-11 18:42:00 +00:00
Noemi Erli 6de41e7f85 Backed out 2 changesets (bug 1556789) for failures in test_engines_on_restart.py
Backed out changeset 5488dbd0fa34 (bug 1556789)
Backed out changeset 021d8cd8ba70 (bug 1556789)
2019-07-11 03:37:26 +03:00
Shane Caraveo 7a246d97fe Bug 1556789 - Refactor extension install in searchservice to use promises r=robwu,daleharvey
This provides a set of promises that the searchservice resolves once the search engine has been configured

Differential Revision: https://phabricator.services.mozilla.com/D33660

--HG--
extra : moz-landing-system : lando
2019-07-10 22:47:02 +00:00
Rob Wood a5885f4602 Bug 1559798 - Begin polling for the results (runner.js) only after the pageload.js code has been invoked in the test page content r=acreskey,tarek
Differential Revision: https://phabricator.services.mozilla.com/D35261

--HG--
extra : moz-landing-system : lando
2019-06-19 20:56:16 +00:00
Mathieu Leplatre a102f01554 Bug 1543598 - Move OneCRL and Pinning blocklist clients out of services r=jcj,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32297

--HG--
rename : services/common/tests/unit/test_blocklist_onecrl.js => security/manager/ssl/tests/unit/test_blocklist_onecrl.js
rename : services/common/tests/unit/test_blocklist_pinning.js => security/manager/ssl/tests/unit/test_blocklist_pinning.js
extra : moz-landing-system : lando
2019-06-11 10:14:40 +00:00
Andrei Oprea 24ef56e276 Bug 1555467 - Disable Remote Settings providers causing intermittent failures for browser_asrouter_trigger_listeners.js r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D34122

--HG--
extra : moz-landing-system : lando
2019-06-11 09:01:18 +00:00
Daniel Holbert df03876416 Bug 1556855 part 2: Update tests to assume that 'layout.css.prefixes.webkit' is already true. r=mats
(The pref is about to be removed, but even before its removal, it defaults to
'true' so these tests don't need to bother setting/checking it.)

Differential Revision: https://phabricator.services.mozilla.com/D33805

--HG--
extra : moz-landing-system : lando
2019-06-05 18:22:39 +00:00
Mark Striemer 89f6a1aa42 Bug 1550911 - Show recommendations on extension and theme lists r=robwu,flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D30745

--HG--
extra : moz-landing-system : lando
2019-06-04 01:50:33 +00:00
Boris Zbarsky cc371c6881 Bug 1485842. Fix pref handling in the wpt harness to deal with prefs that aren't set already. r=jgraham,karlt
Differential Revision: https://phabricator.services.mozilla.com/D33085

--HG--
extra : moz-landing-system : lando
2019-05-30 08:38:18 +00:00
Edouard Oger 3f836271b7 Bug 1554724 - Disable push connection for perf tests. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D32930

--HG--
extra : moz-landing-system : lando
2019-05-29 01:15:44 +00:00
alwu 2425d24591 Bug 1550633 - part16 : turn off the pref 'media.block-autoplay-until-in-foreground' in wpt. r=jgraham
Sometime wpt runs test even before the document becomes visible, which would delay `video.play()` and cause `play()` running in wrong order.

Differential Revision: https://phabricator.services.mozilla.com/D32079

--HG--
extra : moz-landing-system : lando
2019-05-24 00:40:55 +00:00
Henrik Skupin 7ac54a42f3 Bug 1546880 - Remove usage of proxy server from testing/profiles/perf/user.js. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32376

--HG--
extra : moz-landing-system : lando
2019-05-23 23:45:18 +00:00
Andreea Pavel ed8cf51b98 Backed out 23 changesets (bug 1550633) for causing bug 1548454 to permafail on a CLOSED TREE
Backed out changeset ce4a146da49d (bug 1550633)
Backed out changeset e1a33576d6ad (bug 1550633)
Backed out changeset bbd8f62b9bff (bug 1550633)
Backed out changeset 583d4e0945ad (bug 1550633)
Backed out changeset 29487a59512d (bug 1550633)
Backed out changeset 0f6ddd898e89 (bug 1550633)
Backed out changeset fd1afdd721e3 (bug 1550633)
Backed out changeset d4a6c1337f89 (bug 1550633)
Backed out changeset 2d4773f2dc6c (bug 1550633)
Backed out changeset e9dea69efffe (bug 1550633)
Backed out changeset 4265dd65cec3 (bug 1550633)
Backed out changeset 2aaaa42c409b (bug 1550633)
Backed out changeset d85485f76233 (bug 1550633)
Backed out changeset b6e8370b6efb (bug 1550633)
Backed out changeset afaef937598b (bug 1550633)
Backed out changeset 470d8fae0461 (bug 1550633)
Backed out changeset 8024fcefe8b1 (bug 1550633)
Backed out changeset 224eadc5ef27 (bug 1550633)
Backed out changeset 26c3c521ce27 (bug 1550633)
Backed out changeset def294ad0efb (bug 1550633)
Backed out changeset b15cc6e689e7 (bug 1550633)
Backed out changeset be178934cbbb (bug 1550633)
Backed out changeset 9893ccf1f8ad (bug 1550633)
2019-05-24 03:38:26 +03:00
alwu 8657110169 Bug 1550633 - part16 : turn off the pref 'media.block-autoplay-until-in-foreground' in wpt. r=jgraham
Sometime wpt runs test even before the document becomes visible, which would delay `video.play()` and cause `play()` running in wrong order.

Differential Revision: https://phabricator.services.mozilla.com/D32079

--HG--
extra : moz-landing-system : lando
2019-05-23 17:58:40 +00:00
mandy cheang 5767663a4e Bug 1541233 - Don't load customization style sheets if toolkit.legacyUserProfileCustomizations.stylesheets pref is not set. r=mconley,emilio
Differential Revision: https://phabricator.services.mozilla.com/D31670

--HG--
extra : moz-landing-system : lando
2019-05-23 12:06:09 +00:00
Mihai Alexandru Michis 6026c240e3 Backed out 22 changesets (bug 1550633) for browser-chrome failure at browser_cache.js. CLOSED TREE
Backed out changeset 87067f045e1e (bug 1550633)
Backed out changeset a42883570179 (bug 1550633)
Backed out changeset bf1426571565 (bug 1550633)
Backed out changeset 97f61668f78c (bug 1550633)
Backed out changeset e22ef6f848aa (bug 1550633)
Backed out changeset 22213d6f047c (bug 1550633)
Backed out changeset 27e03b195718 (bug 1550633)
Backed out changeset 9a5e3e6b8c21 (bug 1550633)
Backed out changeset d338d667dcbd (bug 1550633)
Backed out changeset abc099f50543 (bug 1550633)
Backed out changeset ed0f76cca0d9 (bug 1550633)
Backed out changeset 4b193e156faa (bug 1550633)
Backed out changeset fefc8d667b9c (bug 1550633)
Backed out changeset e4128df1406b (bug 1550633)
Backed out changeset 9ad7d7b5ef6d (bug 1550633)
Backed out changeset d8fdfd9505bf (bug 1550633)
Backed out changeset 679ce0bdbf18 (bug 1550633)
Backed out changeset f75c225dc273 (bug 1550633)
Backed out changeset 4346465d73b1 (bug 1550633)
Backed out changeset 4c8fd0720cc2 (bug 1550633)
Backed out changeset 81545b2c0b58 (bug 1550633)
Backed out changeset 12fc5abcd066 (bug 1550633)
2019-05-23 11:54:26 +03:00
alwu 7d9efb558d Bug 1550633 - part16 : turn off the pref 'media.block-autoplay-until-in-foreground' in wpt. r=jgraham
Sometime wpt runs test even before the document becomes visible, which would delay `video.play()` and cause `play()` running in wrong order.

Differential Revision: https://phabricator.services.mozilla.com/D32079

--HG--
extra : moz-landing-system : lando
2019-05-22 19:50:40 +00:00
Andrew Creskey ad2afb1825 Bug 1550075 - Add android user profile to raptor, enable smart disk cache sizing r=rwood
A new user profile, raptor-android, was added. This profile is merged with existing profiles in RaptorAndroid.
browser.cache.disk.smart_size.enabled was enabled in test since it is enabled in shipped apps.
See https://searchfox.org/mozilla-central/rev/11cfa0462a6b5d8c5e2111b8cfddcf78098f0141/mobile/android/app/mobile.js#74

Differential Revision: https://phabricator.services.mozilla.com/D31336

--HG--
extra : moz-landing-system : lando
2019-05-22 13:23:05 +00:00
Brindusan Cristian 5b1da8059b Backed out changeset 09df445cbdd9 (bug 1550075) for f8 linting failure at raptor.py:857:10. CLOSED TREE 2019-05-22 15:47:40 +03:00
Andrew Creskey d3c69a3d77 Bug 1550075 - Add android user profile to raptor, enable smart disk cache sizing r=rwood
A new user profile, raptor-android, was added. This profile is merged with existing profiles in RaptorAndroid.
browser.cache.disk.smart_size.enabled was enabled in test since it is enabled in shipped apps.
See https://searchfox.org/mozilla-central/rev/11cfa0462a6b5d8c5e2111b8cfddcf78098f0141/mobile/android/app/mobile.js#74

Differential Revision: https://phabricator.services.mozilla.com/D31336

--HG--
extra : moz-landing-system : lando
2019-05-22 12:13:47 +00:00
Cosmin Sabou 17df5e7158 Backed out changeset 5862c607fcc2 (bug 1550075) for eslint failure on raptor-android/user.js. 2019-05-22 01:50:11 +03:00
Andrew Creskey 8cd21a5822 Bug 1550075 - Add android user profile to raptor, enable smart disk cache sizing r=rwood
A new user profile, raptor-android, was added. This profile is merged with existing profiles in RaptorAndroid.
browser.cache.disk.smart_size.enabled was enabled in test since it is enabled in shipped apps.
See https://searchfox.org/mozilla-central/rev/11cfa0462a6b5d8c5e2111b8cfddcf78098f0141/mobile/android/app/mobile.js#74

Differential Revision: https://phabricator.services.mozilla.com/D31336

--HG--
extra : moz-landing-system : lando
2019-05-21 22:13:07 +00:00
Chris Pearce 00a43a7a06 Bug 1540573 - p7. Modify CSP tests to use preload=2 on (emulated) cellular connections. r=jya
The Content Security Policy tests were handling the smaller android preload
values that were #defined on Android by setting media.preload.default=2.  Now
that we're detecting whether we're on cellular or not, and the android
emulators that our tests run on emulate a cellular connection, just setting
media.preload.default is no longer enough.

So set media.preload.default.cellular=2 in the CSP mochitests instead of
media.preload.default, to make the CSP mochitests pass in the Android
emulators.

Differential Revision: https://phabricator.services.mozilla.com/D29617

--HG--
extra : moz-landing-system : lando
2019-05-06 22:43:18 +00:00
Andreea Pavel e2388edd9f Backed out 7 changesets (bug 1540573) for causing bug 1548441
Backed out changeset dd882b8cd73e (bug 1540573)
Backed out changeset b10d2cae45f2 (bug 1540573)
Backed out changeset 270a8917377f (bug 1540573)
Backed out changeset 3db059b34e40 (bug 1540573)
Backed out changeset fe196b2dfc62 (bug 1540573)
Backed out changeset 1bde5042e507 (bug 1540573)
Backed out changeset 4ff116b9d729 (bug 1540573)
2019-05-03 20:35:27 +03:00
Chris Pearce fb8bc549b9 Bug 1540573 - p7. Modify CSP tests to use preload=2 on (emulated) cellular connections. r=jya
The Content Security Policy tests were handling the smaller android preload
values that were #defined on Android by setting media.preload.default=2.  Now
that we're detecting whether we're on cellular or not, and the android
emulators that our tests run on emulate a cellular connection, just setting
media.preload.default is no longer enough.

So set media.preload.default.cellular=2 in the CSP mochitests instead of
media.preload.default, to make the CSP mochitests pass in the Android
emulators.

Differential Revision: https://phabricator.services.mozilla.com/D29617

--HG--
extra : moz-landing-system : lando
2019-05-03 02:45:06 +00:00
Andrei Oprea 555af1c529 Bug 1540939 - Remove SnippetsFeed and related components r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D27252

--HG--
extra : moz-landing-system : lando
2019-04-24 07:41:50 +00:00
Kris Maglione 1c39319950 Bug 1540856: Part 1 - Remove useless references to lightweightThemes preferences. r=aswan,dao
Differential Revision: https://phabricator.services.mozilla.com/D25677

--HG--
extra : rebase_source : d65a8b4e152342fd039cf35a410311f7ac664c9c
extra : histedit_source : c3fc70a285b39a6a8c09bac963211159573a5d09
2019-04-01 15:22:20 -07:00
Ting-Yu Lin 7f6824aa03 Bug 1493317 Part 2 - Enable AccessibleCaret in unit tests. r=jchen
And use correct AccessibleCaret preference to disable it individually in tests.

Differential Revision: https://phabricator.services.mozilla.com/D10299

--HG--
extra : moz-landing-system : lando
2019-03-16 07:38:34 +00:00
Johann Hofmann 7175d71e03 Bug 1529643 - Don't do MitM priming in tests. r=whimboo,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D22407

--HG--
extra : moz-landing-system : lando
2019-03-13 23:37:01 +00:00
Gurzau Raul c747f02899 Backed out 2 changesets (bug 1529643) for eslint failure at NetErrorChild.jsm on a CLOSED TREE.
Backed out changeset 000dfd4caca0 (bug 1529643)
Backed out changeset e4718a35d70b (bug 1529643)
2019-03-14 01:09:43 +02:00
Johann Hofmann 5f4d44a59c Bug 1529643 - Don't do MitM priming in tests. r=whimboo,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D22407

--HG--
extra : moz-landing-system : lando
2019-03-13 21:04:04 +00:00
James Willcox 066c2a84e4 Bug 1524992 - Followup to add newline r=mbrubeck,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D23192

--HG--
extra : moz-landing-system : lando
2019-03-12 19:22:16 +00:00
James Willcox 0871175ad0 Bug 1524992 - Allow external data: URIs in tests r=ckerschb
We use this to tell the Quitter extension to quit in the PGO
profile generation and Valgrind tests.

Differential Revision: https://phabricator.services.mozilla.com/D22726

--HG--
extra : moz-landing-system : lando
2019-03-11 17:34:14 +00:00
James Willcox c999b31a54 Bug 1524992 - Allow external data: URIs in tests r=ckerschb
We use this to tell the Quitter extension to quit in the PGO
profile generation and Valgrind tests.

Differential Revision: https://phabricator.services.mozilla.com/D22753

--HG--
extra : moz-landing-system : lando
2019-03-11 17:32:18 +00:00
Johann Hofmann 29ffd191a3 Bug 1511111 - Add dummy remote-settings pref for xpcshell tests. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D22291

--HG--
extra : moz-landing-system : lando
2019-03-08 22:21:40 +00:00
Jan Henning 50c69a3713 Bug 1529863 - Remove remnants of unused browser.firstrun and browser.snippets prefs. r=geckoview-reviewers,whimboo,esawin
"browser.firstrun.*" seems to have been unused since the end of XUL-based
Fennec, whereas the code referencing the "browser.snippets.*" prefs was removed
in bug 1482836.

Differential Revision: https://phabricator.services.mozilla.com/D20862

--HG--
extra : moz-landing-system : lando
2019-03-06 14:59:46 +00:00
Jonathan Kingston 83bd9bdac8 Bug 1494034 - Add support for CSS prefers-color-scheme media feature. r=emilio 2019-02-15 21:40:35 +01:00
Marco Bonardo 12675bb16f Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19017

--HG--
extra : moz-landing-system : lando
2019-02-09 13:29:21 +00:00
arthur.iakab ddeb2146e9 Backed out changeset bac51381060d (bug 1519538) for causing multiple failures on Windows CLOSED TREE 2019-02-08 19:34:20 +02:00
Marco Bonardo c8cf4c2695 Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19017

--HG--
extra : moz-landing-system : lando
2019-02-08 16:43:58 +00:00
Noemi Erli c2aec081be Backed out changeset bac51381060d (bug 1519538) for Linting failure in config.py 2019-02-08 18:32:01 +02:00
Marco Bonardo 65f6d086f4 Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19017

--HG--
extra : moz-landing-system : lando
2019-02-08 14:10:08 +00:00
k88hudson c6469703ed Bug 1523703 - Part 2. Set discovery stream pref to [] for tests r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D18992

--HG--
extra : moz-landing-system : lando
2019-02-07 18:44:26 +00:00
Narcis Beleuzu e2a6b02f8b Backed out changeset c31a81865825 (bug 1523703) for bc failures on browser_packaged_as_locales.js 2019-02-06 19:26:46 +02:00
k88hudson 3e54f15e91 Bug 1523703 - Disable discoverystream in test environment r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D18755

--HG--
extra : moz-landing-system : lando
2019-02-06 16:30:04 +00:00
Noemi Erli c2d1edbb87 Backed out changeset 58286693d6d8 (bug 1523703) for massive test failures CLOSED TREE 2019-02-06 02:08:39 +02:00
k88hudson 6defc0874e Bug 1523703 - Disable discoverystream in test environment r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D18755

--HG--
extra : moz-landing-system : lando
2019-02-05 22:49:00 +00:00
Emilio Cobos Álvarez a155f63750 Bug 1523712 - Make -moz-binding chrome / UA only. r=boris
But enable it in all tests because a lot of them rely on using it in the
style="" attribute for example, or in inline stylesheets, which will no longer
parse this (even in chrome documents), and we don't want to rewrite all the XUL
and XBL tests.

Differential Revision: https://phabricator.services.mozilla.com/D18027

--HG--
extra : moz-landing-system : lando
2019-01-30 20:55:54 +00:00
Brian Grinstead b7ba45940c Bug 1522921 - Set the devtools chrome debugging prefs to true by default in mochitests and wpt r=ahal,miker
Differential Revision: https://phabricator.services.mozilla.com/D17671

--HG--
extra : moz-landing-system : lando
2019-01-30 03:25:17 +00:00
Cosmin Sabou 599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Shane Caraveo e8915eda78 Bug 1515701 show addons disabled doorhanger in private browsing, r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D15445

--HG--
extra : moz-landing-system : lando
2019-01-29 01:39:37 +00:00
Andrei Oprea 88359867bd Bug 1509274 - Disable screenshots in mochitests r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D16025

--HG--
extra : moz-landing-system : lando
2019-01-25 19:58:42 +00:00
Michal Novotny fcbc8b9cd2 Bug 1455723 - Firefox59 does not properly honor cache size set in autoconfig files, r=mayhemer
We keep old cache code in the tree only because of offline cache. We no longer allow using old disk or memory cache. This patch removes all preferences manipulation from old cache code that isn't used by offline cache. It removes also some related code (e.g. everything smart size related, unused defines etc.), but the goal wasn't to remove all unused code from the old cache.
2019-01-14 06:47:00 +02:00
Margareta Eliza Balazs ca2235a67e Backed out 4 changesets (bug 1517025) for multiple failures e.g.: toolkit/components/telemetry/tests/unit/test_PingAPI.js CLOSED TREE
Backed out changeset 1e173178e49f (bug 1517025)
Backed out changeset c29889dea969 (bug 1517025)
Backed out changeset 48c7d643d2fa (bug 1517025)
Backed out changeset 419cb778d531 (bug 1517025)
2019-01-21 16:13:56 +02:00
Valentin Gosu eaeb0a8a1c Bug 1517025 - Change default pref URLs to localhost instead of %(server) r=Gijs
We now disallow the % sign in the hostname of a URL.
If the app.normandy.api_url pref isn't set explicitly, it'll remain the default set in xpcshell/user.js: https://%(server)s/selfsupport-dummy/. As you can see, this one has a % sign in it; and the test will fail.
Otherwise, the error we catch is not a NormandyApi.InvalidSignatureError, but NS_ERROR_MALFORMED_URI.

Differential Revision: https://phabricator.services.mozilla.com/D16695

--HG--
extra : moz-landing-system : lando
2019-01-21 09:55:02 +00:00
Wes Kocher 7ffc8384e7 Bug 1485386 - Move feature-enabling preferences out of unittest/user.js into a separate file r=ahal
The unittest/user.js file contained a mix of preferences that ensure tests can run (switching web services to dummy servers to prevent hitting networks, etc) and preferences that enable features that aren't shipping by default (turning on touch events, enabling experimental css features, etc).

In the future, we're going to want to run tests of only the features that are being shipped in release builds (or in beta builds, or in esr builds, etc), so we need to move feature-enabling preferences into a different file to make it possible to run tests with various sets of features enabled.

This commit just moves feature-enabling prefs into a new file and then includes that file everywhere unittest prefs were already being included, so it should have no functional difference in the set of preferences being set in test runs. It also renames  the unittest profile to clarify its purpose, and adds pointers to each profile from the other, and adds comments explaining what they're used for.

Differential Revision: https://phabricator.services.mozilla.com/D16123

--HG--
rename : testing/profiles/unittest/extensions/README.txt => testing/profiles/unittest-features/extensions/README.txt
rename : testing/profiles/unittest/extensions/README.txt => testing/profiles/unittest-required/extensions/README.txt
rename : testing/profiles/unittest/user.js => testing/profiles/unittest-required/user.js
extra : moz-landing-system : lando
2019-01-18 00:35:43 +00:00
Rob Wood 3226dda355 Bug 1518479 - Add Firefox FirstContentfulPaint measurement to raptor tests (on behalf of :jesup); r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D16599

--HG--
extra : moz-landing-system : lando
2019-01-17 20:00:07 +00:00
Cosmin Sabou a37bc9edf9 Backed out changeset b9ab3e3e109a (bug 1485386) for causing mass mochitest failures. CLOSED TREE
--HG--
rename : testing/profiles/unittest-stability/extensions/README.txt => testing/profiles/unittest/extensions/README.txt
rename : testing/profiles/unittest-stability/user.js => testing/profiles/unittest/user.js
2019-01-17 00:55:23 +02:00
Wes Kocher 297d396732 Bug 1485386 - Move feature-enabling preferences out of unittest/user.js into a separate file r=ahal
The unittest/user.js file contained a mix of preferences that ensure tests can run (switching web services to dummy servers to prevent hitting networks, etc) and preferences that enable features that aren't shipping by default (turning on touch events, enabling experimental css features, etc).

In the future, we're going to want to run tests of only the features that are being shipped in release builds (or in beta builds, or in esr builds, etc), so we need to move feature-enabling preferences into a different file to make it possible to run tests with various sets of features enabled.

This commit just moves feature-enabling prefs into a new file and then includes that file everywhere unittest prefs were already being included, so it should have no functional difference in the set of preferences being set in test runs.

Differential Revision: https://phabricator.services.mozilla.com/D16123

--HG--
rename : testing/profiles/unittest/extensions/README.txt => testing/profiles/unittest-features/extensions/README.txt
rename : testing/profiles/unittest/extensions/README.txt => testing/profiles/unittest-stability/extensions/README.txt
rename : testing/profiles/unittest/user.js => testing/profiles/unittest-stability/user.js
extra : moz-landing-system : lando
2019-01-16 22:15:18 +00:00
Mike Conley 7a22f565dc Bug 1503003 - Disable the process priority manager when running xpcshell tests. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D16604

--HG--
extra : moz-landing-system : lando
2019-01-16 13:20:00 +00:00
Jan Henning f6055526b4 Bug 1498812 - Part 7: Generally enable Visual Viewport for Mochitests. r=botond
Easier than separately enabling it for each test in turn, and shouldn't have any
bad side effects on tests that don't care about it, as this only exposes the new
Window.visualViewport object, but doesn't change anything else.

Differential Revision: https://phabricator.services.mozilla.com/D15688

--HG--
extra : moz-landing-system : lando
2019-01-11 19:49:41 +00:00
James Graham 05a1d0ad3a Bug 1510254 - Remove custom FirefoxRunner subclass, r=gbrown,KWierso
This was only being used to set prefs and most prefs are either
already set in
testing/profiles/[common|unittest|web-platform-tests].js or can be set
there so they apply to desktop too.

Differential Revision: https://phabricator.services.mozilla.com/D13088

--HG--
extra : moz-landing-system : lando
2018-11-30 15:31:46 +00:00
Robert Strong ce780910f7 Bug 1506917 - Don't attempt to check for updates from Firefox's nsBrowserGlue.js when running tests. r=ted
This adds the app.update.checkInstallTime pref with a value of false in all tests that have the app.update.disabledForTesting pref except for geckodriver which is covered by bug 1508283.
2018-11-19 07:33:33 -08:00
Andrea Marchesini c0950f9d8a Bug 1480544 - Allow Console API to log messages on stdout, r=bgrins
This patch introduces 2 new prefs:
- devtools.console.stdout.chrome: if true, console API writes on stdout when
                                  used by chrome code
- devtools.console.stdout.content: console API write on stdout when used by
                                   content code.
2018-11-15 21:47:58 +01:00
arthur.iakab c0b26c4076 Merge inbound to mozilla-central a=merge 2018-11-15 11:54:15 +02:00
Timothy Guan-tin Chien af2973ef61 Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

Differential Revision: https://phabricator.services.mozilla.com/D11249

--HG--
extra : moz-landing-system : lando
2018-11-15 06:52:01 +00:00
Timothy Guan-tin Chien 2b5881e46b Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

Differential Revision: https://phabricator.services.mozilla.com/D11183

--HG--
extra : moz-landing-system : lando
2018-11-15 06:51:07 +00:00
Andreea Pavel d51566f085 Backed out 2 changesets (bug 1503019) for failing crashtests at dom/base/crashtests/1505811.html on a CLOSED TREE
Backed out changeset 06b12fd41ff1 (bug 1503019)
Backed out changeset 7b845eac9dd7 (bug 1503019)
2018-11-15 01:52:30 +02:00
Timothy Guan-tin Chien c69315234b Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

Differential Revision: https://phabricator.services.mozilla.com/D11249

--HG--
extra : moz-landing-system : lando
2018-11-14 19:37:42 +00:00
Timothy Guan-tin Chien c0cc4f74e7 Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

Differential Revision: https://phabricator.services.mozilla.com/D11183

--HG--
extra : moz-landing-system : lando
2018-11-14 19:34:52 +00:00
shindli 1e51b7ee7c Merge inbound to mozilla-central. a=merge 2018-11-10 23:36:30 +02:00
Ed Lee d94c11cf32 Bug 1506367 - Tests fail for network attempt to snippets.cdn.mozilla.net on Nightly builds r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D11561

--HG--
extra : moz-landing-system : lando
2018-11-10 18:23:05 +00:00
Bob Clary 0d6dbe64ca Bug 1504843 - [raptor] Disable access to push.services.mozilla.com to prevent non-local network access, r=rwood. 2018-11-10 03:10:08 -08:00
Andrew Swan 2eeb080252 Bug 1500975 Disable GMP updates during xpcshell tests r=ahal
--HG--
extra : rebase_source : 171dd511edad24f35ae0c9ef775ce3e268edb6b4
extra : amend_source : d94f2028213ff7900df697e9fa05451312401f6c
2018-11-13 22:48:29 -08:00