Skip to content

Commit 09dda17

Browse files
authored
Merge pull request #356 from tmbrbr/playwright-1.58.2
Updating to Playwright 1.58.2
2 parents 8c19173 + 7c946ae commit 09dda17

File tree

30,552 files changed

+1910297
-1040198
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

30,552 files changed

+1910297
-1040198
lines changed

.PLAYWRIGHT_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This is the version of playwright compatible with this foxhound Git commit.
22
# In case the patches from this version do not apply cleanly, please open an issue!
33
# For advice on how to build foxhound with playwright support, see build.sh
4-
PLAYWRIGHT_VERSION="v1.56.1"
4+
PLAYWRIGHT_VERSION="v1.58.2"
55
# This tells the build script which rust version to download and install
66
# See here for the correct version mapping: https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html
77
# also available in-tree here: docs/writing-rust-code/update-policy.md

.cargo/audit.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[advisories]
2+
ignore = [
3+
# To be dealt with via <https://bugzilla.mozilla.org/show_bug.cgi?id=1975554>.
4+
"RUSTSEC-2023-0018",
5+
]

.cargo/config.toml.in

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,14 @@ git = "https://github.com/beurdouche/nss-gk-api"
3030
rev = "e48a946811ffd64abc78de3ee284957d8d1c0d63"
3131
replace-with = "vendored-sources"
3232

33-
[source."git+https://github.com/chris-zen/coremidi.git?rev=fc68464b5445caf111e41f643a2e69ccce0b4f83"]
34-
git = "https://github.com/chris-zen/coremidi.git"
35-
rev = "fc68464b5445caf111e41f643a2e69ccce0b4f83"
36-
replace-with = "vendored-sources"
37-
3833
[source."git+https://github.com/franziskuskiefer/cose-rust?rev=43c22248d136c8b38fe42ea709d08da6355cf04b"]
3934
git = "https://github.com/franziskuskiefer/cose-rust"
4035
rev = "43c22248d136c8b38fe42ea709d08da6355cf04b"
4136
replace-with = "vendored-sources"
4237

43-
[source."git+https://github.com/gfx-rs/wgpu?rev=85001b2436f686451d6d783225311c06b60e6680"]
38+
[source."git+https://github.com/gfx-rs/wgpu?rev=b83c9cfd578837a6163d980130249c245a9c5f8a"]
4439
git = "https://github.com/gfx-rs/wgpu"
45-
rev = "85001b2436f686451d6d783225311c06b60e6680"
40+
rev = "b83c9cfd578837a6163d980130249c245a9c5f8a"
4641
replace-with = "vendored-sources"
4742

4843
[source."git+https://github.com/glandium/rust-objc?rev=4de89f5aa9851ceca4d40e7ac1e2759410c04324"]
@@ -70,9 +65,9 @@ git = "https://github.com/jfkthame/mapped_hyph.git"
7065
rev = "eff105f6ad7ec9b79816cfc1985a28e5340ad14b"
7166
replace-with = "vendored-sources"
7267

73-
[source."git+https://github.com/mozilla/application-services?rev=9b46be5beedb6a1d859014a71bac58e2d722f954"]
68+
[source."git+https://github.com/mozilla/application-services?rev=b5175a2a2458834c9fdc0468d851658b0657f95b"]
7469
git = "https://github.com/mozilla/application-services"
75-
rev = "9b46be5beedb6a1d859014a71bac58e2d722f954"
70+
rev = "b5175a2a2458834c9fdc0468d851658b0657f95b"
7671
replace-with = "vendored-sources"
7772

7873
[source."git+https://github.com/mozilla/audioipc?rev=e6f44a2bd1e57d11dfc737632a9e849077632330"]
@@ -90,19 +85,19 @@ git = "https://github.com/mozilla/cubeb-pulse-rs"
9085
rev = "8678dcab1c287de79c4c184ccc2e065bc62b70e2"
9186
replace-with = "vendored-sources"
9287

93-
[source."git+https://github.com/mozilla/midir.git?rev=85156e360a37d851734118104619f86bd18e94c6"]
88+
[source."git+https://github.com/mozilla/midir.git?rev=37ad39de3382c2aad0758dab49ba545331a2257d"]
9489
git = "https://github.com/mozilla/midir.git"
95-
rev = "85156e360a37d851734118104619f86bd18e94c6"
90+
rev = "37ad39de3382c2aad0758dab49ba545331a2257d"
9691
replace-with = "vendored-sources"
9792

98-
[source."git+https://github.com/mozilla/mp4parse-rust?rev=e64650a686e5c5732395cd059e17cfd3b1e5b63b"]
93+
[source."git+https://github.com/mozilla/mp4parse-rust?rev=d3e4d255bd149d341c7e90f5e9fc84e743a8e179"]
9994
git = "https://github.com/mozilla/mp4parse-rust"
100-
rev = "e64650a686e5c5732395cd059e17cfd3b1e5b63b"
95+
rev = "d3e4d255bd149d341c7e90f5e9fc84e743a8e179"
10196
replace-with = "vendored-sources"
10297

103-
[source."git+https://github.com/mozilla/neqo?tag=v0.13.4"]
98+
[source."git+https://github.com/mozilla/neqo?tag=v0.14.1"]
10499
git = "https://github.com/mozilla/neqo"
105-
tag = "v0.13.4"
100+
tag = "v0.14.1"
106101
replace-with = "vendored-sources"
107102

108103
[source."git+https://github.com/servo/rust-cssparser?rev=958a3f098acb92ddacdce18a7ef2c4a87ac3326f"]

.cron.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
extra-input:
4343
force-dry-run: true
4444
behavior: beta-to-release
45-
push: true
4645
run-on-projects:
4746
- mozilla-beta
4847
when:
@@ -56,7 +55,6 @@ jobs:
5655
extra-input:
5756
force-dry-run: true
5857
behavior: main-to-beta
59-
push: true
6058
run-on-projects:
6159
- mozilla-central
6260
when:

.gitignore

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ tags
1818
*.tsbuildinfo
1919
compile_commands.json
2020

21+
# emacs backup files in any directory.
22+
# lint-ignore-next-line: syntax-difference
23+
[#]*#
24+
2125
# Ignore ID generated by idutils.
2226
ID
2327

@@ -32,10 +36,14 @@ ID
3236
# Filesystem temporaries
3337
.fuse_hidden*
3438

35-
# Ignore Python .egg-info directories.
36-
# This is only relevant for first-party modules, but adding that directory for
37-
# third-party packages is dealt with by the script vendoring them.
38-
*.egg-info/
39+
# Ignore Python .egg-info directories for first-party modules (but,
40+
# still add vendored packages' .egg-info directories)
41+
# lint-ignore-next-line: syntax-difference
42+
*.egg-info
43+
# lint-ignore-next-line: syntax-difference
44+
!third_party/python/**/*.egg-info
45+
# lint-ignore-next-line: syntax-difference
46+
!testing/web-platform/tests/tools/third_party/**/*.egg-info
3947

4048
# Vim swap files.
4149
.*.sw[a-z]
@@ -79,7 +87,7 @@ build/reports/
7987
/gecko.log
8088

8189
# Ignore all node_modules directories except for ones under third_party
82-
node_modules/
90+
/node_modules/
8391
devtools/**/node_modules/
8492
tools/browsertime/node_modules/
8593
tools/lint/eslint/eslint-plugin-mozilla/node_modules/
@@ -183,6 +191,7 @@ remote/test/puppeteer/experimental/
183191
remote/test/puppeteer/lib/
184192
remote/test/puppeteer/node_modules/
185193
remote/test/puppeteer/package-lock.json
194+
remote/test/puppeteer/packages/browsers/src/generated
186195
remote/test/puppeteer/packages/ng-schematics/test/build
187196
remote/test/puppeteer/packages/puppeteer/**/README.md
188197
remote/test/puppeteer/packages/puppeteer-core/src/generated
@@ -230,8 +239,8 @@ mobile/android/**/generated
230239
# Android local.properties
231240
mobile/android/**/local.properties
232241

233-
# Android - Web extensions: manifest.json files are generated
234-
mobile/android/**/manifest.json
242+
# Android - Built-in web extensions: manifest.json files are generated
243+
mobile/android/android-components/**/assets/extensions/**/manifest.json
235244

236245
# XCode project cruft
237246
/*.xcodeproj/

.hgignore

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
\.tsbuildinfo$
1919
(^|/)compile_commands\.json$
2020

21+
# emacs backup files #filename# in any directory.
22+
# lint-ignore-next-line: syntax-difference
23+
(^|/)\#[^/]*\#$
24+
2125
# Ignore ID generated by idutils.
2226
(^|/)ID$
2327

@@ -31,6 +35,7 @@
3135
# Ignore Python .egg-info directories.
3236
# This is only relevant for first-party modules, but adding that directory for
3337
# third-party packages is dealt with by the script vendoring them.
38+
# lint-ignore-next-line: syntax-difference
3439
.*\.egg-info/
3540

3641
# Vim swap files.
@@ -183,6 +188,7 @@ _OPT\.OBJ/
183188
^remote/test/puppeteer/lib/
184189
^remote/test/puppeteer/node_modules/
185190
^remote/test/puppeteer/package-lock\.json
191+
^remote/test/puppeteer/packages/browsers/src/generated
186192
^remote/test/puppeteer/packages/ng-schematics/test/build
187193
^remote/test/puppeteer/packages/puppeteer/.*/README\.md
188194
^remote/test/puppeteer/packages/puppeteer-core/src/generated
@@ -230,8 +236,8 @@ _OPT\.OBJ/
230236
# Android local.properties
231237
^mobile/android/.*/local.properties
232238

233-
# Android - Web extensions: manifest.json files are generated
234-
^mobile/android/.*/manifest.json
239+
# Android - Built-in web extensions: manifest.json files are generated
240+
^mobile/android/android-components/.*/assets/extensions/.*/manifest\.json
235241

236242
# XCode project cruft
237243
^[^/]*\.xcodeproj/

.prettierignore

Lines changed: 93 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
!*.xhtml
99
!*.html
1010
!*.ts
11+
!*.css
1112

1213
# Prettier currently fails to parse this.
1314
toolkit/components/extensions/types/ext-tabs-base.d.ts
@@ -42,6 +43,7 @@ dom/security/test/sri/script*
4243
# Files that are intentionally broken for tests.
4344
dom/base/test/file_bug687859-charset.js
4445
dom/base/test/file_bug687859-inherit.js
46+
dom/security/test/sri/file_bug_1271796.css
4547
parser/htmlparser/tests/mochitest/broken_xml.xhtml
4648
parser/htmlparser/tests/mochitest/test_bug563322.xhtml
4749

@@ -1020,18 +1022,12 @@ browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
10201022
# for documentation purposes (policies.json) but to be accessed by the
10211023
# code as a .sys.mjs (schema.sys.mjs)
10221024
browser/components/enterprisepolicies/schemas/schema.sys.mjs
1023-
# generated or library files in pocket
1024-
browser/components/pocket/content/panels/js/tmpl.js
1025-
browser/components/pocket/content/panels/js/vendor.bundle.js
1026-
browser/components/pocket/content/panels/js/main.bundle.js
10271025
# Include the Storybook config files.
10281026
!browser/components/storybook/.storybook/
10291027
!browser/components/storybook/.storybook/*.js
10301028

10311029
# Ignore newtab files
10321030
browser/extensions/newtab/logs/
1033-
# JS file using the #include pre-processor macro, leading to syntax errors.
1034-
browser/extensions/newtab/webext-glue/builtin-newtab.js
10351031

10361032
# Ignore about:welcome files
10371033
browser/components/aboutwelcome/logs/
@@ -1080,7 +1076,7 @@ devtools/server/tests/xpcshell/setBreakpoint*
10801076
devtools/server/tests/xpcshell/sourcemapped.js
10811077

10821078
# Ignore generated code from wasm-bindgen
1083-
devtools/client/performance-new/shared/profiler_get_symbols.js
1079+
devtools/shared/performance-new/profiler_get_symbols.js
10841080

10851081
# Testing syntax error
10861082
devtools/client/aboutdebugging/test/browser/resources/bad-extensions/invalid-json/manifest.json
@@ -1252,15 +1248,103 @@ browser/extensions/translations/extension/
12521248
# "scaffolding" used by uniffi which isn't valid JS in its original form.
12531249
toolkit/components/uniffi-bindgen-gecko-js/src/templates/js/
12541250
toolkit/components/uniffi-bindgen-gecko-js/components/generated/*
1251+
toolkit/components/uniffi-bindgen-gecko-js/tests/generated/*
1252+
1253+
##############################################################################
1254+
# The list below is copied from .stylelintignore. Prettier doesn't currently
1255+
# support multiple ignore files or dynamic ignore configurations.
1256+
# When this is implemented, we'll update the configuration below (bug 1825508)
1257+
##############################################################################
1258+
1259+
# These files are generated in some way.
1260+
browser/components/aboutwelcome/**/*.css
1261+
browser/components/asrouter/**/*.css
1262+
browser/extensions/newtab/**/*.css
1263+
1264+
# Note that the debugger has its own stylelint setup, but that currently
1265+
# produces errors. Bug 1831302 tracks making this better
1266+
devtools/client/debugger/src/components/PrimaryPanes/Outline.css
1267+
devtools/client/debugger/src/components/PrimaryPanes/Sources.css
1268+
devtools/client/debugger/src/components/shared/AccessibleImage.css
1269+
devtools/client/debugger/src/utils/editor/source-editor.css
1270+
devtools/client/debugger/test/mochitest/examples/
1271+
1272+
# These get their sourcemap annotations autofixed, though they produce
1273+
# no errors at all.
1274+
devtools/client/inspector/rules/test/doc_sourcemaps.css
1275+
1276+
# This is intended to simulate a css file generated from a scss file in order to
1277+
# test sourcemaps.
1278+
devtools/client/inspector/rules/test/doc_sourcemaps2.css
1279+
1280+
# Some of these produce parse errors, some have sourcemaps modified.
1281+
# They're tests, so let's just ignore all of them:
1282+
devtools/client/inspector/computed/test/doc_sourcemaps.css
1283+
devtools/client/inspector/rules/test/doc_copystyles.css
1284+
devtools/client/inspector/rules/test/doc_invalid_sourcemap.css
1285+
devtools/client/shared/sourceeditor/test/css_statemachine_testcases.css
1286+
devtools/client/webconsole/test/browser/*.css
1287+
devtools/shared/commands/resource/tests/style_iframe.css
1288+
devtools/shared/commands/resource/tests/style_document.css
1289+
1290+
# Style editor tests check how it copes with invalid or "special" CSS,
1291+
# so don't try to "fix" those.
1292+
devtools/client/styleeditor/test/**/*.css
1293+
1294+
# These are empty or have funky charsets
1295+
dom/base/test/bug466409-empty.css
1296+
dom/encoding/test/file_utf16_be_bom.css
1297+
dom/encoding/test/file_utf16_le_bom.css
1298+
dom/security/test/cors/file_cors_logging_test.html.css
1299+
dom/security/test/sri/test_bug_1271796.html
1300+
dom/tests/mochitest/general/cssA.css
1301+
dom/tests/mochitest/general/cssC.css
1302+
1303+
# These are test-only and cause us to complain about font families or
1304+
# similar, but we don't want to touch these tests at this point.
1305+
dom/security/test/sri/file_bug_1271796.css
1306+
dom/security/test/csp/file_CSP.css
1307+
dom/security/test/sri/style2.css
1308+
dom/xml/test/old/docbook.css
1309+
dom/xml/test/old/toc/book.css
1310+
dom/xml/test/old/toc/toc.css
1311+
1312+
# Tests we don't want to modify at this point:
1313+
layout/base/tests/stylesheet_change_events.css
1314+
layout/inspector/tests/bug856317.css
1315+
layout/inspector/tests/chrome/test_bug467669.css
1316+
layout/inspector/tests/chrome/test_bug708874.css
1317+
layout/style/test/gtest/example.css
1318+
layout/style/test/mapped2.css
1319+
layout/style/test/unstyled-frame.css
1320+
1321+
# Bug 1893763
1322+
mobile/android/android-components/components/feature/readerview/src/main/assets/extensions/readerview/readerview.css
1323+
# Three dashes at top of file (for Jekyll?) cause syntax error:
1324+
mobile/android/android-components/docs/assets/main.scss
1325+
1326+
# Empty test files:
1327+
netwerk/test/mochitests/test1.css
1328+
netwerk/test/mochitests/test2.css
1329+
1330+
# Has substitution gunk in it:
1331+
python/mozbuild/mozbuild/test/backend/data/build/foo.css
1332+
1333+
# This is third-party in a way:
1334+
toolkit/components/pdfjs/content/web/debugger.css
1335+
toolkit/components/pdfjs/content/web/viewer.css
1336+
toolkit/components/pdfjs/content/web/viewer-geckoview.css
1337+
build/pgo/blueprint/**/*.css
1338+
1339+
# Ignore web-platform tests as they are not necessarily under our control.
1340+
testing/web-platform/tests/
12551341

12561342
##############################################################################
12571343
# The list below is copied from ThirdPartyPaths.txt. Prettier doesn't currently
12581344
# support multiple ignore files or dynamic ignore configurations.
12591345
# When this is implemented, we'll update the configuration below (bug 1825508)
12601346
##############################################################################
12611347

1262-
browser/components/pocket/content/panels/css/normalize.scss
1263-
browser/components/pocket/content/panels/js/vendor/
12641348
browser/components/storybook/node_modules/
12651349
browser/components/topsites/content/tippytop/favicons/
12661350
browser/components/topsites/content/tippytop/images/
@@ -1690,7 +1774,6 @@ mobile/locales/l10n-changesets.json
16901774
mobile/locales/l10n-onchange-changesets.json
16911775
node_modules/
16921776
python/mozperftest/mozperftest/tests/data/
1693-
security/manager/tools/KnownRootHashes.json
16941777
security/manager/tools/PreloadedHPKPins.json
16951778
services/settings/dumps/
16961779
toolkit/components/nimbus/schemas/ExperimentFeature.schema.json

.prettierignore-css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# When running Prettier via ESlint ignore these filetypes.
2+
*.css

.prettierignore-non-css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# When running Prettier via Stylelint ignore these filetypes.
2+
*.js
3+
*.json
4+
*.jsx
5+
*.mjs
6+
*.sjs
7+
*.xhtml
8+
*.html
9+
*.ts

.prettierrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,14 @@ module.exports = {
1010
printWidth: 80,
1111
tabWidth: 2,
1212
trailingComma: "es5",
13+
overrides: [
14+
{
15+
files: "*.css",
16+
options: {
17+
parser: "css",
18+
// Using a larger printWidth to avoid wrapping selectors.
19+
printWidth: 160,
20+
},
21+
},
22+
],
1323
};

0 commit comments

Comments
 (0)