Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1885216 [wpt PR 45091] - Use clearer variable names in grid WPT t…
…o avoid spurious MISSING test results., a=testonly Automatic update from web-platform-tests Use clearer variable names in grid WPT to avoid spurious MISSING test results. (#45091) Fixes web-platform-tests/interop#646 This patch improves WPT grid-shorthand-serialization.html to better distinguish between the `cssText` function-param vs. the serialization of that string that the test reads back from the style system. As of this patch, we'll now use the function-param (not its serialization) when generating the subtest "name" value that we pass to the test(...) function. This makes for more consistent output and removes the possibility for browser-specific serialization-quirks to influence the subtest-name, as discussed in web-platform-tests/interop#646 The test continues to use the serialized value (under a new/clearer variable name) in the assert_true() expression, though; this way, if the test fails, it remains easy to see the actual strings that are involved in the `indexOf` operation that's causing the test-failure. -- wpt-commits: 227a77f3eac2653c34706d578bdd709b3897e962 wpt-pr: 45091
- Loading branch information