Commit Graph

914998 Commits

Author SHA1 Message Date
Tom Ritter
51c22349b2 Bug 1878716: Add a test that compares the canvases in a popup that is same or cross domain r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D205918
2024-05-02 13:55:40 +00:00
Tom Ritter
1547955e11 Bug 1878716: Add a test that compares the canvases between a parent and child r=timhuang
For the first test, the parent is a page and the child is an iframe, but
eventually we will have tests for lots of different children types.

We test that the number of pixels we expect to be randomized are, and
we also compare the differences between the parent and child.

This allows us to ensure that the FPP key is being propagated correctly.

Differential Revision: https://phabricator.services.mozilla.com/D205917
2024-05-02 13:55:40 +00:00
Tom Ritter
8e9aaf0d85 Bug 1878716: Add a test for popups r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D205916
2024-05-02 13:55:39 +00:00
Tom Ritter
ae9323188e Bug 1878716: Add a test for Canvas Randomization r=timhuang
This test ensures the expected number of pixels are randomized
in different scenarios of preferences

Differential Revision: https://phabricator.services.mozilla.com/D205915
2024-05-02 13:55:39 +00:00
Tom Ritter
2000b5ce6a Bug 1878716: Add a version of the test with protections enabled r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D206019
2024-05-02 13:55:38 +00:00
Tom Ritter
b3176f37b3 Bug 1878716: Rename a shared test to hopefully be less confusing r=timhuang
This test is a little odd because (a) its name is super long and unhelpful
(b) it's testing a very important sitation we've regressed on before
(c) it _disables_ the protections, so you actually don't expect anything
to be enabled.

We're going to need a very similar version of this test where the
protections are _enabled_, so let's pre-emptively rename this one to
prepare for that.

Differential Revision: https://phabricator.services.mozilla.com/D206018
2024-05-02 13:55:38 +00:00
Tom Ritter
c3d72c6481 Bug 1878716: Add those tests to all the other files r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D205914
2024-05-02 13:55:38 +00:00
Tom Ritter
d280ea2122 Bug 1878716: Fix some Hardware Concurrency Tests r=timhuang
It turns out that we had the override string wrong, but we
didn't notice because we happened to be only testing things
where it was supposed to be disabled anyway.

There was a test where this would have not been the case
(simplePBMFPPTest) - but this was only be tested when we were
_exempting_ it with ETP.

I added this scenario to a place where it would be tested
positively, and confirmed that it failed, then when I fixed
the override, started working again.

Differential Revision: https://phabricator.services.mozilla.com/D205913
2024-05-02 13:55:37 +00:00
Tom Ritter
5a0e88458e Bug 1878716: De-duplicate canvas comparison code in tests r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D205912
2024-05-02 13:55:37 +00:00
Tom Ritter
fa7ae97f0d Bug 1878716: Copy the randomization key from the opener r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D201087
2024-05-02 13:55:36 +00:00
Christoph Kerschbaumer
95ac4f2f0b Bug 1894205: Update tests within devtools/ to work with https-first enabled, r=jdescottes,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D208990
2024-05-02 13:44:53 +00:00
Greg Stoll
dbb58806f6 Bug 1879631 part 2 - also check clipboard contents in HTML format r=dlp-reviewers,handyman
Differential Revision: https://phabricator.services.mozilla.com/D207193
2024-05-02 13:41:52 +00:00
Greg Stoll
d1036b03a9 Bug 1879631 part 1 - only attempt to load DataTransferItem one time r=dom-core,edgar
This is needed so that if content analysis blocks the clipboard data, Firefox doesn't keep sending requests for the same data. This also means that it won't keep showing to the user that the data was blocked multiple times.

Differential Revision: https://phabricator.services.mozilla.com/D207192
2024-05-02 13:41:52 +00:00
ganna
6be7dbb8ed Bug 1845151 - Remove all code associated with the message-bar component r=hjones,desktop-theme-reviewers,reusable-components-reviewers,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D208381
2024-05-02 13:40:19 +00:00
Calixte
fe9af3b8e3 Bug 1894673 - Update pdf.js revision for Talos tests r=marco
Differential Revision: https://phabricator.services.mozilla.com/D209237
2024-05-02 13:12:33 +00:00
Ryan VanderMeulen
0e07c8c08e Bug 1806946 - Skip GTests which fail when run under TSAN. r=profiler-reviewers,dom-storage-reviewers,tnikkel,xpcom-reviewers,ipc-reviewers,mccr8,janv,webrtc-reviewers,pehrsons,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D209175
2024-05-02 13:09:07 +00:00
Ryan VanderMeulen
3a0845c7c5 Bug 1806946 - Enable GTests for TSAN. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D165372
2024-05-02 13:09:07 +00:00
Julian Descottes
ba9bcbe549 Bug 1894305 - [bidi] Add new trace log for Navigate:waitForInitialNavigationCompleted r=webdriver-reviewers,whimboo
Depends on D209047

This additional log could help debug what happens on the Github macos-latest workers

Differential Revision: https://phabricator.services.mozilla.com/D209048
2024-05-02 13:00:34 +00:00
Julian Descottes
6793fdac6f Bug 1894305 - [bidi] Do not delay calling waitForInitialNavigationCompleted in browsingContext.create r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D209047
2024-05-02 13:00:33 +00:00
Ryan VanderMeulen
61b9734847 Bug 1894584 - Update JDK 8 to version 8.0.412+8. r=taskgraph-reviewers,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D209183
2024-05-02 12:56:37 +00:00
Titouan Thibaud
386c7f17b2 Bug 1885171 - set private keyboard on Javascript prompts in private browsing r=android-reviewers,boek
Differential Revision: https://phabricator.services.mozilla.com/D208135
2024-05-02 12:50:59 +00:00
Mike Hommey
68e2608e78 Bug 1894093 - Apply https://github.com/rust-lang/rust-bindgen/pull/2824 to vendored bindgen. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209112
2024-05-02 12:17:47 +00:00
Joel Maher
64e5693772 Bug 1894551 - remove old win/aarch64 references in gtest moz.build files. r=RyanVM,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209182
2024-05-02 12:17:06 +00:00
Henrik Skupin
f144277f61 Bug 1892248 - [devtools] Remove backward compatibility code for Firefox 127. r=devtools-backward-compat-reviewers,devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D209198
2024-05-02 11:48:36 +00:00
Emilio Cobos Álvarez
5c3e7c13b2 Bug 1844497 - Recompute input region when switching titlebar mode. r=stransky
This is enough to workaround this KWin or GTK issue...

Differential Revision: https://phabricator.services.mozilla.com/D209223
2024-05-02 11:46:57 +00:00
Sebastian Hengst
a1bc500d88 Bug 1894398 - validate treeherder group name length in taskcluster config. r=releng-reviewers,taskgraph-reviewers,jmaher,jcristau
Treeherder ingests tasks data and discards it if the Treeherder group name for
a task is longer than the limit of 100 characters in Treeherder - the task is
not shown in Treeherder. Enforce the limit in the Taskcluster schema to prevent
this.

Differential Revision: https://phabricator.services.mozilla.com/D209078
2024-05-02 11:35:49 +00:00
Cristian Tuns
5693bd5435 Backed out changeset 5fd6dc273b44 (bug 1894398) for causing Gecko Decision Task failures. CLOSED TREE 2024-05-02 07:26:50 -04:00
Sebastian Hengst
ffa1637783 Bug 1894398 - validate treeherder group name length in taskcluster config. r=releng-reviewers,taskgraph-reviewers,jmaher,jcristau
Treeherder ingests tasks data and discards it if the Treeherder group name for
a task is longer than the limit of 100 characters in Treeherder - the task is
not shown in Treeherder. Enforce the limit in the Taskcluster schema to prevent
this.

Differential Revision: https://phabricator.services.mozilla.com/D209078
2024-05-02 11:18:24 +00:00
t-p-white
293949fbf3 Bug 1893993 - Added the MicrosurveyTargetFeature enum to Messaging r=android-reviewers,amejiamarmol,cchin
Differential Revision: https://phabricator.services.mozilla.com/D208895
2024-05-02 11:04:08 +00:00
Tom Schuster
b566e47150 Bug 1888695 - Add a pref for the iframe XFO/CSP Open In New Window button. r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D206911
2024-05-02 10:55:56 +00:00
Dave Townsend
292449038b Bug 1893340: Test nsINIParser for string and section deletion r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D208981
2024-05-02 10:46:41 +00:00
Cristian Tuns
a66d4b8629 Backed out changeset b7b5591bbe22 (bug 1890369) for causing fenix failures in HomeFragmentTest CLOSED TREE 2024-05-02 06:21:00 -04:00
Julien Cristau
724ac2384d Bug 1893417 - support splitting scraped system symbols into multiple artifacts. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D208986
2024-05-02 10:08:57 +00:00
Cedric
a0d0c338dd Bug 1892694 - gtk: Add a missing #include to unbreak the build with wayland only r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D209215
2024-05-02 10:01:59 +00:00
Cristian Tuns
46a334bb29 Bug 1892500 - Set structured-clone.any.worker.html?101-last as intermittent on Windows. r=aryx CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D209214
2024-05-02 09:38:41 +00:00
Jonathan Kew
f8e2122b2b Bug 1894424 - Optimize gfxFont::AlwaysNeedsMaskForShadow check by caching the answer in the font entry. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D209104
2024-05-02 09:00:17 +00:00
Ziran Sun
44f3e9c4c2 Bug 1891934 - [popover] Handling focus naviagtion when invoker is not focusable. r=smaug
At popover navigation bug 1856539, we left the case that when invoker is not focusable to its default behaviour.
At https://github.com/web-platform-tests/wpt/pull/45391, it is suggested that we should another element next to
the invoker to focus.

Differential Revision: https://phabricator.services.mozilla.com/D207693
2024-05-02 08:51:13 +00:00
iorgamgabriel
e95677bb53 Bug 1887126 - Add Extra to Toggle State for Page Settings and Improve Show Original r=android-reviewers,ayeddi,ohall
Differential Revision: https://phabricator.services.mozilla.com/D207341
2024-05-02 08:46:05 +00:00
RebecaTudor
838aaeeba5 Bug 1890369 - Fix "Site removed" snackbar that overlaps the toolbar r=android-reviewers,007
When a top site was deleted, the snackbar that contains the undo button was overlapping the search toolbar.

 The issue was that the anchor was not set.

 Besides fixing the issue, the duplicated call of FenixSnackbar from TopSiteItemViewHolder.kt was removed.

Differential Revision: https://phabricator.services.mozilla.com/D206992
2024-05-02 07:49:56 +00:00
Julian Descottes
2251735c2d Bug 1786639 - [wdspec] Use pagehide instead of unload for webdriver navigate test r=webdriver-reviewers,whimboo
Depends on D208638

Differential Revision: https://phabricator.services.mozilla.com/D208639
2024-05-02 07:29:03 +00:00
Julian Descottes
6bda69a738 Bug 1817820 - [marionette] Retry switch to frame if browsing context changed mid flight r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D208638
2024-05-02 07:29:03 +00:00
moz-wptsync-bot
e2ed9b1410 Bug 1894276 - [wpt-sync] Update web-platform-tests to e5de0f18bc50b79f76994ebc3e8c33f06b256a42, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: e5de0f18bc50b79f76994ebc3e8c33f06b256a42
wpt-type: landing
2024-05-02 07:27:43 +00:00
dependabot[bot]
459045ad48 Bug 1875571 [wpt PR 44101] - Bump psutil from 5.9.5 to 5.9.8 in /tools, a=testonly
Automatic update from web-platform-tests
Bump psutil from 5.9.5 to 5.9.8 in /tools

Bumps [psutil](https://github.com/giampaolo/psutil) from 5.9.5 to 5.9.8.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.9.5...release-5.9.8)

---
updated-dependencies:
- dependency-name: psutil
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: e5de0f18bc50b79f76994ebc3e8c33f06b256a42
wpt-pr: 44101
2024-05-02 07:27:42 +00:00
moz-wptsync-bot
2d1ad972b9 Bug 1894185 [wpt PR 45979] - Update wpt metadata, a=testonly
wpt-pr: 45979
wpt-type: metadata
2024-05-02 07:27:42 +00:00
Tim Nguyen
e5bc5daca9 Bug 1894185 [wpt PR 45979] - Fix typo in pseudo-with-classes-match-wildard.html file name, a=testonly
Automatic update from web-platform-tests
Fix typo in pseudo-with-classes-match-wildard.html file name (#45979)

--

wpt-commits: 9a8d48a72b2855fa4001b93de10dfebb5ac1ff24
wpt-pr: 45979
2024-05-02 07:27:41 +00:00
Bradford Hovinen
239a87ab84 Bug 1894038 [wpt PR 45956] - Fix error reporting in tools/serve/serve.py, a=testonly
Automatic update from web-platform-tests
Fix error reporting in tools/serve/serve.py

In #45686 I reported the following log output:

```
❯ ./wpt serve
<irrelevant parts removed>
[2024-04-12 17:08:01,479 wss on port 33453] CRITICAL - Please ensure all the necessary WPT subdomains are mapped to a loopback device in /etc/hosts.
See https://web-platform-tests.org/running-tests/from-local-system.html#system-setup for instructions.
```

The underlying problem was actually https://github.com/GoogleChromeLabs/pywebsocket3/issues/38 and had nothing to do with the content of `/etc/hosts` (which had already been set up).

The problem is that `tools/serve/serve.py` contains numerous points like the following:

```python
try​:
    # <do something>
except Exception:
    startup_failed(logger)
```

This swallows the actual exception, while `startup_failed` logs the message above. Since the actual problem is not as described, the logs are extremely misleading.

This change adds a log of the original exception to each location where the exception was swallowed. The log message includes enough context to help diagnose the problem.

With this change, the log output is as follows:

```
➜ ./wpt serve
<irrelevant parts removed>
[2024-04-29 18:01:15,751 wss on port 33175] CRITICAL - start_wss_server: Caught exception from WebSocketDomain: module 'ssl' has no attribute 'wrap_socket'
[2024-04-29 18:01:15,751 wss on port 33175] CRITICAL - Please ensure all the necessary WPT subdomains are mapped to a loopback device in /etc/hosts.
See https://web-platform-tests.org/running-tests/from-local-system.html#system-setup for instructions.
```

--

wpt-commits: 6ad503f0f467176f468e89f2e278de87116e4473
wpt-pr: 45956
2024-05-02 07:27:40 +00:00
dependabot[bot]
e90968f858 Bug 1881357 [wpt PR 44715] - Bump httpx[http2] from 0.24.1 to 0.27.0 in /tools, a=testonly
Automatic update from web-platform-tests
Bump httpx[http2] from 0.24.1 to 0.27.0 in /tools

Bumps [httpx[http2]](https://github.com/encode/httpx) from 0.24.1 to 0.27.0.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/httpx/compare/0.24.1...0.27.0)

---
updated-dependencies:
- dependency-name: httpx[http2]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: 86de4ffa4e439098e05f05de7d8cae1c24ff84fb
wpt-pr: 44715
2024-05-02 07:27:39 +00:00
dependabot[bot]
69328a87bf Bug 1894127 [wpt PR 45964] - Bump taskcluster from 64.2.6 to 64.2.7 in /tools, a=testonly
Automatic update from web-platform-tests
Bump taskcluster from 64.2.6 to 64.2.7 in /tools

Bumps [taskcluster](https://github.com/taskcluster/taskcluster) from 64.2.6 to 64.2.7.
- [Release notes](https://github.com/taskcluster/taskcluster/releases)
- [Changelog](https://github.com/taskcluster/taskcluster/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taskcluster/taskcluster/compare/v64.2.6...v64.2.7)

---
updated-dependencies:
- dependency-name: taskcluster
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: 24ec60c01bafef3a35fb8a4129363ed299db3d84
wpt-pr: 45964
2024-05-02 07:27:39 +00:00
dependabot[bot]
b95d044a69 Bug 1894125 [wpt PR 45963] - Bump hypothesis from 6.78.2 to 6.100.2 in /tools, a=testonly
Automatic update from web-platform-tests
Bump hypothesis from 6.78.2 to 6.100.2 in /tools

Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.78.2 to 6.100.2.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.78.2...hypothesis-python-6.100.2)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: dcb7842cd43c8cfd31e7b2bd46ddf710ba97ae50
wpt-pr: 45963
2024-05-02 07:27:38 +00:00
dependabot[bot]
5659c6a7c1 Bug 1894121 [wpt PR 45961] - Bump cairocffi from 1.6.1 to 1.7.0 in /tools, a=testonly
Automatic update from web-platform-tests
Bump cairocffi from 1.6.1 to 1.7.0 in /tools

Bumps [cairocffi](https://github.com/Kozea/cairocffi) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/Kozea/cairocffi/releases)
- [Changelog](https://github.com/Kozea/cairocffi/blob/main/NEWS.rst)
- [Commits](https://github.com/Kozea/cairocffi/compare/v1.6.1...v1.7.0)

---
updated-dependencies:
- dependency-name: cairocffi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: d84f8068819543269296564ac93c35ac9a71edd4
wpt-pr: 45961
2024-05-02 07:27:37 +00:00