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

693 Коммитов

Автор SHA1 Сообщение Дата
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
James Graham 06cb0d01eb Bug 1499951 - Disable phishing prompt in wpt tests, r=ato 2018-11-07 14:40:16 +00:00
Andrea Marchesini cc92dd7e56 Bug 675574 - Allow just 1 window.open() per event, r=smaug 2018-11-06 23:35:31 +01:00
Ting-Yu Lin f1ae18f596 Bug 1504387 - Remove preference "layout.css.shape-outside.enabled". r=bradwerth,xidorn
shape-outside, shape-margin, shape-image-threshold have been shipped in Firefox
62. We can remove the preference.

The change in devtools/shared/css/generated/properties-db.js is generated by
"./mach devtools-css-db"

The actual shape-image CORS mode tests in file_shape_outside_CORS.html are
moved into test_shape_outside_CORS.html because we don't need the <iframe>
trick to enable the feature.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 15:27:36 +00:00
Andrew Halberstadt 88e52fc195 Bug 1460914 - [xpcshell] Define preferences in testing/profiles instead of testing/xpcshell/head.js, r=ted
This commit creates an empty 'base' profile because I wanted to preserve the
ability to apply a pref to all test harnesses on try. Since xpcshell doesn't
share many prefs with the other harnesses, it can't use the common profile.

So adding a pref to 'common' will apply it everywhere except xpcshell. Adding
a pref to 'base' will apply it everywhere including xpcshell. These profiles
are starting to get a bit messy, but I'd like to punt re-organizing them to a
follow-up bug.

Depends on D9716

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

--HG--
extra : moz-landing-system : lando
2018-10-26 17:47:18 +00:00
Andrew Halberstadt 203cc276de Bug 1460914 - [xpcshell] Use nsIPrefService.readUserPrefsFromFile to set prefs, r=ted
This uses nsIPrefService.readUserPrefsFromFile to set preferences from a
user.js passed in via the python harness. This allows us to use the profiles
under testing/profiles like all the other harnesses and will make setting prefs
in xpcshell easier to use and understand.

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

--HG--
extra : moz-landing-system : lando
2018-10-26 17:46:03 +00:00
arthur.iakab 18a752e5d9 Backed out 2 changesets (bug 1460914)for multiple failures on profile_data/base "CLOSED TREE"
Backed out changeset a2161aab4e4e (bug 1460914)
Backed out changeset 9e438c55a248 (bug 1460914)
2018-10-26 19:42:33 +03:00
Andrew Halberstadt d57afd45ce Bug 1460914 - [xpcshell] Define preferences in testing/profiles instead of testing/xpcshell/head.js, r=ted
This commit creates an empty 'base' profile because I wanted to preserve the
ability to apply a pref to all test harnesses on try. Since xpcshell doesn't
share many prefs with the other harnesses, it can't use the common profile.

So adding a pref to 'common' will apply it everywhere except xpcshell. Adding
a pref to 'base' will apply it everywhere including xpcshell. These profiles
are starting to get a bit messy, but I'd like to punt re-organizing them to a
follow-up bug.

Depends on D9716

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

--HG--
extra : moz-landing-system : lando
2018-10-25 15:23:09 +00:00
Andrew Halberstadt 2dfc1e580d Bug 1460914 - [xpcshell] Use nsIPrefService.readUserPrefsFromFile to set prefs, r=ted
This uses nsIPrefService.readUserPrefsFromFile to set preferences from a
user.js passed in via the python harness. This allows us to use the profiles
under testing/profiles like all the other harnesses and will make setting prefs
in xpcshell easier to use and understand.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 15:22:44 +00:00
Robert Helmer 17ab05a92e Bug 1492656 - move Telemetry Coverage ping in-tree r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D6359

--HG--
extra : moz-landing-system : lando
2018-10-19 00:47:37 +00:00
arthur.iakab d01d9399cc Backed out changeset b969cbe46b14 (bug 1492656)for Android xpcshell failures on unit/test_CoveragePing.js CLOSED TREE 2018-10-19 03:12:23 +03:00
Robert Helmer 3564ee4004 Bug 1492656 - move Telemetry Coverage ping in-tree r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D6359

--HG--
extra : moz-landing-system : lando
2018-10-04 14:15:11 +00:00
Mats Palmgren 10b87f1915 Bug 1494715 - Add a pref to disable antialiasing for Ahem only, r=jfkthame
Add a pref called gfx.font_ahem_antialias_none which disables
antialiasing for any font with the family name "Ahem". This is useful
for wpt reftests where antialaising of Ahem causes spurious failures.

Differential Revision: https://phabricator.services.mozilla.com/D7200
2018-10-18 15:54:29 +01:00
Kartikaya Gupta 6655893930 Bug 1497789 - Keep the qualified pref off for automated testing. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D8285

--HG--
extra : moz-landing-system : lando
2018-10-12 03:42:05 +00:00
Randell Jesup 1e918164f2 Bug 1299118: Measure TTI (or TTFI at the moment) in Raptor TP6 r=rwood 2018-10-11 13:23:38 -04:00
shindli 0f211616dc Backed out 3 changesets (bug 1299118) for ES lint failures
Backed out changeset 14451eb9a2b8 (bug 1299118)
Backed out changeset e5adc30bdf7f (bug 1299118)
Backed out changeset 8f7bb583fbb5 (bug 1299118)
2018-10-11 20:47:58 +03:00
Randell Jesup 94b05e1202 Bug 1299118: Measure TTI (or TTFI at the moment) in Raptor TP6 r=rwood 2018-10-11 13:23:38 -04:00
Andrew Swan 8779262538 Bug 1492867 Avoid loading remote firstrun pages during talos runs r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8046

--HG--
extra : moz-landing-system : lando
2018-10-09 09:51:56 +00:00
Ciure Andrei 4cd1cc463e Backed out 1 changesets (bug 1492519) for tps perma failures a=backout
Backed out changeset f2b2b043c046 (bug 1492519)
2018-09-28 14:50:45 +03:00
Dão Gottwald 1a784b026b Bug 1492519 - lightweightThemes.selectedThemeID default should be "default-theme@mozilla.org" rather than "". r=aswan 2018-09-21 16:22:30 +02:00
Robert Ma eccb60c77c Bug 1493549 - Enable media.navigator.streams.fake in WPT r=jgraham
Reland of https://phabricator.services.mozilla.com/D6579 with updated expectations

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

--HG--
extra : moz-landing-system : lando
2018-09-24 16:33:14 +00:00
Brindusan Cristian bd175095fc Backed out changeset 6f81edbb4e87 (bug 1493549) for wpt failures on /mediacapture-image/ImageCapture-creation.https.html. CLOSED TREE 2018-09-24 13:33:25 +03:00
Robert Ma 18e070b0c9 Bug 1493549 - Enable media.navigator.streams.fake in WPT r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D6579

--HG--
extra : moz-landing-system : lando
2018-09-24 09:08:45 +00:00
arthur.iakab 1ee75a928a Merge inbound to mozilla-central a=merge 2018-09-19 05:18:50 +03:00
Greg Mierzwinski f977de03b4 Bug 1487277 - Prevent intermittent telemetry gathering and reporting. r=ahal,marco
This patch sets the preference 'toolkit.telemetry.initDelay' to a very high value in an attempt to prevent telemetry from intermittently gathering and reporting data.

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:46:41 +00:00
Henrik Skupin c8659bd663 Bug 905404 - [pgo] Add custom profile data in testing/profiles/profileserver. r=ahal
Add extra preferences for the profileserver script on-top of
the ones as inheritted from unittests.

--HG--
extra : rebase_source : 02d3297134e82c2425fc4c6c939cc5d0cc4a2c13
extra : histedit_source : 07f699b0ff8bec2a6eda7705a0fa13fb3b352f98
2018-09-06 08:47:46 +02:00
Henrik Skupin a2c6b1b222 Bug 905404 - [wpt] Add custom profile data in testing/profiles/web-platform. r=jgraham
Add extra preferences for web-platform-tests on-top of
the ones as inheritted from unittests.

--HG--
extra : rebase_source : 6a1f6828eb52120f9a2029be8220931cd2ca0f69
extra : histedit_source : 5f219cbd34039c79c624bee35f3b56700bde903e
2018-09-06 08:44:52 +02:00
Joel Maher 130b3341e6 Bug 1458242 - add DOMContentFlushed to tp6 as a measurement. r=rwood
add DOMContentFlushed to tp6, collect it and return the geometric mean of all measurements.

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

--HG--
extra : moz-landing-system : lando
2018-09-14 13:51:05 +00:00
Boris Chiou 8e384ca9b3 Bug 1487838 - Add a pref for |clip-path:path()|. r=xidorn
Add a preference, layout.css.clip-path-path.enabled, for |clip-path:path()|.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 04:50:33 +00:00
Florian Quèze 9eb5b36fba Bug 1488232 - add a Google translation backend, r=felipe.
--HG--
rename : browser/components/translation/BingTranslator.jsm => browser/components/translation/GoogleTranslator.jsm
2018-09-03 19:15:56 +02:00
Arnaud Bienner cd0338e45e Bug 1481676 - Add AudioWorklet tests to WPT. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D4205

--HG--
rename : testing/web-platform/tests/worklets/paint-worklet-credentials.https.html => testing/web-platform/tests/worklets/audio-worklet-credentials.https.html
rename : testing/web-platform/tests/worklets/paint-worklet-csp.https.html => testing/web-platform/tests/worklets/audio-worklet-csp.https.html
rename : testing/web-platform/tests/worklets/paint-worklet-import.https.html => testing/web-platform/tests/worklets/audio-worklet-import.https.html
rename : testing/web-platform/tests/worklets/paint-worklet-referrer.https.html => testing/web-platform/tests/worklets/audio-worklet-referrer.https.html
rename : testing/web-platform/tests/worklets/paint-worklet-service-worker-interception.https.html => testing/web-platform/tests/worklets/audio-worklet-service-worker-interception.https.html
extra : moz-landing-system : lando
2018-08-27 05:02:59 +00:00
Thomas Daede 19b1e76253 Bug 1417050: Add AV1 in MP4 tests. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D3845

--HG--
extra : moz-landing-system : lando
2018-08-21 00:06:25 +00:00
Rob Wood eeb6464d68 Bug 1480841 - Raptor support for running speedometer on geckoview r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D3446

--HG--
extra : moz-landing-system : lando
2018-08-17 18:06:22 +00:00
Olli Pettay 9fb8ccf44c Bug 1471947, bug 1471948 - Enable Shadow DOM and Custom Elements in release builds, r=ehsan, emilio 2018-08-17 03:39:02 +03:00
Dorel Luca fa2c143117 Backed out changeset 9b17b83509fd (bug 1471947) for leaks on mochitest 2018-08-16 19:24:06 +03:00
Olli Pettay 11ef94c278 Bug 1471947, bug 1471948 - Enable Shadow DOM and Custom Elements in release builds, r=ehsan, emilio
--HG--
extra : rebase_source : 704b18a6795d94d47904abc9889bf98542a6261e
2018-08-16 15:30:54 +03:00
Chris Pearce 2e3c4bd9af Bug 1478208 - Implement HTMLMediaElement.allowedToPlay. r=alwu,bz
Various web authors have expressed desire to know in advance whether autoplay
will work.

They want this in order to avoid paying the price for downloading media that
won't play. Or they want to take other action such as showing a poster image
instead.

