mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: Fix Android 4.0 Deferred tests
Closes gh-3967
This commit is contained in:
parent
56742491bd
commit
4a2bcc27f9
@ -884,7 +884,9 @@ QUnit.test( "jQuery.when(thenable) - like Promise.resolve", function( assert ) {
|
||||
|
||||
var customToStringThen = {
|
||||
then: function( onFulfilled ) {
|
||||
onFulfilled();
|
||||
// Support: Android 4.0 only
|
||||
// Strict mode functions invoked without .call/.apply get global-object context
|
||||
onFulfilled.call();
|
||||
}
|
||||
};
|
||||
if ( typeof Symbol === "function" ) {
|
||||
|
Loading…
Reference in New Issue
Block a user