Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f5e013dc0adb903f8580f18b7555964cdb0013b8
      
https://github.com/WebKit/WebKit/commit/f5e013dc0adb903f8580f18b7555964cdb0013b8
  Author: Anuj Panta <[email protected]>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M LayoutTests/inspector/debugger/pause-on-assert.html

  Log Message:
  -----------
  Web Inspector: pause-on-assert.html races the steps it does not expect to 
pause on
https://bugs.webkit.org/show_bug.cgi?id=323788
rdar://187043030

Reviewed by Qianlang Chen.

Each step is evaluated inside a setTimeout so that exceptions can be paused on, 
so Runtime.evaluate
returns before the step has run. Pausing steps are sequenced by the 
Debugger.paused handler, but
non-pausing steps had nothing to wait on and the test waited 20ms instead. That 
was always a race;
the extra process hop under site isolation is enough to lose it, and the page's 
output then lands
after the next step's message. Have non-pausing steps signal completion from 
the page and await it,
so steps are sequenced rather than timed.

* LayoutTests/inspector/debugger/pause-on-assert.html:

Canonical link: https://commits.webkit.org/321118@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to