Chris H-C
6d8e6f5ade
Bug 1741674 - Use the new fog_test_reset_fog method to clear data before instrumentation tests r=janerik
...
Differential Revision: https://phabricator.services.mozilla.com/D131703
2021-11-22 20:07:39 +00:00
Chris H-C
4410ddd626
Bug 1741674 - Record active_ticks and uri_count in Glean as well as Telemetry r=TravisLong
...
Differential Revision: https://phabricator.services.mozilla.com/D131641
2021-11-22 20:07:38 +00:00
Toshihito Kikuchi
e58a3e3b87
Bug 1734099 - Never unload tabs with active RTCPeerConnection instances. r=peterv,jesup
...
This patch makes sure the Tab Unloading feature does not unload tabs that have
active peer connections not to disrupt browsing experience based on WebRTC peer
connections.
To enable JS code to access the number of active peer connections, this patch
moves `nsPIDOMWindowInner::mTotalActivePeerConnections` to `WindowGlobalParent`.
Differential Revision: https://phabricator.services.mozilla.com/D128761
2021-11-18 22:59:12 +00:00
Emilio Cobos Álvarez
92f83cf19e
Bug 1739539 - Rename titlebar pref and add migration from old pref. r=mconley
...
Something like this ought to do?
Differential Revision: https://phabricator.services.mozilla.com/D130858
2021-11-10 21:17:32 +00:00
Punam Dahiya
9ab163fa55
Bug 1738187 - Add telemetry for MoreFromMozilla section inside about:preferences r=preferences-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D130409
2021-11-09 21:53:02 +00:00
Haik Aftandilian
ba78764554
Bug 1737085 - Mac browser_TabUnloader.js Nightly as Beta test failure r=spohl
...
Test-only fix: pref-on tab unloading and memory-pressure notifications when the test is run on beta or release. Tab unloading and memory pressure notifications are limited to Nightly at this time.
Differential Revision: https://phabricator.services.mozilla.com/D129665
2021-10-28 15:34:31 +00:00
Toshihito Kikuchi
6467bc0053
Bug 1737860 - Make the minimum inactive duration configurable through pref. r=haik
...
For end-to-end testing, this value needs to be configurable.
Differential Revision: https://phabricator.services.mozilla.com/D129731
2021-10-28 02:37:02 +00:00
Gian-Carlo Pascutto
d6b46821dd
Bug 1738021 - Make sure to replace all dashes for Telemetry probes. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D129678
2021-10-27 19:29:55 +00:00
Jon Barson
0650e62d36
Bug 1632476 changed hostname for media permissions to include the port r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D128109
2021-10-21 11:56:35 +00:00
Emilio Cobos Álvarez
d37eb95bc7
Bug 1736518 - Make browser.tabs.drawInTitlebar a tri-state. r=stransky,Gijs
...
To more properly support Linux having a different default at runtime.
Expose the resolved value in appinfo for convenience, and use it in the
front-end as needed.
Differential Revision: https://phabricator.services.mozilla.com/D129004
2021-10-21 09:07:12 +00:00
Toshihito Kikuchi
f1e6437e96
Bug 1729911 - Define minInactiveDurationInMS not to unload fresh tabs. r=NeilDeakin
...
Tab unloading should not unload "fresh" tabs i.e. tabs that were accessed
very recently, even though one of them was the least recently used tab.
To achieve it, this patch introduces the minimum inactive duration and we
prevent tabs that were accessed in the last period of that duration from
being unloaded.
This patch sets the default value to 10 minutes based on the historgram
`TAB_UNLOAD_TO_RELOAD` where the median was 60sec and the 75th percentile
was 1040sec. This value can be overriden by the parameter of the TabUnloader's
APIs so that about:unloads and the tests can unload those fresh tabs.
Differential Revision: https://phabricator.services.mozilla.com/D125824
2021-10-20 23:22:57 +00:00
Joel Maher
f72bcee13e
Bug 1727943 - turn on mochitest* tests that were skipped on win10-ccov and now pass. r=MasterWayZ
...
Differential Revision: https://phabricator.services.mozilla.com/D128817
2021-10-19 20:01:29 +00:00
Bobby Holley
6896875624
Bug 1736438 - Fix import for sendStandalonePing. r=nanj
...
I'm not actually sure how to test this, given that it passed on CI. But
the fix seems simple enough.
Differential Revision: https://phabricator.services.mozilla.com/D128787
2021-10-18 19:52:59 +00:00
Bobby Holley
62d7962018
Bug 1734262 - Hoist standalone telemetry ping helper from PingCentre to TelemetrySend. r=chutten,nanj
...
I ended up writing more or less exactly this before discovering it.
Differential Revision: https://phabricator.services.mozilla.com/D127715
2021-10-16 16:29:29 +00:00
Michael Kohler
87790d1825
Bug 1672486 - Remove browser.toolbars.bookmarks.2h2020 pref from browser/customizableui/places r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D127588
2021-10-14 07:51:14 +00:00
Noemi Erli
6c9b0c1c4c
Backed out 5 changesets (bug 1734262) for causing failures in test_HealthPing.js CLOSED TREE
...
Backed out changeset c3b0edc896e9 (bug 1734262)
Backed out changeset a6ecb9d9697a (bug 1734262)
Backed out changeset 1e4cafb39d62 (bug 1734262)
Backed out changeset 19eb67d15f2a (bug 1734262)
Backed out changeset 845c7749c2c3 (bug 1734262)
2021-10-12 21:46:19 +03:00
Paul Zuehlcke
65aebd6083
Bug 1733073 - Updated requestStorageAccess permission doorhanger tests. r=johannh
...
- Updated PermissionUI prompt test to also test permission states for prompts which do not use the permission manager
- Also do permission panel checks in storageAccessDoorhanger for block state
Differential Revision: https://phabricator.services.mozilla.com/D127962
2021-10-12 17:48:14 +00:00
Paul Zuehlcke
9780c0c0f6
Bug 1733073 - Update StorageAccessPermissionPrompt to use 3rdPartyStorage permission. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D127961
2021-10-12 17:48:14 +00:00
Bobby Holley
e2589ffae8
Bug 1734262 - Hoist standalone telemetry ping helper from PingCentre to TelemetrySend. r=nanj
...
I ended up writing more or less exactly this before discovering it.
Differential Revision: https://phabricator.services.mozilla.com/D127715
2021-10-12 17:31:19 +00:00
Toshihito Kikuchi
0f5a66d556
Bug 1733002 - Never discard tabs playing sound, using WebRTC, or using PiP. r=haik
...
Differential Revision: https://phabricator.services.mozilla.com/D127141
2021-10-05 08:04:04 +00:00
Dão Gottwald
2969cd41af
Bug 1733345 - Move theme modules into browser/themes/. r=harry
...
Differential Revision: https://phabricator.services.mozilla.com/D127090
2021-10-04 15:05:54 +00:00
Mirko Brodesser
90b633b125
Bug 1731994: part 8) Rename nsIContentPermissionRequest's isHandlingUserInput to hasValidTransientUserGestureActivation. r=edgar
...
It's more accurate.
Differential Revision: https://phabricator.services.mozilla.com/D126916
2021-10-04 12:16:00 +00:00
Mirko Brodesser
6e95020a89
Bug 1731994: part 5) Rename ContentPermissionRequestParent::mMaybeUnsafePermissionDelegate to ContentPermissionRequestParent::mIsRequestDelegatedToUnsafeThirdParty. r=johannh
...
This seems clearer. "Is" is more precise then "maybe".
Differential Revision: https://phabricator.services.mozilla.com/D126502
2021-09-30 08:19:28 +00:00
Michelle Goossens
575ccf89a0
Bug 1727943 - Part 2: Migrate mochitest, reftest and crashtest Windows 10 ccov suites from AWS to Azure r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D125350
2021-09-28 15:27:39 +00:00
Gijs Kruitbosch
524da2cd85
Bug 1731665 - tests, r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D124269
2021-09-27 14:00:16 +00:00
Mirko Brodesser
3680889a83
Bug 1731264: update documentation about PopupNotifications in PermissionsUI.jsm. r=pbz DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D126081
2021-09-23 13:14:01 +00:00
Kirk Steuber
fcc08bbd81
Bug 1718444 - Convert nsIUpdateCheckListener to async r=nalexander,application-update-reviewers
...
I want to be able to check if the update-available notification is fired during testing. The entry point to firing that notification is UpdateService.onCheckComplete, but it currently kicks off its work and does not wait for it to finish. This means that I can wait for the update-available notification to be fired, but I cannot easily wait for it NOT to be fired, which is what I want to be able to test here.
It looks though like it should be easy enough to just convert this interface to an asynchronous one. This will make it much easier to call onCheckComplete and know by the end of it if the update-available notification gets fired or not.
Differential Revision: https://phabricator.services.mozilla.com/D126162
2021-09-21 23:57:22 +00:00
Mike Conley
011a1bedb0
Bug 1707582 - Make browser_UsageTelemetry_interaction.js less susceptible to intermittent failure. r=mtigley,Gijs
...
This test was brittle for a few reasons:
1. The bookmarks toolbar is, by default, configured to show and hide
depending on whether or not about:home/about:newtab is displayed.
This meant that sometimes when trying to click on a bookmark
toolbar item, a transition from the visible-to-collapsed or
collapsed-to-visible state would be underway, and the click
event would ultimately miss its mark.
2. The bookmarks toolbar also populates itself lazily, so the test has
been adjusted to ensure that there are items in the toolbar before
it attempts to click on one.
Differential Revision: https://phabricator.services.mozilla.com/D125761
2021-09-20 16:17:26 +00:00
Neil Deakin
ec5d2db23f
Bug 1690390, add a flag to limit telemetry collection for notification bars to just selected changes as we only want to measure shown state for the subframe crash one, r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D125735
2021-09-17 09:05:00 +00:00
Neil Deakin
359f6e34a6
Bug 1690390, add ability to perform telemetry when a notification bar is shown, a button is pressed, or is dismissed. Use this for the subframe crash notification bar which currently does this a different way, r=mstriemer,chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D107756
2021-09-17 09:04:59 +00:00
Neil Deakin
6b3580b4b6
Bug 1690390, change appendNotification to take a smaller number of arguments: the string type value, a dictionary containing the notification details, and the button list, r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D107755
2021-09-17 09:04:59 +00:00
Narcis Beleuzu
c25133b5dc
Backed out 3 changesets (bug 1690390) for mochitest failures on test_notificationbox.xhtml . CLOSED TREE
...
Backed out changeset e6404b7424cd (bug 1690390)
Backed out changeset a161177099af (bug 1690390)
Backed out changeset cc7e02d3d418 (bug 1690390)
2021-09-16 23:41:21 +03:00
Florian Quèze
29d6fc3b06
Bug 1665318 - reduce the overhead of collecting memory information for about:processes, r=dthayer.
...
Differential Revision: https://phabricator.services.mozilla.com/D125729
2021-09-16 19:59:56 +00:00
Neil Deakin
6422c19333
Bug 1690390, add a flag to limit telemetry collection for notification bars to just selected changes as we only want to measure shown state for the subframe crash one, r=mstriemer
...
Depends on D107756
Differential Revision: https://phabricator.services.mozilla.com/D125735
2021-09-16 19:11:18 +00:00
Neil Deakin
ac8c74559d
Bug 1690390, add ability to perform telemetry when a notification bar is shown, a button is pressed, or is dismissed. Use this for the subframe crash notification bar which currently does this a different way, r=mstriemer,chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D107756
2021-09-16 19:11:17 +00:00
Neil Deakin
60bf60be5c
Bug 1690390, change appendNotification to take a smaller number of arguments: the string type value, a dictionary containing the notification details, and the button list, r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D107755
2021-09-16 19:11:17 +00:00
Harry Twyford
02b78f9fd1
Bug 1727333 - Add ntp_card_background theme API property. r=desktop-theme-reviewers,dao,mixedpuppy
...
We want to introduce this new variable to be able to theme more surfaces on the NTP. ntp_card_background is the color of cards (top site tiles, Pocket cards, etc).
This patch changes browser_ext_themes_ntp_colors_perwindow.js and browser_ext_theme_ntp_colors.js. These aren't the most reliable tests; they fail on central and have [a lot of issues](https://bugzilla.mozilla.org/buglist.cgi?f5=component&f3=OP&f2=OP&f8=status_whiteboard&f9=cf_crash_signature&list_id=15832113&v8=toolkit%2Fcomponents%2Fextensions%2Ftest%2Fbrowser%2Fbrowser_ext_themes_ntp_colors_perwindow.js&o8=substring&query_format=advanced&v9=toolkit%2Fcomponents%2Fextensions%2Ftest%2Fbrowser%2Fbrowser_ext_themes_ntp_colors_perwindow.js&o9=substring&o5=substring&f10=CP&v5=toolkit%2Fcomponents%2Fextensions%2Ftest%2Fbrowser%2Fbrowser_ext_themes_ntp_colors_perwindow.js&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&f6=alias&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&o4=substring&v4=toolkit%2Fcomponents%2Fextensions%2Ftest%2Fbrowser%2Fbrowser_ext_themes_ntp_colors_perwindow.js&o7=substring&v1=Graveyard&f11=CP&o1=notequals&v7=toolkit%2Fcomponents%2Fextensions%2Ftest%2Fbrowser%2Fbrowser_ext_themes_ntp_colors_perwindow.js&j3=OR&f4=product&f1=classification&f7=short_desc&v6=toolkit%2Fcomponents%2Fextensions%2Ftest%2Fbrowser%2Fbrowser_ext_themes_ntp_colors_perwindow.js&o6=substring ). I will follow-up and attempt to fix them to be more reliable.
Differential Revision: https://phabricator.services.mozilla.com/D125115
2021-09-15 18:54:02 +00:00
Geoff Brown
a00c449c2d
Bug 1730213 - Explicitly skip tests under browser/ on android; r=ahal
...
These tests are excluded from android test runs in moz.build. Including
an explicit annotation in each manifest avoids scheduling confusion.
browser-chrome and plain-chrome tests in browser/ are of no concern,
since those test types are never scheduled on android.
Differential Revision: https://phabricator.services.mozilla.com/D125266
2021-09-13 15:22:27 +00:00
Mark Banner
f321dfd6b1
Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 12:09:49 +00:00
Noemi Erli
20dee875a7
Backed out 2 changesets (bug 1729460) for causing newtab failures CLOSED TREE
...
Backed out changeset 5617839462be (bug 1729460)
Backed out changeset 6d52fde3ee0e (bug 1729460)
2021-09-10 13:14:12 +03:00
Mark Banner
6a5ffbcc55
Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 09:38:42 +00:00
Toshihito Kikuchi
c64a6c0b23
Bug 1725257 - Part 3. Implement about:unloads. r=NeilDeakin,fluent-reviewers,flod
...
The page contains
- a table to show the tabs and their attributes that `TabUnloader` considers
- a button to trigger `TabUnloader.unloadLeastRecentlyUsedTab()`
to visualize the behavior of `TabUnloader` and manually trigger it.
Differential Revision: https://phabricator.services.mozilla.com/D123988
2021-09-07 00:46:59 +00:00
Toshihito Kikuchi
36e7d3e7b9
Bug 1725257 - Part 1. Optimize TabUnloader for about:discards. r=NeilDeakin
...
The patch includes the following updates:
- getAllProcesses() adds a per-tab map to hold the processes backed by
the process to a tab so that we don't need to iterateprocesses twice.
- Consider a process that hosts multiple frames in a single tab as
a unique process because such processes are terminated when
that single tab is unloaded.
- Add `TabUnloader.isDiscardable()`
Differential Revision: https://phabricator.services.mozilla.com/D123986
2021-09-07 00:46:59 +00:00
Mark Banner
1817e82737
Bug 1602940 - Automated replacements to use Services.uuid. r=Gijs,necko-reviewers,preferences-reviewers,kershaw
...
Depends on D124391
Differential Revision: https://phabricator.services.mozilla.com/D124392
2021-09-06 09:53:52 +00:00
Iulian Moraru
d01e51321f
Bug 1619835 - disable browser_urlBar_zoom.js on windows_10_32_qr_debug for frequent failures. r=intermittent-reviewers,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D124279
2021-09-05 16:25:04 +00:00
Neil Deakin
2d872e13d0
Bug 1694941, wait for sound to start playing before treating a sound-playing tab as ready, r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D123746
2021-08-27 01:31:38 +00:00
Michelle Goossens
cde15eb082
Bug 1723574 - Enable mochitest-browser-chrome tests that no longer fail r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D123247
2021-08-23 12:45:31 +00:00
Michelle Goossens
015f8eeba2
Bug 1723574 - Migrate Windows 10 mochitest-browser-chrome suite from AWS to Azure r=jmaher,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D122511
2021-08-20 20:55:02 +00:00
Johann Hofmann
ae1bddbdf4
Bug 1706425 - Simplify requestStorageAccess prompt. r=pbz,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D121081
2021-08-17 10:19:21 +00:00
Gijs Kruitbosch
69fd72c017
Bug 1718435 - follow-up: clean up callsite of clear recent history window that passes nsISupports-y arguments, r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D122120
2021-08-09 19:26:18 +00:00