author | Geoff Brown <gbrown@mozilla.com> |
Thu, 18 Oct 2018 10:22:26 -0600 | |
changeset 497714 | edaa4f0b9da959b7a0158e35fbb972eb24cbe708 |
parent 497713 | 6d6b5c10bba56bc286ae66cf9d72948a6a03d200 |
child 497715 | 8b06ecb59a60ef9f7920fa6e9d307c6592f6a477 |
push id | 10002 |
push user | archaeopteryx@coole-files.de |
push date | Fri, 19 Oct 2018 23:09:29 +0000 |
treeherder | mozilla-beta@01378c910610 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | aswan |
bugs | 1494657 |
milestone | 64.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/testing/mochitest/tests/SimpleTest/setup.js +++ b/testing/mochitest/tests/SimpleTest/setup.js @@ -4,16 +4,23 @@ * 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/. */ "use strict"; TestRunner.logEnabled = true; TestRunner.logger = LogController; +if (!("SpecialPowers" in window)) { + dump("SimpleTest setup.js found SpecialPowers unavailable: reloading...\n"); + setTimeout(() => { + window.location.reload(); + }, 1000); +} + /* Helper function */ function parseQueryString(encodedString, useArrays) { // strip a leading '?' from the encoded string var qstr = (encodedString.length > 0 && encodedString[0] == "?") ? encodedString.substring(1) : encodedString; var pairs = qstr.replace(/\+/g, "%20").split(/(\&\;|\&\#38\;|\&|\&)/); var o = {};