<?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>171822</bug_id>
          
          <creation_ts>2017-05-08 12:58:42 -0700</creation_ts>
          <short_desc>[Sierra Release wk2] Multiple LayoutTest/inspector/debugger test flaky</short_desc>
          <delta_ts>2017-09-27 13:01:53 -0700</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>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=173723</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="Matt Lewis">jlewis3</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>joepeck</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1306007</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-05-08 12:58:42 -0700</bug_when>
    <thetext>The tests:

inspector/debugger/async-stack-trace.html is flaky failure

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=inspector%2Fdebugger%2Fasync-stack-trace.html
Diff:
--- /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/inspector/debugger/async-stack-trace-expected.txt
+++ /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/inspector/debugger/async-stack-trace-actual.txt
@@ -1,5 +1,7 @@
 Tests for async stack traces.
 
+ERROR: TypeError: this._dispatcher is not an Object. (evaluating &apos;eventName in this._dispatcher&apos;)
+ERROR: TypeError: this._dispatcher is not an Object. (evaluating &apos;eventName in this._dispatcher&apos;)
 
 == Running test suite: AsyncStackTrace
 -- Running test case: CheckAsyncStackTrace.RequestAnimationFrame

The test
inspector/debugger/break-on-exception-throw-in-promise.html
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=inspector%2Fdebugger%2Fbreak-on-exception-throw-in-promise.html
Diff
--- /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/inspector/debugger/break-on-exception-throw-in-promise-expected.txt
+++ /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/inspector/debugger/break-on-exception-throw-in-promise-actual.txt
@@ -25,6 +25,8 @@
 CONSOLE MESSAGE: line 86: Unhandled Promise Rejection: TestError
 Checking pause locations within Promises when pausing on all exceptions.
 
+ERROR: TypeError: this._dispatcher is not an Object. (evaluating &apos;eventName in this._dispatcher&apos;)
+ERROR: TypeError: this._dispatcher is not an Object. (evaluating &apos;eventName in this._dispatcher&apos;)
 
 == Running test suite: BreakOnAnyException.Promise
 -- Running test case: BreakOnAnyException.Promise.ExceptionInPromiseConstructor

the test
inspector/debugger/break-on-uncaught-exception-throw-in-promise.html
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=inspector%2Fdebugger%2Fbreak-on-uncaught-exception-throw-in-promise.html
diff:
--- /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/inspector/debugger/break-on-uncaught-exception-throw-in-promise-expected.txt
+++ /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/inspector/debugger/break-on-uncaught-exception-throw-in-promise-actual.txt
@@ -25,6 +25,8 @@
 CONSOLE MESSAGE: line 86: Unhandled Promise Rejection: TestError
 Checking no pauses within Promises when pausing on uncaught exceptions.
 
+ERROR: TypeError: this._dispatcher is not an Object. (evaluating &apos;eventName in this._dispatcher&apos;)
+ERROR: TypeError: this._dispatcher is not an Object. (evaluating &apos;eventName in this._dispatcher&apos;)
 
 == Running test suite: BreakOnUncaughtException.Promise
 -- Running test case: BreakOnUncaughtException.Promise.ExceptionInPromiseConstructor

The test
inspector/debugger/break-on-uncaught-exception.html
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=inspector%2Fdebugger%2Fbreak-on-uncaught-exception.html
diff
--- /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/inspector/debugger/break-on-uncaught-exception-expected.txt
+++ /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/inspector/debugger/break-on-uncaught-exception-actual.txt
@@ -13,6 +13,8 @@
 CONSOLE MESSAGE: line 18: DONE
 Checking pause locations when pausing on uncaught exceptions.
 
+ERROR: TypeError: this._dispatcher is not an Object. (evaluating &apos;eventName in this._dispatcher&apos;)
+ERROR: TypeError: this._dispatcher is not an Object. (evaluating &apos;eventName in this._dispatcher&apos;)
 
 == Running test suite: BreakOnUncaughtException
 -- Running test case: BreakOnUncaughtException.UncaughtExceptionBasic



All four test seem to fail at the same time and in a very similar way.

Unsure that this is the reference point but this seem to start with these three revisions r216272, r216271, r216270
https://trac.webkit.org/log/webkit/?verbose=on&amp;rev=216272&amp;stop_rev=216270</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1335315</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-08-04 10:29:40 -0700</bug_when>
    <thetext>Seen with inspector/canvas tests here:

https://build.webkit.org/results/Apple%20Sierra%20Release%20WK2%20(Tests)/r220271%20(3377)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1336717</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-08-08 16:04:50 -0700</bug_when>
    <thetext>*** Bug 174208 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1336719</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-08-08 16:05:36 -0700</bug_when>
    <thetext>*** Bug 173723 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1348516</commentid>
    <comment_count>4</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-09-13 15:20:38 -0700</bug_when>
    <thetext>I have discovered what can cause this. I&apos;ve made sure tests register a ScriptProfilerObserver and I&apos;ve made the error message clear about which domain is missing having a dispatcher registered:

    ERROR: No domain dispatcher registered for domain &apos;ScriptProfiler&apos;

So this shouldn&apos;t happen anymore, and if it does we have a clear path to a solution. Closing this.

See: Bug 176824</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1353777</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-09-27 13:01:53 -0700</bug_when>
    <thetext>&lt;rdar://problem/34694509&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>