Bug 153370

Summary: [iOS Simulator] Two WPT dom-tree-accessors/document.getElementsByName tests failing (issue with <canvas> element)
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: jiewen_tan, jonlee, sabouhallawa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: iOS 9.0   
Bug Depends on:    
Bug Blocks: 152130    

Description Ryan Haddad 2016-01-22 13:21:18 PST
[iOS Simulator] Two WPT dom-tree-accessors/document.getElementsByName failing

<https://build.webkit.org/results/Apple%20iOS%209%20Simulator%20Release%20WK2%20(Tests)/r195466%20(2492)/results.html

imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html

--- /Volumes/Data/slave/ios-simulator-9-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml-expected.txt
+++ /Volumes/Data/slave/ios-simulator-9-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml-actual.txt
@@ -1,4 +1,4 @@
-    
+     
   
 
 PASS getElementsByName and newly introduced HTML elements 


Both* of these tests fail with a diff that shows an extra space in the results. I was able to trace it down to the <canvas> element. Removing it from the test seems to get rid of the issue locally (though, of course the test then fails because of the missing <canvas> element).


* "document.getElementsByName-newelements.html" has an ios-simulator specific result that no longer seems to apply. I removed it locally, and it produced the result I mentioned above.
Comment 1 Ryan Haddad 2016-01-29 17:25:27 PST
Marked as failing on ios-simulator in <https://trac.webkit.org/r195869>
Comment 2 Jiewen Tan 2016-09-21 22:15:11 PDT
Not failing anymore on iOS 10. So closing.
Comment 3 Jiewen Tan 2016-09-21 22:16:48 PDT
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml is not failing anymore. The other one is still failing.
Comment 4 Jon Lee 2022-02-15 17:12:53 PST

*** This bug has been marked as a duplicate of bug 236680 ***