New issue
Advanced search Search tips

Issue 832537 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

The result page of layout test on chrome missing coordinates and RGBA valus

Project Member Reported by xing...@intel.com, Apr 13 2018

Issue description

What steps will reproduce the problem?
(1) Run chromium layout tests on Ubuntu (Didn't try layout test on win/mac)
(2) (Make sure at lease one layout test fails) On the result page, click the failed item, it will pop out a big zoomed out "Window", which can be used to compare pixel difference between Actual and Expected.
(3) Click any pixel in the zoomed window

What is the expected result?
On Chrome, followed label "Actual result" and "Expected result" are coordinates and RGBA values.

What happens instead?
On Firefox, followed label "Actual result" and "Expected result" are coordinates and RGBA values.
On Chrome, nothing followed label "Actual result" and "Expected result"
Both Windows and Ubuntu have the same issue when open the results page.
 
layout_results_chrome.png
80.0 KB View Download
layout_results_firefox.png
94.0 KB View Download
Components: Blink>Paint
Cc: -weiliangc@chromium.org -enne@chromium.org
Components: -Blink>Paint Blink>Infra
Not a paint error. Inspector shows that the span that should display the rgba values is empty. Whatever is supposed to update that span with content is not doing so. First place to look for the problem is with the site code itself.

Comment 3 by foolip@chromium.org, Jun 11 2018

Cc: atotic@chromium.org
atotic@, does this have something to do with the new layout tests results viewer?

Comment 4 by atotic@chromium.org, Jun 11 2018

Status: WontFix (was: Untriaged)
If you are viewing results locally using file urls, coordinates and RGBA values cannot be shown because of cross-origin restrictions. If you open up DevTools, you'll see following output:

results.html:1960 cannot show error rect on local files because of cross origin taint

Workaround: open your test results using http urls instead by running a local server.

Comment 5 by atotic@chromium.org, Jun 11 2018

BTW, glad you find this feature useful enough to file a bug about it.

Sign in to add a comment