diff options
Diffstat (limited to 'test/unit/deferred.js')
-rw-r--r-- | test/unit/deferred.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/deferred.js b/test/unit/deferred.js index 2e414e642..70d1254a1 100644 --- a/test/unit/deferred.js +++ b/test/unit/deferred.js @@ -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" ) { |