Update web-platform-tests to revision d7afcb8708eac08a614d161d5622a48172daf7e3

This commit is contained in:
WPT Sync Bot 2019-05-15 10:40:54 -04:00 committed by Josh Matthews
parent 6f8bb4dd40
commit edff458e23
791 changed files with 17647 additions and 10322 deletions

View file

@ -1499,7 +1499,7 @@ policies and contribution forms [3].
}
this.name = name;
this.phase = tests.is_aborted ?
this.phase = (tests.is_aborted || tests.phase === tests.phases.COMPLETE) ?
this.phases.COMPLETE : this.phases.INITIAL;
this.status = this.NOTRUN;
@ -1522,6 +1522,13 @@ policies and contribution forms [3].
this._user_defined_cleanup_count = 0;
this._done_callbacks = [];
// Tests declared following harness completion are likely an indication
// of a programming error, but they cannot be reported
// deterministically.
if (tests.phase === tests.phases.COMPLETE) {
return;
}
tests.push(this);
}
@ -2672,7 +2679,7 @@ policies and contribution forms [3].
if (this.phase < this.STARTED) {
this.init();
}
if (!this.enabled) {
if (!this.enabled || this.phase === this.COMPLETE) {
return;
}
this.resolve_log();