This is of particular interest to Firefox, as we're planning on showing a
prompt to ask the user whether they would like a site to play. If sites want to
determine whether they can autoplay but avoid the prompt showing, they won't be
able to just call play() in Firefox and see whether it works, as that would
likely show the prompt if the user doesn't already have a stored permission.

We've been working out a spec here:
https://github.com/whatwg/html/issues/3617#issuecomment-398613484

This implements what is the consensus to date there;
HTMLMediaElement.allowedToPlay, which returns true when a play() call would not
be blocked with NotAllowedError by autoplay blocking policies.

MozReview-Commit-ID: AkBu0G7uCJ0

--HG--
extra : rebase_source : 3f31db79aa1e570fdd9fc7062d0ddac7c96a8931
2018-07-25 14:25:17 +12:00
Hiroyuki Ikezoe ea2e577fa3 Bug 1365045 - Introduce keywords for prefers-reduced-motion. r=heycam
https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-motion

MozReview-Commit-ID: RQUo1DBR0W
2018-07-24 16:50:47 +09:00
Chris Pearce 45b80a65d1 Bug 1476853 - Set autoplay to allowed for testing purposes. r=jmaher
We're going to enable block autoplay of HTMLMediaElements by default in Nightly,
but lots of our tests assume they are allowed to playback media without requiring
user interaction. After we've enabled block autoplay that assumption won't be valid.

So configure the prefs that control block autoplay so that we allow media to
autoplay.

This means the existing tests we have don't need to be rewritten to work when
we enable block autoplay by default.

MozReview-Commit-ID: 50yydubQjkS

--HG--
extra : rebase_source : a19e6c5b60d3b89e754be786281ca3242baa3830
2018-07-19 15:46:38 +12:00
Michael Kaply 53432d4bf9 Bug 1462015 - Remove browser.search.countryCode pref. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2187

--HG--
extra : moz-landing-system : lando
2018-07-18 13:55:16 +00:00
Kirk Steuber da107c225e Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in the test harness r=ato,chutten,jmaher,lina
MozReview-Commit-ID: GCGKQ5QCC7o

--HG--
extra : rebase_source : ba135c7d285987fd030fef4e18a5aa701a43cdba
extra : intermediate-source : e6c89a0ff0c7a7e7cd1c028e49660bab0416a531
extra : source : 646080a591c0d2365d6e8f4a493607fa3fff86c9
2018-05-22 09:14:19 -07:00
Erica Wright 23af908b2c Bug 1471514 - Add fxa endpoint pref for top-of-funnel metrics, and turn it off for testing. r=ursula
MozReview-Commit-ID: BLycdhPSVlk

--HG--
extra : rebase_source : f3083154cf142e871dd503cb5950afb1cecc3a89
2018-07-13 10:45:43 -04:00
Andreea Pavel 1e8d2e6f7d Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE
Backed out changeset 5a46a221b6e8 (bug 1420514)
Backed out changeset 48ed6dfe8772 (bug 1420514)
Backed out changeset 01bf643c77e5 (bug 1420514)
Backed out changeset 5791b17ccb82 (bug 1420514)
Backed out changeset 416e398d942f (bug 1420514)
Backed out changeset de4a4592dbd9 (bug 1420514)
Backed out changeset d3399edf0197 (bug 1420514)
2018-07-12 21:22:32 +03:00
Kirk Steuber 35d8c30dbb Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in the test harness r=ato,chutten,jmaher,lina
MozReview-Commit-ID: GCGKQ5QCC7o

--HG--
extra : rebase_source : e38cf587711192c3020cd9ac6a39cdbd97d2600b
extra : source : 646080a591c0d2365d6e8f4a493607fa3fff86c9
2018-05-22 09:14:19 -07:00
Mathieu Leplatre 4300c52ada Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : f6932e5c3014ce0bb8e29e08468e4e533130273e
2018-06-14 20:54:19 +02:00
Noemi Erli d218f98059 Backed out changeset 101f97abc1d4 (bug 1458917) for Talos failures on a CLOSED TREE 2018-07-11 05:11:11 +03:00
Mathieu Leplatre 068afbc416 Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : 171ed0ff11e2b60a17055412c64584dfe5ab90d5
2018-06-14 20:54:19 +02:00
Jan Henning 915265fe71 Bug 1458697 - Disable Android session store logging in automation again. r=JanH
MozReview-Commit-ID: 9RakRQ3pYuq

--HG--
extra : rebase_source : b981f448d8dc29dade2a4dc642129cbe97425c93
2018-07-07 20:25:19 +02:00
Dave Townsend 9da98f873b Bug 1473004: Don't attempt to guess a favicon in performance tests. r=jmaher
Favicons will cause a small bit of additional network traffic and work in the
content process for any loaded page that doesn't specify a favicon. This turns
off attempts to guess a favicon when one isn't specified in performance tests.

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

--HG--
extra : moz-landing-system : lando
2018-07-04 11:27:23 +00:00
Dave Townsend d8b7fb22e3 Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan, r=mixedpuppy
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
Differential Revision: https://phabricator.services.mozilla.com/D1850
Differential Revision: https://phabricator.services.mozilla.com/D1869

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 6372b2681a59d267f966e9fa2ca9a54e3ff0cea0
extra : intermediate-source : b11aa832c41ac5beef9065f804d11fb7c9887990
extra : source : 638eb8a41245f6d9932861afda21edd5e0b2618a
2018-06-28 16:06:09 -07:00
Brindusan Cristian 51f77cdfc4 Backed out changeset b11aa832c41a (bug 1453751) for Mochitest-15 failures in toolkit/components/extensions/test/mochitest/test_ext_webrequest_filter.html. CLOSED TREE
--HG--
rename : browser/base/content/test/favicons/browser_bug408415.js => browser/base/content/test/general/browser_bug408415.js
rename : browser/base/content/test/favicons/browser_bug550565.js => browser/base/content/test/general/browser_bug550565.js
rename : browser/base/content/test/favicons/browser_favicon_change.js => browser/base/content/test/general/browser_favicon_change.js
rename : browser/base/content/test/favicons/browser_favicon_change_not_in_document.js => browser/base/content/test/general/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/favicons/browser_subframe_favicons_not_used.js => browser/base/content/test/general/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/favicons/file_generic_favicon.ico => browser/base/content/test/general/file_bug970276_favicon1.ico
rename : browser/base/content/test/favicons/file_bug970276_popup1.html => browser/base/content/test/general/file_bug970276_popup1.html
rename : browser/base/content/test/favicons/file_bug970276_popup2.html => browser/base/content/test/general/file_bug970276_popup2.html
rename : browser/base/content/test/favicons/file_favicon_change.html => browser/base/content/test/general/file_favicon_change.html
rename : browser/base/content/test/favicons/file_favicon_change_not_in_document.html => browser/base/content/test/general/file_favicon_change_not_in_document.html
rename : browser/base/content/test/favicons/file_with_favicon.html => browser/base/content/test/general/file_with_favicon.html
2018-06-28 23:15:49 +03:00
Dave Townsend ae4e60478a Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
Differential Revision: https://phabricator.services.mozilla.com/D1850

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 1e72949e4e1012025ccf87642cc239ea5f15217d
extra : source : 638eb8a41245f6d9932861afda21edd5e0b2618a
2018-06-04 12:53:55 -07:00
Cosmin Sabou eb4431c0f5 Backed out changeset 638eb8a41245 (bug 1453751) for frequent linux debug e-10s failures on test_ext_webrequest_filter.html
--HG--
rename : browser/base/content/test/favicons/browser_bug408415.js => browser/base/content/test/general/browser_bug408415.js
rename : browser/base/content/test/favicons/browser_bug550565.js => browser/base/content/test/general/browser_bug550565.js
rename : browser/base/content/test/favicons/browser_favicon_change.js => browser/base/content/test/general/browser_favicon_change.js
rename : browser/base/content/test/favicons/browser_favicon_change_not_in_document.js => browser/base/content/test/general/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/favicons/browser_subframe_favicons_not_used.js => browser/base/content/test/general/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/favicons/file_generic_favicon.ico => browser/base/content/test/general/file_bug970276_favicon1.ico
rename : browser/base/content/test/favicons/file_bug970276_popup1.html => browser/base/content/test/general/file_bug970276_popup1.html
rename : browser/base/content/test/favicons/file_bug970276_popup2.html => browser/base/content/test/general/file_bug970276_popup2.html
rename : browser/base/content/test/favicons/file_favicon_change.html => browser/base/content/test/general/file_favicon_change.html
rename : browser/base/content/test/favicons/file_favicon_change_not_in_document.html => browser/base/content/test/general/file_favicon_change_not_in_document.html
rename : browser/base/content/test/favicons/file_with_favicon.html => browser/base/content/test/general/file_with_favicon.html
extra : rebase_source : 77bf32209022e0351c2a3b69affaac4cf33aa9a6
2018-06-26 07:29:35 +03:00
Dave Townsend 9cbfdc7c2d Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 53dc0c682bf61d5135fbca172ac5238b414a1771
2018-06-04 12:53:55 -07:00
J. Ryan Stinnett e2c2e9c3e4 Bug 1463924 - Remove Dev. Edition promo doorhanger. r=nchevobbe
MozReview-Commit-ID: LIg6o35CvD2

