[Webkit-unassigned] [Bug 137581] New: [iOS] DumpRenderTree dumps image data before a test has finished rendering

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 9 16:05:05 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=137581

           Summary: [iOS] DumpRenderTree dumps image data before a test
                    has finished rendering
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: iOS
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dfarler at apple.com
                CC: ddkilzer at webkit.org, simon.fraser at apple.com,
                    dbates at webkit.org


When running DumpRenderTree with --pixel-tests, PNG data gets dumped to stdout before the test has finished rendering. This happens regardless of whether the iOS app is in the foreground or background.

The consequence:
1. When running the first pixel test "A" on a freshly launched DRT, you get a blank image.
2. Running subsequent test "B" is "one behind", and the previous contents for test "A" are dumped, although "B" does eventually appear in app.

Steps to reproduce:

Build iOS for iphonesimulator

open -a $(xcode-select --print-path)/Applications/iOS\ Simulator.app

DYLD_FRAMEWORK_PATH=/absolute/path/to/OpenSource/WebKitBuild/Release-iphonesimulator DYLD_LIBRARY_PATH=/absolute/path/to/OpenSource/WebKitBuild/Release-iphonesimulator /path/to/OpenSource/WebKitBuild/Release/LayoutTestRelay -runtime com.apple.CoreSimulator.SimRuntime.iOS-8-3 -deviceType com.apple.CoreSimulator.SimDeviceType.iPhone-5s -suffix 0 -productDir /absolute/path/to/OpenSource/WebKitBuild/Release-iphonesimulator -app /absolute/path/to/OpenSource/WebKitBuild/Release-iphonesimulator/DumpRenderTree.app -- --pixel-test - | tee /tmp/test.txt

# Now listening to stdin, paste the following twice

/absolute/path/to/OpenSource/LayoutTests/compositing/regions/fixed-in-named-flow-position-changed.html

^C

Now, there will be two PNGs in /tmp/test.txt - paste each into their own image files. Observe.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list