Bug 188967

Summary: [WPE] fast/selectors/read-only-read-write-input-basics.html is failing
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: dpino
Priority: P2 Keywords: LayoutTestFailure
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Zan Dobersek
Reported 2018-08-26 23:08:35 PDT
The fast/selectors/read-only-read-write-input-basics.html test case is failing on the WPE port: --- /home/zan/Work/webkit/git/WebKitBuild/Release/layout-test-results/fast/selectors/read-only-read-write-input-basics-expected.txt +++ /home/zan/Work/webkit/git/WebKitBuild/Release/layout-test-results/fast/selectors/read-only-read-write-input-basics-actual.txt @@ -1099,78 +1099,78 @@ PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" Testing color -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" -PASS document.querySelectorAll("input:read-write").length is 0 -PASS document.querySelector("input:read-write") is null -PASS document.querySelectorAll("input:read-only").length is 1 -PASS document.querySelector("input:read-only") is document.getElementById("testcase") -PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" -PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" +FAIL document.querySelectorAll("input:read-write").length should be 0. Was 1. +FAIL document.querySelector("input:read-write") should be null. Was [object HTMLInputElement]. +FAIL document.querySelectorAll("input:read-only").length should be 1. Was 0. +FAIL document.querySelector("input:read-only") should be [object HTMLInputElement]. Was null. +FAIL getComputedStyle(document.getElementById("testcase")).color should be rgb(0, 0, 0). Was rgb(4, 5, 6). +FAIL getComputedStyle(document.getElementById("testcase")).backgroundColor should be rgb(1, 2, 3). Was rgb(255, 255, 255). +PASS document.querySelectorAll("input:read-write").length is 0 +PASS document.querySelector("input:read-write") is null +PASS document.querySelectorAll("input:read-only").length is 1 +PASS document.querySelector("input:read-only") is document.getElementById("testcase") +PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" +PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" +FAIL document.querySelectorAll("input:read-write").length should be 0. Was 1. +FAIL document.querySelector("input:read-write") should be null. Was [object HTMLInputElement]. +FAIL document.querySelectorAll("input:read-only").length should be 1. Was 0. +FAIL document.querySelector("input:read-only") should be [object HTMLInputElement]. Was null. +FAIL getComputedStyle(document.getElementById("testcase")).color should be rgb(0, 0, 0). Was rgb(4, 5, 6). +FAIL getComputedStyle(document.getElementById("testcase")).backgroundColor should be rgb(1, 2, 3). Was rgb(255, 255, 255). +PASS document.querySelectorAll("input:read-write").length is 0 +PASS document.querySelector("input:read-write") is null +PASS document.querySelectorAll("input:read-only").length is 1 +PASS document.querySelector("input:read-only") is document.getElementById("testcase") +PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" +PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" +FAIL document.querySelectorAll("input:read-write").length should be 0. Was 1. +FAIL document.querySelector("input:read-write") should be null. Was [object HTMLInputElement]. +FAIL document.querySelectorAll("input:read-only").length should be 1. Was 0. +FAIL document.querySelector("input:read-only") should be [object HTMLInputElement]. Was null. +FAIL getComputedStyle(document.getElementById("testcase")).color should be rgb(0, 0, 0). Was rgb(4, 5, 6). +FAIL getComputedStyle(document.getElementById("testcase")).backgroundColor should be rgb(1, 2, 3). Was rgb(255, 255, 255). +PASS document.querySelectorAll("input:read-write").length is 0 +PASS document.querySelector("input:read-write") is null +PASS document.querySelectorAll("input:read-only").length is 1 +PASS document.querySelector("input:read-only") is document.getElementById("testcase") +PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" +PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" +FAIL document.querySelectorAll("input:read-write").length should be 0. Was 1. +FAIL document.querySelector("input:read-write") should be null. Was [object HTMLInputElement]. +FAIL document.querySelectorAll("input:read-only").length should be 1. Was 0. +FAIL document.querySelector("input:read-only") should be [object HTMLInputElement]. Was null. +FAIL getComputedStyle(document.getElementById("testcase")).color should be rgb(0, 0, 0). Was rgb(4, 5, 6). +FAIL getComputedStyle(document.getElementById("testcase")).backgroundColor should be rgb(1, 2, 3). Was rgb(255, 255, 255). +PASS document.querySelectorAll("input:read-write").length is 0 +PASS document.querySelector("input:read-write") is null +PASS document.querySelectorAll("input:read-only").length is 1 +PASS document.querySelector("input:read-only") is document.getElementById("testcase") +PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" +PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" +FAIL document.querySelectorAll("input:read-write").length should be 0. Was 1. +FAIL document.querySelector("input:read-write") should be null. Was [object HTMLInputElement]. +FAIL document.querySelectorAll("input:read-only").length should be 1. Was 0. +FAIL document.querySelector("input:read-only") should be [object HTMLInputElement]. Was null. +FAIL getComputedStyle(document.getElementById("testcase")).color should be rgb(0, 0, 0). Was rgb(4, 5, 6). +FAIL getComputedStyle(document.getElementById("testcase")).backgroundColor should be rgb(1, 2, 3). Was rgb(255, 255, 255). +PASS document.querySelectorAll("input:read-write").length is 0 +PASS document.querySelector("input:read-write") is null +PASS document.querySelectorAll("input:read-only").length is 1 +PASS document.querySelector("input:read-only") is document.getElementById("testcase") +PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" +PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" +PASS document.querySelectorAll("input:read-write").length is 0 +PASS document.querySelector("input:read-write") is null +PASS document.querySelectorAll("input:read-only").length is 1 +PASS document.querySelector("input:read-only") is document.getElementById("testcase") +PASS getComputedStyle(document.getElementById("testcase")).color is "rgb(0, 0, 0)" +PASS getComputedStyle(document.getElementById("testcase")).backgroundColor is "rgb(1, 2, 3)" +FAIL document.querySelectorAll("input:read-write").length should be 0. Was 1. +FAIL document.querySelector("input:read-write") should be null. Was [object HTMLInputElement]. +FAIL document.querySelectorAll("input:read-only").length should be 1. Was 0. +FAIL document.querySelector("input:read-only") should be [object HTMLInputElement]. Was null. +FAIL getComputedStyle(document.getElementById("testcase")).color should be rgb(0, 0, 0). Was rgb(4, 5, 6). +FAIL getComputedStyle(document.getElementById("testcase")).backgroundColor should be rgb(1, 2, 3). Was rgb(255, 255, 255). Testing checkbox PASS document.querySelectorAll("input:read-write").length is 0 PASS document.querySelector("input:read-write") is null
Attachments
Zan Dobersek
Comment 1 2018-08-26 23:08:51 PDT
This might be just due to unsupported input type=color.
Diego Pino
Comment 2 2025-06-09 02:13:00 PDT
This test is constantly passing now: - https://results.webkit.org/?platform=GTK&platform=WPE&suite=layout-tests&test=fast/selectors/read-only-read-write-input-basics.html Probably fixed by 288918@main. Test removed from test expectations in 295817@main. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.