--HG--
extra : rebase_source : 0eda7252ad7962b5038b3d7df3c8fc2eee9db511
2018-05-23 18:30:36 -05:00
Michael Kaply 7b870caf1a Bug 1462010 - Remove unused migrateRegionPrefs and isUS preference. r=adw
MozReview-Commit-ID: BkwiIUcZW7m

--HG--
extra : rebase_source : f7999459bc335052fbf1a6e467ce3193921e0ef0
2018-05-18 10:10:28 -05:00
Andrew Halberstadt e8b71d39d5 Bug 1460912 - [testing/profiles] Use the 'common' profile in reftest r=gbrown
This removes prefs that are already shared between reftest and the 'common' profile from:
testing/profiles/reftest/user.js

And moves prefs that were set in the 'common' profile but not reftest to both:
testing/profiles/unittest/user.js
testing/profiles/perf/user.js

MozReview-Commit-ID: HLfVrd2eD0l

--HG--
extra : rebase_source : ff186d28fa9bb081133bec06ee6689d59e66d41e
2018-05-14 10:56:41 -04:00
Andrew Halberstadt d0e6a4b792 Bug 1460912 - [testing/profiles] Sort testing/profiles/reftest/user.js r=gbrown
This was done in its own commit to make the diffs of the other commits easier
to read and review.

MozReview-Commit-ID: HMAyH8olTaF

--HG--
extra : rebase_source : 5f4b51a04971d12a25d4736ed57ee4c0ffed0832
2018-05-14 12:51:32 -04:00
Andrew Halberstadt 57cafcba8c Bug 1460912 - [reftest] Use base profiles in reftest r=gbrown
This moves reftest-preferences.js to:
testing/profiles/reftest/user.js

Developers can also now add extensions to:
testing/profiles/reftest/extensions

MozReview-Commit-ID: IVLsT5MWtcJ

--HG--
rename : layout/tools/reftest/reftest-preferences.js => testing/profiles/reftest/user.js
extra : rebase_source : 1725627d439998d92545e0d4693fbb76a266945f
2018-05-07 16:10:29 -04:00
Andrew Halberstadt 862e0f0951 Bug 1460912 - [testing/profiles] Add a ./profile rm subcommand for removing prefs from a profile r=rwood
Usage is:
./profile rm <profile> [<file>]

