EveryListedPageBecomesInteractiveWithoutAnError fails on WebKit when the PDF viewer starts a fetch while it is left
メンテナーはふだん 1 日以内に返信
@msynk がすでに取り組んでいます。
2026年12月2日 から。
評価
この issue はまだ評価されていません。
説明
HostE2ETests.EveryListedPageBecomesInteractiveWithoutAnError fails on WebKit in WebAssembly now and then, on both tries, when it leaves the PDF viewer (job 143529478062, v-11.0.0 as released):
/e2e/pdf-viewer: raised an error while it was left (Fetch API cannot load http://localhost:5290/samples/pdf-not-a-pdf.pdf due to access control checks.)
#15565 was the same failure. Its fix excuses this message only for a request the browser reported failing after the navigation away began (cutOff), but in this case the browser reports no request at all.
Cause: WebKit's own behavior. While the navigation away is provisional, WebKit fails any load the page being left starts before it reaches the network (CachedResource::load, "Failed security check -- state is provisional"). CachedResourceLoader::requestResource then turns that synchronous cancellation into an access control error ("Synchronous cancellations are likely due to access control"), which DocumentThreadableLoader logs as "Fetch API cannot load ... due to access control checks". On a slow runner the PDF viewer page is still starting its sample fetches when it is left, sometimes before the navigation request and sometimes after.
Evidence
- A targeted test holds the next document's response back for 3 s, so the navigation stays provisional, and has the page being left call
fetch('/samples/pdf-not-a-pdf.pdf?diag').catch(...):- WebKit (run 46936271863): no
requestevent at all;pageerror Fetch API cannot load http://localhost:5290/samples/pdf-not-a-pdf.pdf?diag due to access control checks.; and the page's own handler logsfetch rejected TypeError: Load failed. So the rejection is caught, and the message comes from WebKit, not from an unhandled error in the page. The same fetch on a page that stays loads normally (200). - Chromium (run 46936279997): the same fetch during the provisional navigation is requested and resolves 200.
- WebKit (run 46936271863): no
- Logging every request around the PDF viewer's visit in three full WebKit/wasm runs (46924848553, 46924857191, 46924865823, all passing) shows the viewer starts its two
pdf-not-a-pdf.pdffetches 40 to 550 ms after the test sets off. Those fetches were either cut off in flight ("Load request cancelled", no console error) or finished just before the navigation request. When one starts a little later, the navigation is already provisional, and WebKit refuses it as above. - The component is not at fault:
BitPdfViewercatches the failed fetch (LoadAsync), and the message appears even for a fetch whose rejection the page handles.
Fix (test only). An error naming a fetch with WebKit's "cannot load ... due to access control checks" is also taken for one cut off when it is raised while the page is being left (after the test set off and before the next page commits) and the browser has reported no request for that address since the test set off. A fetch that failed for real went to the network and was reported, so it is still caught.
Flaky rather than broken: the WebKit/wasm shard holding this test failed in 2 of the last 7 full runs (the nights of 2026-11-30 and 2026-12-02). It passed on 2026-11-28, 2026-12-01, and in the three diagnostic runs above.
- 主要言語
- C#
- スター
- 1.4k
- フォーク
- 264
- 平均マージ
- 5時間 40分
- マージ済み PR(30日)
- 489
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bitfoundation/bitplatform のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
bitfoundation/bitplatform#15606 ·
メンテナーはふだん 1 日以内に返信
-
Blex's circuit pause E2E test pauses while BlexProvider's start still has JS calls in flight対応中かも @msynk が今日担当しました。 オープンarea / blex
bitfoundation/bitplatform#15602 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Brouter's and Bmage's MCP tools leave out double, float and MaxFileSize対応中かも @msynk が今日担当しました。 オープン
bitfoundation/bitplatform#15601 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
BitPhoneInput leaves its Value empty when the number is typed in Persian or Arabic digits対応中かも @seragAhmed が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
bitfoundation/bitplatform#15600 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Version 11.0.0オープン
難易度 1/5 1時間未満 初心者へのやさしさ 40/100
bitfoundation/bitplatform#15598 ·
メンテナーはふだん 1 日以内に返信
bitfoundation/bitplatform の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
unoplatform/uno#27025 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
valkey-io/valkey-glide#7975 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
voltern-org/starling#214 ·
メンテナーはふだん 1 日以内に返信
-
needs-investigation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure/azure-cosmos-dotnet-v3#6255 ·
メンテナーはふだん 6 日以内に返信
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信