mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
Automatic update from web-platform-tests[css-properties-values-api] Validate generate_property argument. This prevents silently dropping invalid arguments. For example, the following currently generates a non-inherited property: let name = generate_property(syntax: '<length>', inherited: true); This is because 'inherited' is not an option for CSS.registerProperty (the actual option is 'inherits'). With this change, an exception is thrown if unknown options are provided. [email protected] Bug: 641877 Change-Id: I7b639651c331aa705416db95a3de751353648031 Reviewed-on: https://chromium-review.googlesource.com/c/1304522 Reviewed-by: Rune Lillesveen <[email protected]> Commit-Queue: Anders Ruud <[email protected]> Cr-Commit-Position: refs/heads/master@{#603862} -- wpt-commits: add8843a7da2ab5ee5ba329c0ae052573c23cde2 wpt-pr: 13763