Skip to content

Commit

Permalink
Bug 1815388 [wpt PR 38387] - Remove duplicate color(srgb) invalid val…
Browse files Browse the repository at this point in the history
…ue test, a=testonly

Automatic update from web-platform-tests
Remove duplicate color(srgb) invalid value test

This is causing a harness error due to the same subtest name, which was
introduced by two PRs landing on the same day:
web-platform-tests/wpt#38203
web-platform-tests/wpt#38258

Also remove the 3rd argument to test_invalid_value() since it only takes
2 arguments.

--

wpt-commits: 7b06f9e24c3483de76e89d55dc935d4cc4e37622
wpt-pr: 38387
  • Loading branch information
foolip authored and moz-wptsync-bot committed Feb 20, 2023
1 parent 758f7f0 commit c664e4e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@
test_invalid_value("color", "color(banana 1 1 1)"); // Bad color space
test_invalid_value("color", "color(displayp3 1 1 1)"); // Bad Display P3 color space
test_invalid_value("color", "color(1 1 1)"); // No color space
test_invalid_value("color", "color(srgb 1 1)", "color(srgb 1 1 0)"); // One missing component
test_invalid_value("color", "color(srgb 1)", "color(srgb 1 0 0)"); // Two missing components
test_invalid_value("color", "color(srgb)", "color(srgb 0 0 0)"); // All components missing
test_invalid_value("color", "color(srgb 1 1)"); // One missing component
test_invalid_value("color", "color(srgb 1)"); // Two missing components

test_invalid_value("color", "color(srgb 1 1 1 1)"); // Too many parameters
test_invalid_value("color", "color(srgb 1 1 1 1 1)"); // Way too many parameters
Expand Down

0 comments on commit c664e4e

Please sign in to comment.