aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2012-06-11 22:35:04 -0400
committerDave Methvin <dave.methvin@gmail.com>2012-06-11 22:35:04 -0400
commit83dfb99ea96b7c528667d38bb5e0bcff3dd0f309 (patch)
treeac45f30c10529160c77122a2d12b5cef349fa11b
parent6a7f2492d0c15c007f539d400f2e83884d42fe82 (diff)
downloadjquery-83dfb99ea96b7c528667d38bb5e0bcff3dd0f309.tar.gz
jquery-83dfb99ea96b7c528667d38bb5e0bcff3dd0f309.zip
Tweak test for #11743 in an attempt to placate Jenkins.
I can't get the current test to fail locally or in Browserstack, but suspect it may have something to do with badjson.js.
-rw-r--r--test/data/badcall.js1
-rw-r--r--test/unit/manipulation.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/data/badcall.js b/test/data/badcall.js
new file mode 100644
index 000000000..cc2f2b42c
--- /dev/null
+++ b/test/data/badcall.js
@@ -0,0 +1 @@
+undefined();
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index 5ef64ed54..13c653533 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -1810,7 +1810,7 @@ test("html() - script exceptions bubble (#11743)", function() {
}, "exception bubbled from inline script" );
raises(function() {
- jQuery("#qunit-fixture").html("<script src='data/badjson.js'></script>");
+ jQuery("#qunit-fixture").html("<script src='data/badcall.js'></script>");
ok( false, "error ignored" );
}, "exception bubbled from remote script" );
});