mirror of
https://github.com/servo/servo.git
synced 2025-09-04 03:58:23 +01:00
Update web-platform-tests to revision bda2059150dca8ab47f088b4cc619fcdc1f262fa
This commit is contained in:
parent
3535f3f6c2
commit
7c4281f3da
182 changed files with 7692 additions and 1042 deletions
|
@ -11,12 +11,12 @@ if(expected_alerts.length == 0) {
|
|||
}
|
||||
} else {
|
||||
var t_alert = async_test('Expecting alerts: {{GET[alerts]}}');
|
||||
setTimeout(function() {
|
||||
step_timeout(function() {
|
||||
if(t_alert.phase != t_alert.phases.COMPLETE) {
|
||||
t_alert.step(function() { assert_unreached('Alert timeout, expected alerts ' + expected_alerts + ' not fired.') });
|
||||
t_alert.done();
|
||||
}
|
||||
}, timeout * 100);
|
||||
}, timeout * 1000);
|
||||
var alert_assert = function (msg) {
|
||||
t_alert.step(function () {
|
||||
if(msg && msg instanceof Error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue