Closed Bug 632408 Opened 13 years ago Closed 1 year ago

[SeaMonkey, Windows] mochitest-chrome: permanent "test_leaf_layers_partition_browser_window.xul | Leaf layers should form a non-overlapping partition of the browser window" failure, since landing

Categories

(Core :: Layout, defect)

x86
Windows Server 2003
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: sgautherie, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [test partly disabled ftb by bug 640889] [fixed in moz2.0: Av1; moz15: Bv1] [perma-orange])

Attachments

(2 files)

http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1297172956.1297177331.6991.gz
WINNT 5.2 comm-central-trunk debug test mochitest-other on 2011/02/08 05:49:16
{
...
Document data:text/html,<html%20style='overflow:scroll'><script>opener.doTest(window)</script> loaded successfully
7408 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/layout/base/test/chrome/test_leaf_layers_partition_browser_window.xul | Leaf layers should form a non-overlapping partition of the browser window
}
I can't reproduce on my local Windows 2000 with an opt build.

Yet, this patch should at least help to know what is going on, if not fixing the (timing?) issue.
Attachment #510642 - Flags: review?(roc)
Comment on attachment 510642 [details] [diff] [review]
(Av1) Improve test code somewhat
[Checked in: Comment 2]

http://hg.mozilla.org/mozilla-central/rev/8e550551c79c
Attachment #510642 - Attachment description: (Av1) Improve test code somewhat → (Av1) Improve test code somewhat [Checked in: Comment 2]
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1297263431.1297267366.30508.gz
WINNT 5.2 comm-central-trunk debug test mochitest-other on 2011/02/09 06:57:11
{
WARNING: Nv3DVStreaming CoCreateInstance failed (disabled).: file e:/builds/slave/comm-cen-trunk-w32-dbg/build/mozilla/gfx/layers/d3d9/Nv3DVUtils.cpp, line 85
WARNING: Direct3D 9-accelerated layers are not supported on this system.: file e:/builds/slave/comm-cen-trunk-w32-dbg/build/mozilla/gfx/layers/d3d9/LayerManagerD3D9.cpp, line 89
...
7408 INFO TEST-PASS | chrome://mochitests/content/chrome/layout/base/test/chrome/test_leaf_layers_partition_browser_window.xul | Waiting for mozPaintCount to increase. - 0 should equal 0
Document data:text/html,<html%20style='overflow:scroll'><script>opener.doTest(window);</script> loaded successfully
7409 INFO TEST-PASS | chrome://mochitests/content/chrome/layout/base/test/chrome/test_leaf_layers_partition_browser_window.xul | mozPaintCount has increased - 1 should not equal 0
7410 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/layout/base/test/chrome/test_leaf_layers_partition_browser_window.xul | Leaf layers should form a non-overlapping partition of the browser window
}

Unless this test would somehow depend on D3D9, I have no clue :-(
Depends on: 636367
You can't reproduce in opt builds because the dom window utils function it depends on always returns true in an opt build.
If you set the environment variable MOZ_DUMP_PAINT_LIST to 1 you will get a lot of paint debug output including a dump of the layer tree. The layer tree dump would probably useful in determining why this is failing.
(Official debug builds can't run on Windows 2000 anymore.)

Callek, could you help with comment 5? (Or do you know someone who might?)
Keywords: qawanted
Whiteboard: [perma-orange] → [qaw: comment 5] [perma-orange]
Also see bug 640889.
We enabled debug unit tests on XP yesterday EST morning.
Depends on: 640889
Whiteboard: [qaw: comment 5] [perma-orange] → [test disabled ftb by bug 640889] [qaw: comment 5] [perma-orange]
Oops, ignore comment 9, an errant click that I thought I'd unclicked.
(In reply to Timothy Nikkel (:tn) from comment #5)
> If you set the environment variable MOZ_DUMP_PAINT_LIST to 1 you will get a
> lot of paint debug output including a dump of the layer tree.

Thanks for the hint!

I tried this on Windows Vista:
*maximized succeeds: 17x17 area is gray without a resizer.
*non-maximized fails: 17x17 area has 2 "layers", one of which is a resizer.


(In reply to Armen Zambrano G. [:armenzg] - Release Engineer from comment #8)
> Also see bug 640889.
> We enabled debug unit tests on XP yesterday EST morning.

SeaMonkey fails on Windows 2003:
{
12063 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/layout/base/test/chrome/test_leaf_layers_partition_browser_window.xul | Leaf layers should form a non-overlapping partition of the browser window (maximized)
}


Neil, would these be related to SeaMonkey css, like not supporting Windows Aero theme, or the like?
status2.0: ? → ---
Whiteboard: [test disabled ftb by bug 640889] [qaw: comment 5] [perma-orange] → [test partly disabled ftb by bug 640889] [fixed in moz2.0: Av1] [perma-orange]
(In reply to Serge Gautherie (:sgautherie) from comment #11)
> SeaMonkey fails on Windows 2003:
> {
> 12063 ERROR TEST-UNEXPECTED-FAIL |
> chrome://mochitests/content/chrome/layout/base/test/chrome/
> test_leaf_layers_partition_browser_window.xul | Leaf layers should form a
> non-overlapping partition of the browser window (maximized)
> }

[Mozilla/5.0 (Windows NT 5.0; rv:12.0a1) Gecko/20120126 Firefox/12.0a1 SeaMonkey/2.9a1] (custom debug build for Windows 2000)

The issue is that the "menubar + toolbar" layer has the same (full) height as the viewport instead of its own size.
Ftr, the "content area" layer seems fine.

Neil, would this be related to SeaMonkey css or the like?
NB: Robert, this looks like very bug 625288 :-/
No longer depends on: 636367
Keywords: qawanted
NB: This undoes bug 649012 which left this test with inconsistent comment and code.
Attachment #623754 - Flags: review?(roc)
I have no idea how this test works, it fails on my Firefox build too.
Comment on attachment 623754 [details] [diff] [review]
(Bv1) Improve newer test code some more
[Checked in: Comment 15]

https://hg.mozilla.org/mozilla-central/rev/3240475004f4


Succeeded as
https://tbpl.mozilla.org/?tree=Try&rev=0971c3f91419
Attachment #623754 - Attachment description: (Bv1) Improve newer test code some more. → (Bv1) Improve newer test code some more [Checked in: Comment 15]
Whiteboard: [test partly disabled ftb by bug 640889] [fixed in moz2.0: Av1] [perma-orange] → [test partly disabled ftb by bug 640889] [fixed in moz2.0: Av1; moz15: Bv1] [perma-orange]
QA Whiteboard: qa-not-actionable

In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.

Severity: major → --

This test (and the functionality that it was testing) was renamed from .xul to .xhtml, and then later removed in bug 1728914, specifically this commit:
https://hg.mozilla.org/mozilla-central/rev/f5e32ea819d3

So: nothing left to do here.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: