diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-07-20 00:55:48 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-07-20 18:37:26 +0200 |
commit | 1c59b308d201d6dd0f0aed2ad0256d01b9f68047 (patch) | |
tree | 393768c387d1567b45c594b452c5c3ae49f75c29 /test/unit/css.js | |
parent | bf591fb597a056bf2fc9bc474010374695b18d1a (diff) | |
download | jquery-1c59b308d201d6dd0f0aed2ad0256d01b9f68047.tar.gz jquery-1c59b308d201d6dd0f0aed2ad0256d01b9f68047.zip |
Build: Acknowledge Android 2.3 is not ES5-compatible
Android 2.3 chokes on unquoted reserved words being used as property names
which was making Deferred tests not run.
Acknowledge the sad fact that Android 2.3 is not ES5-compliant browser
and enable the "es3" option in JSHint config.
Fixes gh-2478
Closes gh-2481
Diffstat (limited to 'test/unit/css.js')
-rw-r--r-- | test/unit/css.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index 06de4acd9..47db2c8f3 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -1225,7 +1225,7 @@ test( "Do not throw on frame elements from css method (#15098)", 1, function() { if ( transformName ) { equal( elemStyle[ transformName ], transformVal, "setting properly-prefixed transform" ); } - equal( elemStyle.undefined, undefined, "Nothing writes to node.style.undefined" ); + equal( elemStyle[ "undefined" ], undefined, "Nothing writes to node.style.undefined" ); } ); test( "Don't detect fake set properties on a node when caching the prefixed version", function() { |