Closed Bug 1224724 Opened 7 years ago Closed 7 years ago

tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html | image comparison (==), max difference: 236, number of differing pixels: 1313


(Testing :: General, defect)

Not set


(Not tracked)



(Reporter: armenzg, Unassigned)




(1 file)

What the rendering looks like under docker:
The slider looks very different than when rendered on my local host or directly on hg web:

Probably due to the lack of a real Window manager (I run compiz).

The reftest-analyzer shows both images being rendered but shifted down and to the right (attached output for reftest-analyzer).
Loading both layout/reftests/forms/input/range/value-prop.html and layout/reftests/forms/input/range/75pct-common-ref.html reveals the same shifting

The test was landed on 2013:

No filter indicated in the manifest:

jmaher: the browser is missing the chrome (is that what is called?). I wonder why there is a shifting. Could it be related to the lack of a proper window manager?
Using gnome-session seems to make this test pass.
I will build and publish. I should have them by tomorrow morning.

(venv)root@taskcluster-worker:~/workspace/build/tests/reftest# python -u /home/worker/workspace/build/tests/reftest/ --appname=/home/worker/workspace/build/application/firefox/firefox --utility-path=tests/bin --extra-profile-file=tests/bin/plugins --symbols-path= --suite=reftest -- tests/layout/reftests/forms/input/range/value-prop.html 
Checking for orphan ssltunnel processes...
Checking for orphan xpcshell processes...
WARNING | | Failed to copy /home/worker/workspace/build/tests/reftest/tests/bin/plugins to profile
REFTEST INFO | | Running tests: start.

REFTEST INFO | Failed to find the test-plugin.
REFTEST INFO | Failed to find the test-plugin.
REFTEST INFO | Could not get test plugin tags.
Reading manifest file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/reftest.list
REFTEST INFO | Dumping JSON representation of sandbox
REFTEST INFO | {"isDebugBuild":false,"xulRuntime":{"widgetToolkit":"gtk3","OS":"Linux","XPCOMABI":"x86_64-gcc3"},"smallScreen":false,"d2d":false,"azureQuartz":false,"azureSkia":false,"skiaContent":false,"azureSkiaGL":0,"contentSameGfxBackendAsCanvas":true,"layersGPUAccelerated":false,"d3d11":false,"layersOpenGL":false,"layersOMTC":true,"B2G":false,"B2GDT":false,"Android":false,"cocoaWidget":false,"gtkWidget":true,"qtWidget":false,"winWidget":false,"transparentScrollbars":true,"AddressSanitizer":false,"webrtc":true,"http":{"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0","appName":"Mozilla","appVersion":"5.0","platform":"X11","oscpu":"Linux x86_64","misc":"rv:45.0"},"haveTestPlugin":false,"windowsDefaultTheme":false,"nativeThemePref":true,"prefs":{},"browserIsRemote":false,"Mulet":false,"asyncPan":false,"asyncZoom":false}
REFTEST INFO | Discovered 1 tests, after filtering SKIP tests, we have 1
REFTEST TEST-START | file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html
REFTEST TEST-LOAD | file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html | 0 / 1 (0%)
REFTEST INFO | [CONTENT] Using browser remote=false

REFTEST INFO | drawWindow flags = DRAWWINDOW_DRAW_CARET | DRAWWINDOW_DRAW_VIEW | DRAWWINDOW_USE_WIDGET_LAYERS; window size = 800,1000; test browser size = 800,1000
REFTEST TEST-LOAD | file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/75pct-common-ref.html | 0 / 1 (0%)
REFTEST TEST-PASS | file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html | image comparison (==)
REFTEST INFO | Loading a blank page
REFTEST TEST-END | file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html
REFTEST FINISHED: Slowest test took 75ms (file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/forms/input/range/value-prop.html)
REFTEST INFO | Result summary:
REFTEST INFO | Successful: 1 (1 pass, 0 load only)
REFTEST INFO | Unexpected: 0 (0 unexpected fail, 0 unexpected pass, 0 unexpected asserts, 0 unexpected fixed asserts, 0 failed load, 0 exception)
REFTEST INFO | Known problems: 0 (0 known fail, 0 known asserts, 0 random, 0 skipped, 0 slow)
REFTEST INFO | Total canvas count = 2
JavaScript error: resource://gre/modules/PerformanceStats.jsm, line 208: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIPerformanceStatsService.isMonitoringJank]
REFTEST INFO | Failed to find the test-plugin.
REFTEST INFO | Failed to find the test-plugin.
REFTEST INFO | Failed to get test plugin tags.
JavaScript error: resource://gre/modules/PerformanceStats.jsm, line 492: Error: forget() called twice
JavaScript error: resource://gre/modules/BookmarkHTMLUtils.jsm, line 894: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsINavBookmarksService.removeFolderChildren]
WARNING | leakcheck | refcount logging is off, so leaks can't be detected!

REFTEST INFO | | Running tests: end.
We should see if this failure still happens in here:
I don't see this on the later runs:

I expect this was fixed with some window manager fixes.  could we close this as worksforme?
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.