[Bug]: page.evaluate in Chromium never settles when its argument nests 60 objects deep
メンテナーはふだん 1 日以内に返信
関連するプルリクエストがすでにマージされています。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- node.js, typescript
- 領域
- backend, testing-qa
調査の方向性
Start by reading the page.evaluate argument serialization path and the protocol handling for Chromium's Runtime.callFunctionOn response; the issue provides a reproducer in repro.mjs from the linked repository. Run it with arguments 59 and 60 objects deep and inspect the protocol trace. Done means the 60-deep call resolves or rejects with a useful depth error instead of hanging; two linked pull requests are already open.
索引モデルが issue の本文から書いたものです。
説明
Version
main (d3ca7ab), with the Chromium it pins, 158.0.8127.18
Steps to reproduce
- Clone https://github.com/YevheniiKotyrlo/playwright-chromium-evaluate-deep-argument
- Run
node repro.mjswith Node 18 or later and git. It clonesmain, runsnpm ciandnpm run build, installs the Chromiummainpins, writesDEBUG=pw:protocolto a file, and in a new page calls
let argument = 0;
for (let level = 0; level < objects; level += 1) {
argument = { children: [argument] };
}
await page.evaluate((value) => JSON.stringify(value).length, argument);
with objects at 59, then at 60, each raced against 10 seconds.
Expected behavior
The call with the argument 60 objects deep settles as the one 59 deep does: it resolves with the length, or rejects with an error that names the depth.
Actual behavior
It neither resolves nor rejects, so the caller waits until its own timeout. Chromium answers its Runtime.callFunctionOn with a parse error that carries no id:
microsoft/playwright d3ca7ab, Chromium 158.0.8127.18, Node v26.12.1, win32 x64
page.evaluate with an argument 59 objects deep: resolved with 886 after 14 ms
page.evaluate with an argument 60 objects deep: neither resolved nor rejected within 10 s after 10009 ms
Chromium's answer with no id: {"error":{"code":-32700,"message":"JSON: stack limit exceeded at position 2223"}}
summary: microsoft/playwright d3ca7ab with Chromium 158.0.8127.18 resolves page.evaluate with an argument 59 objects deep and neither resolves nor rejects it with one 60 deep
Environment
microsoft/playwright d3ca7ab, Chromium 158.0.8127.18, Node v26.12.1, win32 x64 (Windows 11 Pro)
- 主要言語
- TypeScript
- スター
- 99.7k
- フォーク
- 6.8k
- 平均マージ
- 16時間 10分
- マージ済み PR(30日)
- 301
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/playwright のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
microsoft/playwright#44109 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: WebKit emits pageerror for native RTCDataChannel send diagnostics without a JS exceptionオープンagent-triage
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
microsoft/playwright#44103 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[MCP]: --extension --background: noDefaults skips focus emulation, hidden tabs get no rAF and clicks time out対応中かも @microsoft-playwright-automation が今日担当しました。 オープンagent-triage
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
microsoft/playwright#44096 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Crash tests fail with the Chromium sandbox on Linux対応中かも @microsoft-playwright-automation が今日担当しました。 オープンagent-triage needs-triage
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
microsoft/playwright#44094 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
api review feedback Nov 11th, 2026対応中かも @luizpaulo-antunes が 1 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
microsoft/playwright#44062 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
microsoft/playwright の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pieterjanscheir/belgica#201 ·
メンテナーはふだん 1 日以内に返信
-
accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
numerique-gouv/lasuite-landingpage#311 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
oxc-project/tsgolint#1362 ·
メンテナーはふだん 1 日以内に返信
-
bug external xai
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
langchain-ai/langchain#41854 ·
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
nemchik/biome-plugin-suitescript#137 ·
メンテナーはふだん 1 日以内に返信