mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
Update web-platform-tests to revision e8bfc205e36ad699601212cd50083870bad9a75d
This commit is contained in:
parent
65dd6d4340
commit
ccdb0a3458
1428 changed files with 118036 additions and 9786 deletions
|
@ -527,7 +527,11 @@ policies and contribution forms [3].
|
|||
tests.promise_tests = Promise.resolve();
|
||||
}
|
||||
tests.promise_tests = tests.promise_tests.then(function() {
|
||||
return Promise.resolve(test.step(func, test, test))
|
||||
var promise = test.step(func, test, test);
|
||||
test.step(function() {
|
||||
assert_not_equals(promise, undefined);
|
||||
});
|
||||
return Promise.resolve(promise)
|
||||
.then(
|
||||
function() {
|
||||
test.done();
|
||||
|
@ -1247,6 +1251,7 @@ policies and contribution forms [3].
|
|||
ReadOnlyError: 0,
|
||||
VersionError: 0,
|
||||
OperationError: 0,
|
||||
NotAllowedError: 0
|
||||
};
|
||||
|
||||
if (!(name in name_code_map)) {
|
||||
|
@ -2463,6 +2468,11 @@ policies and contribution forms [3].
|
|||
}
|
||||
}
|
||||
|
||||
// 'Error.stack' is not supported in all browsers/versions
|
||||
if (!stack) {
|
||||
return "(Stack trace unavailable)";
|
||||
}
|
||||
|
||||
var lines = stack.split("\n");
|
||||
|
||||
// Create a pattern to match stack frames originating within testharness.js. These include the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue