[Webkit-unassigned] [Bug 217966] [GTK] inspector/console/queryHolders.html is failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 5 16:12:27 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=217966

--- Comment #6 from Diego Pino <dpino at igalia.com> ---
Now this test is failing with a different output:

--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/inspector/console/queryHolders-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/inspector/console/queryHolders-actual.txt
@@ -54,13 +54,13 @@
 [Root] (1)

 -- Running test case: CommandLineAPI.queryHolders.PromiseThen
-[Root, object] (2)
+[Object, Root] (2)

 -- Running test case: CommandLineAPI.queryHolders.PromiseCatch
-[Root, object] (2)
+[Object, Root] (2)

 -- Running test case: CommandLineAPI.queryHolders.PromiseFinally
-[Root, object] (2)
+[Object, Root] (2)

 -- Running test case: CommandLineAPI.queryHolders.EventListenerCallback
 [<div id="event-listener-target">, Root] (2)
@@ -75,7 +75,9 @@
 [RepeatedReferenceHolder, Root] (2)

 -- Running test case: CommandLineAPI.queryHolders.OnlyHeldByDebugger
-PASS: The result should have 0 items.
+FAIL: The result should have 0 items.
+    Expected: 0
+    Actual: 2

 -- Running test case: CommandLineAPI.queryHolders.NonObject
 PASS: Should produce an exception.


The reason for the [Root, object] and [Object, Root] difference is due to using a different label for Objects in GLib abd other WebKit ports.

https://webkit-search.igalia.com/webkit/source/LayoutTests/inspector/console/queryHolders.html#83

It can be easily solved by capitalizing the propertiy names before sorting.

As for the other part, the error is happening in this line:

https://webkit-search.igalia.com/webkit/source/LayoutTests/inspector/console/queryHolders.html#162

I have no idea why size is 2 for GLib ports but 0 in other ports.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220106/55717c13/attachment.htm>


More information about the webkit-unassigned mailing list