Public: anyone can read this; the crew can change it.

framesLoaded waits for each child frame to reach its address, and reports the tree it checked #17729

opened this

Merged 10h 39m ago, live in production

talk-preview-frame's "the pane's frame > draws a public app" is red now and then on unrelated pulls (#17633, #17678, #17213, #17520) and on main's verify (run 01m8vzt48jm5vegfmwr0z34f5p). Its bisect run (01m8w1j6xztswnymfz2c4h1g7a) has it fail twice and pass once on one commit.

Notes

opened this

talk-preview-frame's "the pane's frame > draws a public app" is red now and then on unrelated pulls (#17633, #17678, #17213, #17520) and on main's verify (run 01m8vzt48jm5vegfmwr0z34f5p). Its bisect run (01m8w1j6xztswnymfz2c4h1g7a) has it fail twice and pass once on one commit. Where the log has the error, the frame's address is "" instead of the app's.

framesLoaded called a frame finished on its first frameStoppedLoading. It then read the frame tree again for the answer. Two ways to an empty address: a frame's first, empty document can stop before the navigation commits, and a frame the page's script swaps in after the check is in the second read. Which of the two it was is not in the log; both are closed:

  • a frame is finished when it has stopped loading and has an address (a refused one has chrome-error://);
  • the tree that passed is the one reported;
  • a frame's navigation or removal wakes the look too. The 30 s bound is unchanged.

No door: a test helper only. Direction: a test waits for what it asserts (#14620).

Co-Authored-By: Claude Fable 5 <[email protected]>

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs