diff --git a/external/qunit.js b/external/qunit.js index d56936ee2..a1b3fa5e9 100644 --- a/external/qunit.js +++ b/external/qunit.js @@ -625,7 +625,7 @@ extend(QUnit, { var source = sourceFromStacktrace(); if (source) { details.source = source; - output += 'Source:
' + source +'
'; + output += 'Source:
' + escapeHtml(source) + '
'; } } output += ""; @@ -649,6 +649,10 @@ extend(QUnit, { return window.location.pathname + querystring.slice( 0, -1 ); }, + extend: extend, + id: id, + addEvent: addEvent, + // Logging callbacks; all receive a single argument with the listed properties // run test/logs.html for any related changes begin: function() {}, @@ -779,7 +783,7 @@ function done() { } if ( typeof document !== "undefined" && document.title ) { - // show ✖ for good, ✔ for bad suite result in title + // show ✖ for bad, ✔ for good suite result in title // use escape sequences in case file gets loaded with non-utf-8-charset document.title = (config.stats.bad ? "\u2716" : "\u2714") + " " + document.title; } diff --git a/tests/unit/all.html b/tests/unit/all.html index 284885dbc..41d379534 100644 --- a/tests/unit/all.html +++ b/tests/unit/all.html @@ -7,8 +7,9 @@ + - +