Skip to content

Commit

Permalink
legacy test workaround to pass on iOS 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher J. Brody committed Dec 14, 2017
1 parent 7051b1b commit 51ced03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/www/spec/db-tx-sql-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ var mytests = function() {

if (isWebSql) {
// Web SQL STANDARD:
// 1. this is a native object that is NOT affected by the change (SKIP for Android 5.x/+):
if (!isAndroid || /Android [1-4]/.test(navigator.userAgent))
// 1. this is a native object that is NOT affected by the change (SKIP for Android 5.x/+ and iOS):
if (isAndroid && /Android [1-4]/.test(navigator.userAgent))
expect(temp1.data).toBe('test');
// 2. object returned by second resultSet.rows.item call not affected:
expect(temp2.data).toBe('test');
Expand Down

0 comments on commit 51ced03

Please sign in to comment.