We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc8ba6a commit 0921c44Copy full SHA for 0921c44
test/unit/ajax.js
@@ -1440,6 +1440,15 @@ module( "ajax", {
1440
});
1441
1442
asyncTest( "#11743 - jQuery.ajax() - script, throws exception", 1, function() {
1443
+ // Support: Android 2.3 only
1444
+ // Android 2.3 doesn't fire the window.onerror handler, just accept the reality there.
1445
+ if ( /android 2\.3/i.test( navigator.userAgent ) ) {
1446
+ ok( true, "Test skipped, Android 2.3 doesn't fire window.onerror for " +
1447
+ "errors in dynamically included scripts" );
1448
+ start();
1449
+ return;
1450
+ }
1451
+
1452
var onerror = window.onerror;
1453
window.onerror = function() {
1454
ok( true, "Exception thrown" );
0 commit comments