Bug 63190 - compositing/layer-creation/spanOverlapsCanvas.html failing on Windows since it was added
Summary: compositing/layer-creation/spanOverlapsCanvas.html failing on Windows since i...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Matthew Delaney
URL: http://build.webkit.org/results/Windo...
Keywords: LayoutTestFailure, MakingBotsRed
Depends on:
Blocks:
 
Reported: 2011-06-22 15:08 PDT by Adam Roben (:aroben)
Modified: 2011-06-22 18:15 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.31 KB, patch)
2011-06-22 15:22 PDT, Matthew Delaney
no flags Details | Formatted Diff | Diff
Patch (4.58 KB, patch)
2011-06-22 17:03 PDT, Matthew Delaney
no flags Details | Formatted Diff | Diff
Patch (4.79 KB, patch)
2011-06-22 17:53 PDT, Matthew Delaney
no flags Details | Formatted Diff | Diff
Patch (6.49 KB, patch)
2011-06-22 18:09 PDT, Matthew Delaney
jamesr: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2011-06-22 15:08:40 PDT
compositing/layer-creation/spanOverlapsCanvas.html has been failing on Windows since it was added in r89474.

http://build.webkit.org/results/Windows%207%20Release%20(Tests)/r89476%20(14034)/results.html
Comment 1 Matthew Delaney 2011-06-22 15:22:39 PDT
Created attachment 98249 [details]
Patch
Comment 2 Matthew Delaney 2011-06-22 15:28:47 PDT
Committed r89488: <http://trac.webkit.org/changeset/89488>
Comment 3 Matthew Delaney 2011-06-22 16:57:50 PDT
Reopening to fix layout test to *actually* use the Layer Tree Text. +rebaselining the results for mac and windows as well.
Comment 4 Matthew Delaney 2011-06-22 17:03:49 PDT
Created attachment 98266 [details]
Patch
Comment 5 James Robinson 2011-06-22 17:07:27 PDT
Comment on attachment 98266 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=98266&action=review

> LayoutTests/compositing/layer-creation/spanOverlapsCanvas.html:15
> +                window.layoutTestController.dumpAsText();

dumpAsText(true) to get it to produce pixel output as well

> LayoutTests/platform/mac/compositing/layer-creation/spanOverlapsCanvas-expected.txt:1
> +(GraphicsLayer (bounds 800.00 600.00) (children 1 (GraphicsLayer (bounds 800.00 600.00) (children 2 (GraphicsLayer (position 8.00 8.00) (bounds 100.00 50.00) (drawsContent 1) ) (GraphicsLayer (position 8.00 8.00) (bounds 100.00 50.00) (drawsContent 1) ) ) ) ) )

can this graphics layer tree go alongside the test itself?  it should be reasonably cross-platform, i think

also, if you put this into a <pre> instead of a <span> then the newlines will be preserved, which is much more readable
Comment 6 Matthew Delaney 2011-06-22 17:14:23 PDT
> > LayoutTests/platform/mac/compositing/layer-creation/spanOverlapsCanvas-expected.txt:1
> > +(GraphicsLayer (bounds 800.00 600.00) (children 1 (GraphicsLayer (bounds 800.00 600.00) (children 2 (GraphicsLayer (position 8.00 8.00) (bounds 100.00 50.00) (drawsContent 1) ) (GraphicsLayer (position 8.00 8.00) (bounds 100.00 50.00) (drawsContent 1) ) ) ) ) )
> 
> can this graphics layer tree go alongside the test itself?  it should be reasonably cross-platform, i think
Go alongside the test? Not sure what you mean. And I know for sure that it differs for some of our ports, so the output of it is not cross platform.

> 
> also, if you put this into a <pre> instead of a <span> then the newlines will be preserved, which is much more readable

Good call.
Comment 7 James Robinson 2011-06-22 17:18:12 PDT
(In reply to comment #6)
> > > LayoutTests/platform/mac/compositing/layer-creation/spanOverlapsCanvas-expected.txt:1
> > > +(GraphicsLayer (bounds 800.00 600.00) (children 1 (GraphicsLayer (bounds 800.00 600.00) (children 2 (GraphicsLayer (position 8.00 8.00) (bounds 100.00 50.00) (drawsContent 1) ) (GraphicsLayer (position 8.00 8.00) (bounds 100.00 50.00) (drawsContent 1) ) ) ) ) )
> > 
> > can this graphics layer tree go alongside the test itself?  it should be reasonably cross-platform, i think
> Go alongside the test? Not sure what you mean. And I know for sure that it differs for some of our ports, so the output of it is not cross platform.
> 

I mean put the -expected.txt next to the test.  I know that mac-snowleopard (and below) will differ and need its own expectation, but I think that this output is the most common going forward.  I'm pretty sure chromium will produce the same layer tree, for instance.
Comment 8 Matthew Delaney 2011-06-22 17:53:35 PDT
Created attachment 98273 [details]
Patch
Comment 9 Matthew Delaney 2011-06-22 18:09:51 PDT
Created attachment 98279 [details]
Patch
Comment 10 James Robinson 2011-06-22 18:13:46 PDT
Comment on attachment 98279 [details]
Patch

R=me. the move + edit is confusing the review tool and the changelog script, but i think it'll apply OK
Comment 11 Matthew Delaney 2011-06-22 18:15:46 PDT
Committed r89511: <http://trac.webkit.org/changeset/89511>