mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update web-platform-tests to revision b704e37ec97fe90b3a3d59c10f78c21907b5b576
This commit is contained in:
parent
cc0ac89e1a
commit
9f516d3717
70 changed files with 1688 additions and 806 deletions
|
@ -32,4 +32,10 @@ test(function(){
|
|||
}
|
||||
}, 'Generated properties respect inherits flag');
|
||||
|
||||
test(function(){
|
||||
assert_throws(new Error(), () => generate_property({syntax: '<length>', foo: 1}));
|
||||
assert_throws(new Error(), () => generate_property({syntax: '<length>', inherited: false}));
|
||||
assert_throws(new Error(), () => generate_property({syntax: '<length>', initial: '10px'}));
|
||||
}, 'Can\'t generate property with unknown fields');
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue