Title: [269257] trunk/LayoutTests
Revision
269257
Author
[email protected]
Date
2020-11-02 11:13:11 -0800 (Mon, 02 Nov 2020)

Log Message

REGRESSION (r268897): [macOS WK1] inspector/cpu-profiler/threads.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=218253
<rdar://problem/70732755>

Reviewed by Geoffrey Garen.

Check the thread name to identify the 2 worker threads. This is needed so that worklet thread are
not identified as worker threads after r268897.

* inspector/cpu-profiler/threads.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (269256 => 269257)


--- trunk/LayoutTests/ChangeLog	2020-11-02 19:01:54 UTC (rev 269256)
+++ trunk/LayoutTests/ChangeLog	2020-11-02 19:13:11 UTC (rev 269257)
@@ -1,3 +1,16 @@
+2020-11-02  Chris Dumez  <[email protected]>
+
+        REGRESSION (r268897): [macOS WK1] inspector/cpu-profiler/threads.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=218253
+        <rdar://problem/70732755>
+
+        Reviewed by Geoffrey Garen.
+
+        Check the thread name to identify the 2 worker threads. This is needed so that worklet thread are
+        not identified as worker threads after r268897.
+
+        * inspector/cpu-profiler/threads.html:
+
 2020-11-01  Darin Adler  <[email protected]>
 
         Start removing functions that implicitly use composed tree

Modified: trunk/LayoutTests/inspector/cpu-profiler/threads.html (269256 => 269257)


--- trunk/LayoutTests/inspector/cpu-profiler/threads.html	2020-11-02 19:01:54 UTC (rev 269256)
+++ trunk/LayoutTests/inspector/cpu-profiler/threads.html	2020-11-02 19:13:11 UTC (rev 269257)
@@ -36,7 +36,7 @@
                 for (let thread of threads) {
                     if (thread.type === "main")
                         main.push(thread);
-                    else if (thread.targetId)
+                    else if (thread.targetId && thread.name == "WebCore: Worker")
                         workers.push(thread);
                     else
                         others.push(thread);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to