| 6509 | return document.getElementById && document.getElementById(name); |
| 6510 | } |
| 6511 | function abortTests() { |
| 6512 | var abortButton = id('qunit-abort-tests-button'); |
| 6513 | if (abortButton) { |
| 6514 | abortButton.disabled = true; |
| 6515 | abortButton.innerHTML = 'Aborting...'; |
| 6516 | } |
| 6517 | QUnit.config.queue.length = 0; |
| 6518 | return false; |
| 6519 | } |
| 6520 | function interceptNavigation(ev) { |
| 6521 | // Trim potential accidental whitespace so that QUnit doesn't throw an error about no tests matching the filter. |
| 6522 | var filterInputElem = id('qunit-filter-input'); |