]> source.dussan.org Git - jquery.git/commitdiff
Ref 71b2ac52: Disallow 2.x bypass of environmental helper methods
authorRichard Gibson <richard.gibson@gmail.com>
Tue, 12 Nov 2013 18:31:35 +0000 (13:31 -0500)
committerRichard Gibson <richard.gibson@gmail.com>
Tue, 12 Nov 2013 18:31:35 +0000 (13:31 -0500)
test/jquery.js

index e94f55fe894ddcb3bf06c4fb29360ffc3de3b675..cad14f3b199cb9dd114d440cb8ab761706754620 100644 (file)
@@ -7,19 +7,6 @@
                QUnit = window.QUnit || parent.QUnit,
                require = window.require || parent.require;
 
-       // Config parameter to force basic code paths
-       QUnit.config.urlConfig.push({
-               id: "basic",
-               label: "Bypass optimizations",
-               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)
        QUnit.config.urlConfig.push({
                id: "amd",