Update web-platform-tests to revision 5a754b40cd49c0404863c431b58cc311dc5d167c

This commit is contained in:
Ms2ger 2015-11-17 09:56:30 +01:00
parent 8950345e0e
commit 32efe41299
107 changed files with 4243 additions and 435 deletions

View file

@ -4,16 +4,17 @@ testStorages(function(storageString) {
var storage = window[storageString];
t.add_cleanup(function() { storage.clear() });
storageEventList = new Array();
storage.clear();
clearStorage(storageString, t.step_func(step0));
assert_equals(storage.length, 0, "storage.length");
iframe.onload = t.step_func(step1);
iframe.src = "resources/event_setattribute_handler.html";
function step0(msg)
{
iframe.onload = t.step_func(step1);
iframe.src = "resources/event_setattribute_handler.html";
}
function step1(msg)
{
storageEventList = new Array();
storage.setItem('FOO', 'BAR');
runAfterNStorageEvents(t.step_func(step2), 1);