821597 Commits

Author SHA1 Message Date
Andrew McCreight
df1ca0abbc Bug 1755292 - Don't double-count the entry memory in the TelemetryOrigin reporter. r=nika a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D139031
2022-02-18 14:06:50 +00:00
Nicholas Rishel
63f0ebbd77 Bug 1754409 - Add catch for invalid manual update url. r=bytesized,application-update-reviewers a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D138473
2022-02-10 21:40:12 +00:00
Mike Kaply
f4df13e625 Bug 1751037 - Properly disable PDFjs permissions. r=mtigley a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D137778
2022-02-10 14:15:11 +00:00
Daisuke Akatsuka
5f5ac64ea3 Bug 1751819: Ignore char key input while processing enter key on searchbar. r=adw, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D136712
2022-02-01 03:02:05 +00:00
Daisuke Akatsuka
a924c2a84c Bug 1749397: Ignore char key input while processing enter key on urlbar. r=adw, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D136711
2022-02-01 03:02:04 +00:00
Steven Michaud
060ecce22c Bug 1719215 - Constrain clipping in CreateSubImageForData(). r=lsalzman, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D137777
2022-02-03 18:54:01 +00:00
Emilio Cobos Álvarez
93c9200c0c Bug 1749283 - Add a null check for mPrintTarget in nsDeviceContext::CreateRenderingContextCommon. r=dholbert, a=RyanVM
mPrintTarget can be nulled out and the caller needs to deal with null
returns already, so this should address the crash.

Differential Revision: https://phabricator.services.mozilla.com/D137473
2022-02-01 18:44:13 +00:00
Glenn Watson
b7a587021e Bug 1747857 - Invalidate partial dirty rects when surface counts change. r=aosmond, a=RyanVM
This is a sufficient fix to handle this case, we should definitely
invalidate the dirty rect validity if the compositor surface count
has changed.

There are likely other cases where the surface count remains the same
but we also need to invalidate dirty rect validity (we can handle
these as follow ups and/or as we encounter other cases).

Differential Revision: https://phabricator.services.mozilla.com/D135462
2022-01-10 20:10:20 +00:00
lyavor
abe696e78b Bug 1730920 - Https only mode shouldn't be triggered by the wifi portal code. r=nhnt11,ckerschb a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D131125
2021-12-13 13:32:11 +00:00
Paul Adenot
f67dd9aac4 Bug 1694085 - Add a test that verifies that HE-AAC plays back correctly including higher frequency content both with MSE and HTTP playback. r=bryce, a=RyanVM
Depends on D128895

Differential Revision: https://phabricator.services.mozilla.com/D128907
2021-10-21 16:18:19 +00:00
Paul Adenot
848d80367c Bug 1694085 - Serialize and deserialize the codec extra-data when sending an AudioInfo to the RDD. r=bryce, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D128895
2021-10-21 16:18:19 +00:00
ffxbld
68da14415f No Bug, mozilla-esr91 repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D139579
2022-02-24 10:56:32 +00:00
Nika Layzell
da2183ce94 Bug 1754305 - Make assertions in Maybe MOZ_RELEASE_ASSERT, r=glandium a=RyanVM
These assertions are already diagnostic asserts, and this will make
failures to check Maybe into safe crashes rather than security bugs on
all branches.

A failure to check Maybe is more dangerous than a null pointer
dereference, as the generated code will produce a valid reference to
uninitialized data rather than a null reference which should safely
segfault.

