mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 5a754b40cd49c0404863c431b58cc311dc5d167c
This commit is contained in:
parent
8950345e0e
commit
32efe41299
107 changed files with 4243 additions and 435 deletions
|
@ -4,15 +4,11 @@ testStorages(function(storageString) {
|
|||
var storage = window[storageString];
|
||||
t.add_cleanup(function() { storage.clear() });
|
||||
|
||||
storageEventList = new Array();
|
||||
storage.clear();
|
||||
clearStorage(storageString, t.step_func(step1));
|
||||
assert_equals(storage.length, 0, "storage.length");
|
||||
|
||||
runAfterNStorageEvents(t.step_func(step1), 0);
|
||||
|
||||
function step1(msg)
|
||||
{
|
||||
storageEventList = new Array();
|
||||
storage.setItem('FOO', 'BAR');
|
||||
|
||||
runAfterNStorageEvents(t.step_func(step2), 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue