mirror of
https://github.com/servo/servo.git
synced 2025-06-25 17:44:33 +01:00
21 lines
690 B
JavaScript
21 lines
690 B
JavaScript
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
var props = {output:%(output)d,
|
|
explicit_timeout: true};
|
|
|
|
if (window.opener && "timeout_multiplier" in window.opener) {
|
|
props["timeout_multiplier"] = window.opener.timeout_multiplier;
|
|
}
|
|
|
|
if (window.opener && window.opener.explicit_timeout) {
|
|
props["explicit_timeout"] = window.opener.explicit_timeout;
|
|
}
|
|
|
|
setup(props);
|
|
add_completion_callback(function() {
|
|
add_completion_callback(function(tests, status) {
|
|
window.opener.done(tests, status)
|
|
})
|
|
});
|