From 51ced034c4d723a658a603bde2e5123fb9788348 Mon Sep 17 00:00:00 2001 From: "Christopher J. Brody" Date: Wed, 13 Dec 2017 18:33:44 -0500 Subject: [PATCH] legacy test workaround to pass on iOS 11 --- spec/www/spec/db-tx-sql-results.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/www/spec/db-tx-sql-results.js b/spec/www/spec/db-tx-sql-results.js index 71182a822..0425d809a 100644 --- a/spec/www/spec/db-tx-sql-results.js +++ b/spec/www/spec/db-tx-sql-results.js @@ -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');