mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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.
This commit is contained in:
parent
6a7f2492d0
commit
83dfb99ea9
1
test/data/badcall.js
Normal file
1
test/data/badcall.js
Normal file
@ -0,0 +1 @@
|
||||
undefined();
|
@ -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" );
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user