Bug 224668

Summary: [GLIB] imported/w3c/web-platform-tests/html/semantics/interfaces.html is a flaky failure
Product: WebKit Reporter: Diego Pino <dpino>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Diego Pino 2021-04-16 06:06:15 PDT
The following tests became flaky failures at almost the same interval:

  imported/w3c/web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection.html
  imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/labelable-elements.html
  imported/w3c/web-platform-tests/html/semantics/interfaces.html

https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/r276130%20%281204%29/imported/w3c/web-platform-tests/html/semantics/interfaces-diff.txt

--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/interfaces-actual.txt
@@ -144,8 +144,8 @@
 PASS Interfaces for ISINDEX
 PASS Interfaces for kbd
 PASS Interfaces for KBD
-PASS Interfaces for keygen
-PASS Interfaces for KEYGEN
+FAIL Interfaces for keygen assert_class_string: Element keygen should have HTMLUnknownElement as its primary interface. expected "[object HTMLUnknownElement]" but got "[object HTMLKeygenElement]"
+FAIL Interfaces for KEYGEN assert_class_string: Element KEYGEN should have HTMLUnknownElement as its primary interface. expected "[object HTMLUnknownElement]" but got "[object HTMLKeygenElement]"
 PASS Interfaces for label
 PASS Interfaces for LABEL
 PASS Interfaces for legend

https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/r276120%20%281200%29/imported/w3c/web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection-diff.txt

--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlformcontrolscollection-actual.txt
@@ -1,5 +1,5 @@
 
-PASS The length attribute must return the number of elements in the form
+FAIL The length attribute must return the number of elements in the form assert_equals: The length attribute is incorrect. expected 1 but got 2
 PASS HTMLFormControlsCollection.item(index) must return the indexed item
 PASS HTMLFormControlsCollection[index] must return the indexed item
 PASS HTMLFormControlsCollection is not callable
@@ -10,7 +10,7 @@
 PASS The namedItem(name) must return null if the name is empty
 PASS The namedItem(name) must return null if there is no matched element
 PASS Controls can be indexed by id or name attribute
-PASS Keygen controls do not show up at all
+FAIL Keygen controls do not show up at all assert_equals: Keygen does not show up when queried by id. expected null but got Element node <keygen id="kg" name="key"></keygen>
 PASS The namedItem(name) must return the items with id or name attribute
 PASS The HTMLFormControlsCollection interface is used for collections of listed elements in form element
 PASS The HTMLFormControlsCollection interface is used for collections of listed elements in fieldset element

Interval where the error first happened:

[r275804-r275811]             NOERROR
r275812                       UNKNOWN 
[r275813-r275814]             TEXT PASS (Expected: PASS)
Comment 1 Radar WebKit Bug Importer 2021-04-23 13:08:51 PDT
<rdar://problem/77083095>
Comment 2 Diego Pino 2023-01-10 07:46:59 PST
The test or tests filed under this bug are not failing anymore. Test expectations updated in https://commits.webkit.org/258724@main.