Bug 153370 - [iOS Simulator] Two WPT dom-tree-accessors/document.getElementsByName tests failing (issue with <canvas> element)
Summary: [iOS Simulator] Two WPT dom-tree-accessors/document.getElementsByName tests f...
Status: RESOLVED DUPLICATE of bug 236680
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 9.0
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 152130
  Show dependency treegraph
 
Reported: 2016-01-22 13:21 PST by Ryan Haddad
Modified: 2022-02-15 17:12 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***