mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Upgrade wptrunner (tests/wpt/harness) to latest version
This commit is contained in:
parent
5478c7c24b
commit
759c52d7eb
28 changed files with 164 additions and 146 deletions
|
@ -15,16 +15,3 @@ if (window.opener && window.opener.explicit_timeout) {
|
|||
}
|
||||
|
||||
setup(props);
|
||||
add_completion_callback(function() {
|
||||
add_completion_callback(function(tests, status) {
|
||||
var harness_status = {
|
||||
"status": status.status,
|
||||
"message": status.message,
|
||||
"stack": status.stack
|
||||
};
|
||||
var test_results = tests.map(function(x) {
|
||||
return {name:x.name, status:x.status, message:x.message, stack:x.stack}
|
||||
});
|
||||
window.opener.postMessage([test_results, harness_status], "*");
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue