-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Fonts do not applied in Chromium if use page.route() before mount() #27294
Labels
Comments
Debugging notes: this is another manifestation of https://bugs.chromium.org/p/chromium/issues/detail?id=1279953. We receive two Related issue: #12148 |
yury-s
pushed a commit
that referenced
this issue
Oct 4, 2023
Sometimes Chromium restarts requests. This leads to multiple `Fetch.requestPaused` for a single `Network.requestWillBeSent`. Fixes #27294.
dgozman
added a commit
that referenced
this issue
Oct 10, 2023
This has recently regressed in #27429. We now continue requests that are paused for the second time. However, redirects share `networkId` with the original request, so we may confuse paused redirect with a second pause for the original request. This is covered by the flaky test `page-route.spec.ts:392 > should work with redirects for subresources` References #27294.
Germandrummer92
pushed a commit
to OctoMind-dev/playwright
that referenced
this issue
Oct 27, 2023
…t#27429) Sometimes Chromium restarts requests. This leads to multiple `Fetch.requestPaused` for a single `Network.requestWillBeSent`. Fixes microsoft#27294.
Germandrummer92
pushed a commit
to OctoMind-dev/playwright
that referenced
this issue
Oct 27, 2023
This has recently regressed in microsoft#27429. We now continue requests that are paused for the second time. However, redirects share `networkId` with the original request, so we may confuse paused redirect with a second pause for the original request. This is covered by the flaky test `page-route.spec.ts:392 > should work with redirects for subresources` References microsoft#27294.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System info
If use page.route() before component mount(), fonts will not load in Chromium. Other CSS applied correctly.
I ran same test in Safari and all CSS works fine.
Link to the GitHub repository with the repro
https://github.com/RiceWithMeat/playwright-ct-fonts-bug
Expected
Montserrat font used for h1
Actual
Times New Roman used for h1
The text was updated successfully, but these errors were encountered: