aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/manipulation/_evalUrl.js1
-rw-r--r--test/unit/manipulation.js9
2 files changed, 0 insertions, 10 deletions
diff --git a/src/manipulation/_evalUrl.js b/src/manipulation/_evalUrl.js
index 572fe30c7..85ca2c62a 100644
--- a/src/manipulation/_evalUrl.js
+++ b/src/manipulation/_evalUrl.js
@@ -9,7 +9,6 @@ jQuery._evalUrl = function( url ) {
// Make this explicit, since user can override this through ajaxSetup (#11264)
type: "GET",
dataType: "script",
- cache: true,
async: false,
global: false,
"throws": true
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index 492390adf..2069ee5c5 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -2678,12 +2678,3 @@ QUnit.test( "Make sure col element is appended correctly", function( assert ) {
assert.strictEqual( table.find( "td" ).width(), 150 );
} );
-
-asyncTest( "Insert script with data-URI (gh-1887)", 1, function() {
- Globals.register( "testFoo" );
- jQuery( "#qunit-fixture" ).append( "<script src=\"data:text/javascript,testFoo = 'foo';\"></script>" );
- setTimeout(function() {
- strictEqual( window[ "testFoo" ], "foo", "data-URI script executed" );
- start();
- }, 100 );
-});