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 Bugs | Assignee: | 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 | ||
          Ryan Haddad
          
          
          
          
        
        
      [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.
    | Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. | 
          Ryan Haddad
          
          
          
          
        
        
      Marked as failing on ios-simulator in <https://trac.webkit.org/r195869>
    
          Jiewen Tan
          
          
          
          
        
        
      Not failing anymore on iOS 10. So closing.
    
          Jiewen Tan
          
          
          
          
        
        
      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.
    
          Jon Lee
          
          
          
          
        
        
      
*** This bug has been marked as a duplicate of bug 236680 ***