Bug 152141 - [iOS Simulator] fast/picture/image-picture-* tests failing
Summary: [iOS Simulator] fast/picture/image-picture-* tests failing
Status: NEW
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
Keywords: InRadar
Depends on:
Blocks: 152130
  Show dependency treegraph
Reported: 2015-12-10 09:22 PST by Ryan Haddad
Modified: 2016-01-14 09:09 PST (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2015-12-10 09:22:24 PST
[iOS Simulator] fast/picture/image-picture-* tests failing


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

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
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.