mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6
This commit is contained in:
parent
39963266ae
commit
ea00d34098
392 changed files with 5974 additions and 7614 deletions
|
@ -34,6 +34,7 @@ function assert_Instance(instance, expected_exports) {
|
|||
|
||||
assert_equals(Object.getPrototypeOf(exports), null, "exports prototype");
|
||||
assert_false(Object.isExtensible(exports), "extensible exports");
|
||||
assert_array_equals(Object.keys(exports), Object.keys(expected_exports), "matching export keys");
|
||||
for (const [key, expected] of Object.entries(expected_exports)) {
|
||||
const property = Object.getOwnPropertyDescriptor(exports, key);
|
||||
assert_equals(typeof property, "object", `${key} should be present`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue