[wpt-sync] Sync PR 36717 - Align cssRGB.html with the specification and fix mistake
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox109 fixed)
| Tracking | Status | |
|---|---|---|
| firefox109 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36717 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36717
Details from upstream follow.
Chris Dumez <cdumez@apple.com> wrote:
Align cssRGB.html with the specification and fix mistake
Per the specification, the parameters are passed to:
- https://drafts.css-houdini.org/css-typed-om-1/#rectify-a-csscolorrgbcomp
- https://drafts.css-houdini.org/css-typed-om-1/#rectify-a-csscolorpercent
These throw a SyntaxError in case of issue but the test was incorrectly expecting a TypeError instead.
Also, one of the loops was incorrectly using
valueinstead ofcolor.valuewas undefined and we were thus not testing what we intended to test. We just kept calling the functions withundefinedinstead of the test values.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 53 subtests
Status Summary
Firefox
ERROR: 1
Chrome
OK : 1
PASS : 31
FAIL : 22
Safari
ERROR: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-typed-om/stylevalue-subclasses/cssRGB.html [wpt.fyi]:
ERROR[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows10-32-2004-qr-debug,Gecko-windows10-32-2004-qr-opt,Gecko-windows10-64-2004-qr-debug,Gecko-windows10-64-2004-qr-opt] (Chrome:OK, Safari:ERROR)
Tests Disabled in Gecko Infrastructure
- /css/css-typed-om/stylevalue-subclasses/cssRGB.html [wpt.fyi]:
ERROR[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows10-32-2004-qr-debug,Gecko-windows10-32-2004-qr-opt,Gecko-windows10-64-2004-qr-debug,Gecko-windows10-64-2004-qr-opt] (Chrome:OK, Safari:ERROR)
Comment 4•3 years ago
|
||
| bugherder | ||
Description
•