Differential Revision: https://phabricator.services.mozilla.com/D138208
2022-02-11 16:28:01 +00:00
Nika Layzell
2758d1e856 Bug 1744352 - Part 2: Add test for sandboxing javascript uris in pop-ups, r=smaug a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D138211
2022-02-09 17:50:51 +00:00
Olli Pettay
549c63236f Bug 1744352 - Part 1: Ensure we set InitialSandboxFlags when opening or replacing toplevel BrowsingContexts, r=mccr8 a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D139430
2022-02-22 20:21:31 +00:00
Rob Wu
c708afd04a Bug 1752979 - Check damaged files. r=mixedpuppy, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D137692
2022-02-03 14:05:13 +00:00
Chris Martin
78c9fb22bb Bug 1742421 - Part 3: [widget/windows] Exit fullscreen when changing sizemode; r=mhowell,edgar a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D135606
2022-01-19 04:06:43 +02:00
Edgar Chen
f21bba2241 Bug 1742421 - Part 2: [widget/cocoa] Exit fullscreen when changing sizemode; r=mstange, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D133735
2022-01-19 00:49:46 +00:00
Edgar Chen
51ca164ff6 Bug 1742421 - Part 1: [widget/gtk] Exit fullscreen when changing sizemode; r=stransky, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D133734
2022-01-19 00:49:46 +00:00
Dave Townsend
15ce8558e8 Bug 1736202: browser_interactions_typing.js intermittently misses a single keypress. r=Standard8, a=test-only
Our typing interactions separate typing into sessions. If you haven't typed for longer than a
certain period of time we count the previous session as over and start afresh. Any sessions
containing just one keypress are discarded, the rest are aggregated.

In our automated tests we want to test that this detection of a new session of typing works and our
only way to do that is to actually delay the test for longer than the maximum time between
keypresses. So the test runs fast we reduce the maximum time pref to 50ms.

Unfortunately I've experimentally seen that in CI on debug and asan builds that when not testing
this aspect and sending a sentence of characters we can still occasionally see delays of over 50ms
between individual characters. If this delay happens between the first and second character or the
last and last but one character then we end up with a typing session with a single character in it
which gets discarded leading our interaction metrics to be short one keypress.

This patch removes the reduced preference value for general tests and sets a value of 150ms for the
few tests where this matters.

Differential Revision: https://phabricator.services.mozilla.com/D139039
2022-02-18 13:12:36 +00:00
Andrew Creskey
6dd831819c Bug 1749328 - Intermittent browser/components/places/tests/browser/interactions/browser_interactions_typing.js r=Standard8 a=test-only
The failing test is the only one that verifies reload scenarios with respect to history metadata interactions.
I haven't been able to find a solution to this intermittent, I am remove the specific test that's failing and creating a bug to test reload scenarios.

Differential Revision: https://phabricator.services.mozilla.com/D137477
2022-02-04 17:47:15 +00:00
Andrew Creskey
59fa29a2dd Bug 1749328 - Intermittent failure in browser_interactions_typing.js r=Standard8 a=test-only
The test test_typing_and_reload() was failing, I believe because without waiting for target url in browserLoaded(), we would proceed on the about:blank load and the new interaction write would race the test.

Differential Revision: https://phabricator.services.mozilla.com/D136186
2022-01-20 14:10:36 +00:00
Andrew Creskey
8c2390af3f Bug 1717218 - Intermittent failure in browser_interactions_typing.js r=Standard8 a=test-only
This fixes the root cause of the intermittent failure (missing keystrokes) -- the function to send keys was not strictly synchronous.
We now wait for the input field to be populated before we proceed.

Differential Revision: https://phabricator.services.mozilla.com/D128409
2021-10-14 14:28:12 +00:00
Andrew Creskey
dbdeb97363 Bug 1717218 - Fix to intermittent failure in browser_interactions_typing.js r=Standard8 a=test-only
In the scenario where we navigate to a second url immediately after typing we intermittently lose a keystroke on some builds.
I haven't been able to trace down how this happens, however waiting for the next tick in the event loop after each step appears to resolve the intermittent.

Differential Revision: https://phabricator.services.mozilla.com/D127885
2021-10-12 14:31:14 +00:00
Emilio Cobos Álvarez
fae78ad5e1 Bug 1720133 - Mark a test as flakily failing in all platforms, not just macOS. r=smaug, a=test-only
The first subtest is already annotated as failing on all platforms. My
patch seems to have changed timing in a way such that the second test
also fails in non-macOS platforms.

I tried to reproduce the failure locally and investigate a bit more, but
couldn't. The test doesn't seem particularly racy, off-hand, other than
it using a timer which at best should make the test unexpectedly pass,
not unexpectedly fail...

The other thing that looked suspicious is that the test was waiting for
the load event of the main window, not of the popup it opens (which I
think might be unintended). However that also doesn't make the
failure reproduce here.

Differential Revision: https://phabricator.services.mozilla.com/D120204
2021-07-19 13:45:38 +00:00
Chris H-C
e25c0e6e17 Bug 1724156 - Replace Background Update ping tt(c) test with xpcshell r=nalexander a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D138841
2022-02-16 19:34:44 +00:00
Mike Kaply
138abdec2f Bug 1742167 - Disable managedbookmarks test on Linux. r=mstriemer, a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D138811
2022-02-17 15:32:37 +00:00
Florian Quèze
365e7b4dfd Bug 1676986 - Ensure the about:blank subframe is loaded before browser_aboutprocesses_show_frames_without_threads.js verifies it's displayed in about:processes. r=dthayer, a=test-only 2021-10-14 16:41:40 +00:00
Eitan Isaacson
367bd1bc13 Bug 1717501 - Null check attributes in MacUtils::GetAccAttr. r=morgan a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D138475
2022-02-11 23:48:55 +00:00
Luca Greco
b4f41ee536 Bug 1705244 - Fix browser_ext_incognito_popup.js intermittent failures. r=mixedpuppy, a=test-only
Depends on D128729

Differential Revision: https://phabricator.services.mozilla.com/D128730
2021-10-18 18:26:33 +00:00
Luca Greco
331839335e Bug 1580875 - Fix browser_ext_sidebarAction_contextMenu.js intermittent failures. r=mixedpuppy, a=test-only
Depends on D128728

Differential Revision: https://phabricator.services.mozilla.com/D128729
2021-10-18 18:26:33 +00:00
Luca Greco
33f21f126a Bug 1706194 - Fix browser_ext_sidebarAction_click.js intermittent failures. r=mixedpuppy, a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D128728
2021-10-18 18:26:33 +00:00
ffxbld
b53bb4f07a No Bug, mozilla-esr91 repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=pascalc
Differential Revision: https://phabricator.services.mozilla.com/D139271
2022-02-21 10:58:58 +00:00
Timothy Nikkel
36a62c8aa7 Bug 1742241. Add test. r=botond a=pascalc
Differential Revision: https://phabricator.services.mozilla.com/D137960
2022-02-11 11:56:45 +00:00
Timothy Nikkel
0249c3fba0 Bug 1742241. Don't access the PresShell's visual viewport offset if we haven't set one. r=botond a=pascalc
If the visual viewport offset is not set on the presshell then calling GetVisualViewportOffset returns (0, 0). This then causes us to introduce an incorrect offset between the layout scroll offset and the visual viewport offset that didn't exist before.

Logically we want to treat an unset visual viewport offset as the layout scroll offset.

Other possible fixes:
-make PresShell::GetVisualViewportOffset return the layout scroll offset if a visual viewport offset is not set
-make this if conditional on a visual viewport offset already being set
-the combination of the two above
All of these fail some tests on try server. I haven't investigated why. If we want to go with any of those potential fixes in the future then this patch is a step on the way there

Differential Revision: https://phabricator.services.mozilla.com/D137873
2022-02-11 11:56:44 +00:00
Julian Descottes
18066cd106 Bug 1734787 - Add https://example.net:443 to build/pgo/server-locations.txt. r=jmaher, a=test-only
Having 3 regular domains to test fission scenarios will help migrating to https-first for DevTools mochitests.
example.org and example.com are both available in http and https, but example.net is only available in http for now.

This patch was created by adding https://example.net to build/pgo/server-locations.txt and then running `./mach python build/pgo/genpgocert.py`

