<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>217934</bug_id>
          
          <creation_ts>2020-10-19 17:37:11 -0700</creation_ts>
          <short_desc>Test landed broken: [mac-wk1] inspector/debugger/breakpoint-resolve-when-script-added.html is a flaky timeout</short_desc>
          <delta_ts>2026-01-05 10:23:35 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=217862</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Devin Rousso">hi</assigned_to>
          <cc>hi</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1699545</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2020-10-19 17:37:11 -0700</bug_when>
    <thetext>The test added with https://trac.webkit.org/changeset/268629, inspector/debugger/breakpoint-resolve-when-script-added.html is a flaky timeout on macOS WK1 bots.

https://results.webkit.org/?suite=layout-tests&amp;test=inspector%2Fdebugger%2Fbreakpoint-resolve-when-script-added.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1699546</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-10-19 17:37:39 -0700</bug_when>
    <thetext>&lt;rdar://problem/70464034&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1699548</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2020-10-19 17:42:09 -0700</bug_when>
    <thetext>Skipped test for mac-wk1 with https://trac.webkit.org/changeset/268703/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1699554</commentid>
    <comment_count>3</comment_count>
    <who name="Devin Rousso">hi</who>
    <bug_when>2020-10-19 17:58:08 -0700</bug_when>
    <thetext>I am 100% sure this is an issue with the test, not any of the other code added in r268629.

r268629 is basically a partial revert of r266074 with an added test case to make sure that the regression doesn&apos;t happen again.

r266074 renamed `InspectorDebuggerAgent::m_javaScriptBreakpoints` to `InspectorDebuggerAgent::m_protocolBreakpointForProtocolBreakpointID`, but also incorrectly included an extra call to `m_protocolBreakpointForProtocolBreakpointID.clear()` inside `InspectorDebuggerAgent::clearDebuggerBreakpointState` (which is called each time the global object of the main frame changes, such as from a reload/navigation). r268629 removed that extra call.

One complication for this test is that it makes use of `InspectorTest.reloadPage`, which I vaguely remember having issues in WK1 in the past (some other tests that use `InspectorTest.reloadPage` are also skipped on WK1, such as  inspector/page/overrideUserAgent.html and inspector/dom-debugger/event-breakpoint-with-navigation.html).

I am also having trouble reproducing this locally, as `run-webkit-tests -1` appears to be using an older version of the test as I wrote it before I uploaded the patch, so it fails with a diff (instead of timeout) :|

I have tested the changes in r268629 using WK1 MiniBrowser and everything works just fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1700481</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-10-21 17:21:31 -0700</bug_when>
    <thetext>As tests are a tool for confirming that behavior continues to be correct into the future, a manual test at any single point in time does not replace a working test.

&gt; I am also having trouble reproducing this locally, as `run-webkit-tests -1` appears to be using an older version of the test as I wrote it before I uploaded the patch, so it fails with a diff (instead of timeout) :|

Not sure what you mean by this. Perhaps you have multiple checkouts, and are running tests against a different one?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2169386</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2026-01-05 10:23:35 -0800</bug_when>
    <thetext>Closing old WebKitLegacy bugs as we cut-back WebKitLegacy testing. See https://bugs.webkit.org/show_bug.cgi?id=304436.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>