aboutsummaryrefslogtreecommitdiffstats
path: root/test/jquery.js
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2013-11-04 23:36:15 -0500
committerRichard Gibson <richard.gibson@gmail.com>2013-11-12 00:07:28 -0500
commit60a6178131afec97b68c9a45bc24459f7b8bd905 (patch)
tree81289bd251c2bc117eb0020e05c65573010cdacb /test/jquery.js
parentef7f8f1ead0d80e53cde0a2c7d6af289bd182ce0 (diff)
downloadjquery-60a6178131afec97b68c9a45bc24459f7b8bd905.tar.gz
jquery-60a6178131afec97b68c9a45bc24459f7b8bd905.zip
Fix #14492: More correct jQuery.parseJSON. Close gh-1419.
Diffstat (limited to 'test/jquery.js')
-rw-r--r--test/jquery.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/jquery.js b/test/jquery.js
index bdee83c28..e94f55fe8 100644
--- a/test/jquery.js
+++ b/test/jquery.js
@@ -11,12 +11,13 @@
QUnit.config.urlConfig.push({
id: "basic",
label: "Bypass optimizations",
- tooltip: "Force use of the most basic code by disabling native querySelectorAll; contains; compareDocumentPosition"
+ tooltip: "Force use of the most basic code by disabling native querySelectorAll; contains; compareDocumentPosition; JSON.parse"
});
if ( QUnit.urlParams.basic ) {
document.querySelectorAll = null;
document.documentElement.contains = null;
document.documentElement.compareDocumentPosition = null;
+ window.JSON = null;
}
// iFrames won't load AMD (the iframe tests synchronously expect jQuery to be there)