Update web-platform-tests to revision b704e37ec97fe90b3a3d59c10f78c21907b5b576

This commit is contained in:
WPT Sync Bot 2018-10-30 21:33:00 -04:00
parent cc0ac89e1a
commit 9f516d3717
70 changed files with 1688 additions and 806 deletions

View file

@ -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>