Bug 152141

Summary: [iOS Simulator] fast/picture/image-picture-* tests failing
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: hyatt, jonlee, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: iOS 9.0   
Bug Depends on:    
Bug Blocks: 152130    

Description Ryan Haddad 2015-12-10 09:22:24 PST
[iOS Simulator] fast/picture/image-picture-* tests failing

fast/picture/image-picture-1x.html
fast/picture/image-picture-invalid.html
fast/picture/image-picture-nested.html

All are failing due to expecting 'image-set-2x.png?2' but getting 'image-set-4x.png?2'

<https://build.webkit.org/results/Apple%20iOS%209%20Simulator%20Release%20WK2%20(Tests)/r193902%20(1662)/results.html>
Comment 1 Ryan Haddad 2015-12-14 13:01:05 PST
Marked as failing on iOS simulator in <http://trac.webkit.org/changeset/194052>
Comment 2 Ryan Haddad 2016-01-05 13:28:11 PST
Example diff from failing test:
--- /Volumes/Data/slave/ios-simulator-9-release-tests-wk2/build/layout-test-results/fast/picture/image-picture-invalid-expected.txt
+++ /Volumes/Data/slave/ios-simulator-9-release-tests-wk2/build/layout-test-results/fast/picture/image-picture-invalid-actual.txt
@@ -1,9 +1,9 @@
 PASS document.getElementById("canary").clientWidth is 75
 PASS currentSrcFileName("canary") is "blue_rect.jpg?0"
 PASS document.getElementById("div_end_picture").clientWidth is 800
-PASS currentSrcFileName("div_end_picture") is "image-set-2x.png?2"
+FAIL currentSrcFileName("div_end_picture") should be image-set-2x.png?2. Was image-set-4x.png?2.
 PASS document.getElementById("div_multiple_end").clientWidth is 800
-PASS currentSrcFileName("div_multiple_end") is "image-set-2x.png?2"
+FAIL currentSrcFileName("div_multiple_end") should be image-set-2x.png?2. Was image-set-4x.png?2.
 PASS document.getElementById("source_in_div").clientWidth is 75
 PASS currentSrcFileName("source_in_div") is "blue_rect.jpg"
 PASS document.getElementById("not_in_picture").clientWidth is 75

Should these tests remain skipped on ios-simulator, or do we need to investigate the failure?
Comment 3 Radar WebKit Bug Importer 2016-01-08 11:35:04 PST
<rdar://problem/24110313>
Comment 4 Dave Hyatt 2016-01-14 09:09:33 PST
This is fine. Those iOS results are correct.  We can just keep skipping, since they use high dpi images and the tests are for lower dpi.