mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision bf71b1f245ce34e447b7bde8ed46694574a63da7
This commit is contained in:
parent
7256d123ff
commit
e17a773b4e
35 changed files with 1567 additions and 467 deletions
|
@ -23,7 +23,9 @@ test(() => {
|
|||
classAssert.propertyKeys(StorageArea.prototype, [
|
||||
"constructor", "set", "get", "delete", "clear",
|
||||
"keys", "values", "entries", "backingStore"
|
||||
], []);
|
||||
], [
|
||||
Symbol.asyncIterator
|
||||
]);
|
||||
|
||||
classAssert.methods(StorageArea.prototype, {
|
||||
set: 2,
|
||||
|
@ -40,6 +42,10 @@ test(() => {
|
|||
});
|
||||
}, "StorageArea.prototype methods and properties");
|
||||
|
||||
test(() => {
|
||||
assert_equals(StorageArea.prototype[Symbol.asyncIterator], StorageArea.prototype.entries);
|
||||
}, "[Symbol.asyncIterator]() and entries() must be the same function");
|
||||
|
||||
testWithArea(async area => {
|
||||
classAssert.propertyKeys(area, [], []);
|
||||
}, "Instances don't have any properties");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue