Content intent of completed DownloadNotification now uses a PendingIntent which launches an Activity directly.
Previously, we launched the Activity indirectly from a BroadcastReceiver, which is less performant and is prohibited by the OS since Android 12.
The download notification test has been modified to mock out the file opening behaviour, as this test is just checking the visuals of the notification rather than the onward journeys.
Add notification trampoline test case that fails before the fix was made & passes after, to cover this bug.
Fix a bunch of lint / detekt things - trailing commas, formatting, javadoc comments
Differential Revision: https://phabricator.services.mozilla.com/D205042
Since the AccessibilityUtils will be able to account for a click on a label elements for radio buttons and checkboxes in the bug 1882380, we can remove the `fail-if` notation from two tests that were previously failing a11y-checks.
Depends on D205112
Differential Revision: https://phabricator.services.mozilla.com/D205116
Some tests are reporting failing a11y_checks while the click is sent to a text leaf within a label of a radio button with an appropriate markup, for example when `span` is clicked in [this case](https://searchfox.org/mozilla-central/rev/9cd4ea81e27db6b767f1d9bbbcf47da238dd64fa/toolkit/components/aboutconfig/test/browser/browser_edit.js#418-424):
```
<label>
<input type="radio" name="type" value="Boolean">
<span data-l10n-id="about-config-pref-add-type-boolean">
Boolean
</span>
</label>
```
We need to add a check in the `findInteractiveAccessible()` method to allow for a label accessible to return its related form control to proceed with the a11y-checks suite, incl. the `assertLabeled` check too.
Test that is affected by this change: `toolkit/components/aboutconfig/test/browser/browser_edit.js`
Differential Revision: https://phabricator.services.mozilla.com/D205112
This patch adds some additional documentation about the tp6-bench test to the Raptor Browsertime docs. At the same time, the description given in the perfdocs config.yml file is updated to better reflect what the test currently does.
Differential Revision: https://phabricator.services.mozilla.com/D203821
This patch adds a new category for the tp6-bench test called `Pageload Lite` that will provie a minimum set of tests that should be run for checking pageload performance.
Differential Revision: https://phabricator.services.mozilla.com/D203820
The plan is to replace the implementations of these functions with an
ICU4X/Rust back end and then make the XPCOM versions call into these.
Migrating existing C++ callers is out of scope for this changeset.
Differential Revision: https://phabricator.services.mozilla.com/D205420
In this bug we want to enable sp3 to run daily on the p6 and s21 on fenix, geckoview and chrome
Since chrome and fenix are already running regularly due to other patches this is just running geckoview regularly
Differential Revision: https://phabricator.services.mozilla.com/D205565
For StaticRange, simply allows node to cross the trees.
For nsRange, when nodes are in different trees, in addition
to collapse them one point, a StaticRange will be created and the
original nodes will be stored to this StaticRange. This approach
allows us to have different behaviors of nsRange when the expectation
is different. For most of the cases where nsRange is being used (ie.
Editor), we keep the old behavior such that nodes always in the same
tree. And we can use the new behavior for things like selection.
Differential Revision: https://phabricator.services.mozilla.com/D195302
Move code for counting "downgrade on timer" telemetry from
`TestHTTPAnswerRunnable::OnStartRequest` to
`nsHTTPSOnlyUtils::PotentiallyDowngradeHttpsFirstRequest`, with a check if the
channel status is `NS_ERROR_NET_TIMEOUT_EXTERNAL`, which indicates that the
channel has been canceled by the timer. This fixes some cases where the HTTPS
request is actually successful, but we still count a timer downgrade.
Differential Revision: https://phabricator.services.mozilla.com/D204915