Update web-platform-tests to revision acdb8bf3e4714528b6b5f9ff038dc80ee4fb7dcf

This commit is contained in:
Ms2ger 2015-04-27 00:43:52 +02:00
parent 56a7981c9c
commit 93b883e1db
27 changed files with 1021 additions and 165 deletions

View file

@ -107,10 +107,9 @@ function t(desc, func, expect) {
var img = document.querySelector('[data-desc="' + desc + '"]');
img.onload = img.onerror = this.unreached_func('update the image data was run');
if (expect == 'timeout') {
setTimeout(this.step_func_done(), 250);
setTimeout(this.step_func_done(), 1000);
} else {
img['on' + expect] = this.step_func_done(function() {});
setTimeout(this.unreached_func('update the image data was not run'), 250)
}
func.call(this, img);
}, desc);