The file is a list of prefs, one per line, to remove. The file defaults to stdin, so the culmination
of the last three commits is the ability to do:

./profile diff reftest common -f names -k same | ./profile rm reftest

The above command will remove from the reftest profile, the prefs that are identical in both
reftest and common. This method is quicker and less error prone than doing it manually (which
was how I was doing this previously).

MozReview-Commit-ID: Je0JjFXoora

--HG--
extra : rebase_source : 38dae2dcdc3986910cfcd5091f7fc968bf8cc22a
2018-05-14 21:43:47 -04:00
Andrew Halberstadt ae47cd1150 Bug 1460912 - [testing/profiles] Add option to limit ./profile diff to a specified key r=rwood
This limits the ./profile diff to a single key (e.g only show keys that are in A but not
B).

MozReview-Commit-ID: ILmbDqgU48o

--HG--
extra : rebase_source : 11fecf18e793ca33e13a7ed9786105e48ae39283
2018-05-14 13:17:09 -04:00
Andrew Halberstadt 848da85cb2 Bug 1460912 - [testing/profiles] Add --format options to ./profile diff r=rwood
The main purpose of this change is to add some structured formats to the
diff. In future commits, the output of |./profile diff ...| will be used
as inputs to other ./profile commands.

The intent of all this work is to make it easier to programmatically
manipulate the pref files when adding in new suites. For example, I want
to say "Automatically remove all prefs from the reftest profile that are
shared with the common profile".

MozReview-Commit-ID: nf8xOjmd1u

--HG--
extra : rebase_source : 3ef8f55e9222aadefa5565f14ff9a8d671f88467
2018-05-16 17:10:20 -04:00
Andrew Halberstadt 4c09b651d7 Bug 1460912 - [testing/profiles] Add ability to diff and show multiple profiles with '+' r=rwood
This lets you compare show or diff multiple profiles joined together. For example:
./profile show common+perf

Or:
./profile diff common+perf unittest

MozReview-Commit-ID: nf8xOjmd1u

--HG--
extra : rebase_source : 73db9638b1b366e4c4580079c547bbb4a12ccfbb
2018-05-16 17:10:13 -04:00
Jan Henning 60ba2cd789 Bug 1458697 - Temporarily enable Android session store debug logging in automation. r=JanH
MozReview-Commit-ID: 3ZE2ycXUn1v

--HG--
extra : rebase_source : 49fffbd0e1f265759a0631280f2c77f13a508d02
2018-05-14 21:03:04 +02:00
Andrew Halberstadt 162414134e Bug 1458571 - Make talos and raptor use the 'common' base profile, r=rwood
This factors out the prefs that are common across raptor, talos and
mochitest/web-platform-tests. In order to do this a new "unittest" profile has
been created.

This means, to set a pref across everything that uses this system, edit:
testing/profiles/common/user.js

To set a pref across unittest frameworks (which excludes raptor and talos),
edit:
testing/profiles/unittest/user.js

Setting a pref for perf frameworks only remains the same. Extensions follow
the same rules (drop them in <profile>/extensions).

MozReview-Commit-ID: 6AHlYsN0Lb8

--HG--
extra : rebase_source : aad259f06af549f3bc707fed5b1caaacf25bc28f
2018-05-10 15:31:31 -04:00
Andrew Halberstadt c15fc95f29 Bug 1458571 - Add a script for diffing and sorting preferences, r=rwood
The main purpose of this script is to gain a view into the state of prefs
between various profiles or suites. There are three commands:

- show: Display prefs for the given profile or suite
- diff: Display differences of prefs between two profiles or suites
- sort: Sort pref files alphabetically for the given suite (this takes comments into account)

This also sorts common/user.js.

MozReview-Commit-ID: Bzl7w7i3glm

--HG--
extra : rebase_source : a8e620d06e9a940fadc7c3c0727e5c81ac3e3dfa
2018-05-05 07:30:38 -04:00