Differential Revision: https://phabricator.services.mozilla.com/D127922
2021-10-13 14:17:14 +00:00
Mike Kaply
52862cf738 Bug 1711870 - Use http-on-examine-response to block redirects in policy. r=dragana a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D137869
2022-02-11 21:04:51 +00:00
Paul Zuehlcke
372b463e52 Bug 1745253 - Test, r=Gijs a=test-only
Depends on D133392

Differential Revision: https://phabricator.services.mozilla.com/D133393
2022-02-14 12:06:52 +00:00
ffxbld
c29765c010 No Bug, mozilla-esr91 repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D139009
2022-02-17 10:57:48 +00:00
Julien Cristau
9274679808 Bug 1753787 - renew content-signing test certificates. r=Gijs, a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D137981
2022-02-07 13:07:27 +00:00
Geoff Lankow
fc4f6aa254 Bug 1739284 - Override telemetry products check in test_GMPInstallManager.js. r=bryce a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D130325
2021-11-04 02:35:05 +00:00
Bryce Seager van Dyk
dec940b5fa Bug 1714621 - Add test case to cover GMPInstallerManager content signature usage. r=Gijs a=RyanVM
This tests the new content signature path for the GMPInstaller manager. It also
tests the telemetry gathered for the new content signature path works correctly
when that path succeeds or fails validation.

These tests differ from the existing tests in that they use a live HTTPServer,
rather than using the XML override test mechanism. This is needed to avoid
adding further test specific mechanisms for content signature, but is also cool
IMO as it makes the test cases a little more realistic (at the cost of some
verbosity).

Differential Revision: https://phabricator.services.mozilla.com/D129269
2021-10-27 17:51:29 +00:00
Bryce Seager van Dyk
e930f347d0 Bug 1714621 - Add telemetry to record if GMP update XML is successfully downloaded from balrog. r=Gijs a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D127567
2021-10-27 17:51:29 +00:00
Bryce Seager van Dyk
682f548ff8 Bug 1714621 - Add tests to cover ProductAddonChecker content signature verification. r=Gijs a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D129268
2021-10-27 17:51:28 +00:00
Bryce Seager van Dyk
5bc14d4dde Bug 1714621 - Add functionality to verify GMP's update xml content signatures. r=Gijs,robwu a=RyanVM
Also driveby fix a log string to print the proper function name.

Differential Revision: https://phabricator.services.mozilla.com/D127566
2021-10-27 17:51:28 +00:00
Gijs Kruitbosch
7bfd5085af Bug 1752396, r=mtigley a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D138358
2022-02-09 21:32:00 +00:00
ffxbld
964a18a0d6 No Bug, mozilla-esr91 repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D138642
2022-02-14 10:54:55 +00:00
Nicolas Chevobbe
c5a327ae02 Bug 1678645 - [devtools] Fix devtools/client/shared/test/browser_filter-editor-* intermittent. r=Honza a=test-only
Destroy created widget at the end of tests.

Differential Revision: https://phabricator.services.mozilla.com/D138158
2022-02-09 12:53:16 +00:00
Nick Alexander
45e2436107 Bug 1748485 - Add test for Bug 1742682: Ensure callback app is launched with umask from before updating. r=bytesized, a=test-only
This adds a new `check-umask` command to `TestAUSHelper`.  For
convenience, we invoke the new command with the umask from before the
update but have the command output its current umask (i.e., from when
it is launched).  This allows to reuse the existing `checkCallbackLog`
function, which verifies that the arguments and the callback log
output are the same.  The callback log file is the given argument, so
we prefix with "umask" to avoid conflicting with existing numeric
files and directories in the test data.

Differential Revision: https://phabricator.services.mozilla.com/D133804
2022-02-08 17:04:54 +00:00
ffxbld
11abbdaa7b No Bug, mozilla-esr91 repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D138426
2022-02-10 10:57:46 +00:00