[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034605#comment-15034605 ] Shazron Abdullah commented on CB-7287: -- 3 Actual failures: {code} 1. filetransfer.spec.34 failed 2. XMLHttpRequest.spec.4 failed 3. storage.spec.18 failed {code} The rest of the 14 failures (file.transfer.specs 4, 5, 6, 12, 13, 18, 19, 21, 22, 28, 29, 30, 31, 32) are dependent on INFRA-10831, like the issue CB-10082. > [WKWebView] Failing tests > - > > Key: CB-7287 > URL: https://issues.apache.org/jira/browse/CB-7287 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 8 >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah > Labels: cordova-ios-4.0.x > > This is only for the wkwebview branch, and using these plugins, and 3.5.0 > mobile-spec: > {code} > "org.apache.cordova.battery-status": "0.2.10", > "org.apache.cordova.camera": "0.3.1", > "org.apache.cordova.console": "0.2.10", > "org.apache.cordova.contacts": "0.2.12", > "org.apache.cordova.device": "0.2.11", > "org.apache.cordova.device-motion": "0.2.9", > "org.apache.cordova.device-orientation": "0.3.8", > "org.apache.cordova.dialogs": "0.2.9", > "org.apache.cordova.file": "1.3.0", > "org.apache.cordova.file-transfer": "0.4.5", > "org.apache.cordova.geolocation": "0.3.9", > "org.apache.cordova.globalization": "0.3.0", > "org.apache.cordova.inappbrowser": "0.5.1", > "org.apache.cordova.media": "0.2.12", > "org.apache.cordova.media-capture": "0.3.2", > "org.apache.cordova.network-information": "0.2.11", > "org.apache.cordova.splashscreen": "0.3.2", > "org.apache.cordova.vibration": "0.3.10" > {code} > The 3 failing tests: > {code} > FileTransfer upload method filetransfer.spec.18 should be able to upload a > file. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer upload method filetransfer.spec.19 should be able to upload a > file with http basic auth. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer Backwards compatibility filetransfer.spec.29 should be able to > upload a file using local paths. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} > ' to match /fields:\s*{\s*value1.*/. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034477#comment-15034477 ] Shazron Abdullah commented on CB-7287: -- After removing bridge issues as a concern, etc here are the results: 5 Errors: {code} AfterAll NETWORK_ERR: NETWORK_ERR: XMLHttpRequest Exception 101 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/localXHR.tests.js (line 47) AfterAll SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js (line 215) AfterAll SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js (line 215) AfterAll SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js (line 215) AfterAll SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js (line 215) {code} 17 Failures: {code} org.apache.cordova.mobilespec.tests.localXHR.tests >> XMLHttpRequest XMLHttpRequest.spec.4 should be able to load the parent folder page ../index.html Expected spy onError not to have been called. org.apache.cordova.mobilespec.tests.storage.tests >> Session Storage HTML 5 Storage HTML 5 Storage storage.spec.18 Should be able to create and drop tables SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js (line 215) SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js (line 215) Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js (line 1764) cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.4 should download a file Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js (line 1764) Expected spy httpFail not to have been called. cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.5 should download a file using http basic auth Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js (line 1764) Expected spy httpFail not to have been called. cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.6 should get 401 status on http basic auth failure Expected null to be 401. cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.12 should get http status on failure Expected null to be 404. Expected 3 to be 1. cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.s
[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034267#comment-15034267 ] Shazron Abdullah commented on CB-7287: -- Another issue CB-10107 > [WKWebView] Failing tests > - > > Key: CB-7287 > URL: https://issues.apache.org/jira/browse/CB-7287 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 8 >Reporter: Shazron Abdullah >Assignee: Anis Kadri > Labels: cordova-ios-4.0.x > > This is only for the wkwebview branch, and using these plugins, and 3.5.0 > mobile-spec: > {code} > "org.apache.cordova.battery-status": "0.2.10", > "org.apache.cordova.camera": "0.3.1", > "org.apache.cordova.console": "0.2.10", > "org.apache.cordova.contacts": "0.2.12", > "org.apache.cordova.device": "0.2.11", > "org.apache.cordova.device-motion": "0.2.9", > "org.apache.cordova.device-orientation": "0.3.8", > "org.apache.cordova.dialogs": "0.2.9", > "org.apache.cordova.file": "1.3.0", > "org.apache.cordova.file-transfer": "0.4.5", > "org.apache.cordova.geolocation": "0.3.9", > "org.apache.cordova.globalization": "0.3.0", > "org.apache.cordova.inappbrowser": "0.5.1", > "org.apache.cordova.media": "0.2.12", > "org.apache.cordova.media-capture": "0.3.2", > "org.apache.cordova.network-information": "0.2.11", > "org.apache.cordova.splashscreen": "0.3.2", > "org.apache.cordova.vibration": "0.3.10" > {code} > The 3 failing tests: > {code} > FileTransfer upload method filetransfer.spec.18 should be able to upload a > file. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer upload method filetransfer.spec.19 should be able to upload a > file with http basic auth. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer Backwards compatibility filetransfer.spec.29 should be able to > upload a file using local paths. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} > ' to match /fields:\s*{\s*value1.*/. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034162#comment-15034162 ] Shazron Abdullah commented on CB-7287: -- Added CB-10106 for the bridge issue. > [WKWebView] Failing tests > - > > Key: CB-7287 > URL: https://issues.apache.org/jira/browse/CB-7287 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 8 >Reporter: Shazron Abdullah >Assignee: Anis Kadri > Labels: cordova-ios-4.0.x > > This is only for the wkwebview branch, and using these plugins, and 3.5.0 > mobile-spec: > {code} > "org.apache.cordova.battery-status": "0.2.10", > "org.apache.cordova.camera": "0.3.1", > "org.apache.cordova.console": "0.2.10", > "org.apache.cordova.contacts": "0.2.12", > "org.apache.cordova.device": "0.2.11", > "org.apache.cordova.device-motion": "0.2.9", > "org.apache.cordova.device-orientation": "0.3.8", > "org.apache.cordova.dialogs": "0.2.9", > "org.apache.cordova.file": "1.3.0", > "org.apache.cordova.file-transfer": "0.4.5", > "org.apache.cordova.geolocation": "0.3.9", > "org.apache.cordova.globalization": "0.3.0", > "org.apache.cordova.inappbrowser": "0.5.1", > "org.apache.cordova.media": "0.2.12", > "org.apache.cordova.media-capture": "0.3.2", > "org.apache.cordova.network-information": "0.2.11", > "org.apache.cordova.splashscreen": "0.3.2", > "org.apache.cordova.vibration": "0.3.10" > {code} > The 3 failing tests: > {code} > FileTransfer upload method filetransfer.spec.18 should be able to upload a > file. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer upload method filetransfer.spec.19 should be able to upload a > file with http basic auth. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer Backwards compatibility filetransfer.spec.29 should be able to > upload a file using local paths. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} > ' to match /fields:\s*{\s*value1.*/. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15032874#comment-15032874 ] Shazron Abdullah commented on CB-7287: -- I can now redefine 'cordova/exec'. However, this will only work if the wkwebview-engine plugin is the **first** item that is loaded. Any existing local references `var exec = require('cordova/exec')` will still point to the old bridge. So, the old bridge still needs to test whether it itself is not the existing bridge, and pass on the command to the new bridge (see my comments above). Other issues for WKWebView, where CORS now applies: 1. localXHR tests will fail (CORS not allowed for file:// only http*://) 2. Cannot load medic.json (CORS not allowed for file:// only http*://) 3. DataClone Error - DOM Exception 25 (An object cannot be cloned) 4. SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent. 5. XMLHttpRequest Exception 101: A network error occurred in synchronous requests. > [WKWebView] Failing tests > - > > Key: CB-7287 > URL: https://issues.apache.org/jira/browse/CB-7287 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 8 >Reporter: Shazron Abdullah >Assignee: Anis Kadri > Labels: cordova-ios-4.0.x > > This is only for the wkwebview branch, and using these plugins, and 3.5.0 > mobile-spec: > {code} > "org.apache.cordova.battery-status": "0.2.10", > "org.apache.cordova.camera": "0.3.1", > "org.apache.cordova.console": "0.2.10", > "org.apache.cordova.contacts": "0.2.12", > "org.apache.cordova.device": "0.2.11", > "org.apache.cordova.device-motion": "0.2.9", > "org.apache.cordova.device-orientation": "0.3.8", > "org.apache.cordova.dialogs": "0.2.9", > "org.apache.cordova.file": "1.3.0", > "org.apache.cordova.file-transfer": "0.4.5", > "org.apache.cordova.geolocation": "0.3.9", > "org.apache.cordova.globalization": "0.3.0", > "org.apache.cordova.inappbrowser": "0.5.1", > "org.apache.cordova.media": "0.2.12", > "org.apache.cordova.media-capture": "0.3.2", > "org.apache.cordova.network-information": "0.2.11", > "org.apache.cordova.splashscreen": "0.3.2", > "org.apache.cordova.vibration": "0.3.10" > {code} > The 3 failing tests: > {code} > FileTransfer upload method filetransfer.spec.18 should be able to upload a > file. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer upload method filetransfer.spec.19 should be able to upload a > file with http basic auth. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer Backwards compatibility filetransfer.spec.29 should be able to > upload a file using local paths. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} > ' to match /fields:\s*{\s*value1.*/. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029614#comment-15029614 ] Shazron Abdullah commented on CB-7287: -- Unfortunately I found another problem while trying to implement my solution above. While cordova.exec points to the new bridge, doing a: {code} cordova.require('cordova/exec') {code} ... still points to the old bridge. This is obviously problematic since that's how plugins grab the exec function, and they will still use the old bridge. > [WKWebView] Failing tests > - > > Key: CB-7287 > URL: https://issues.apache.org/jira/browse/CB-7287 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 8 >Reporter: Shazron Abdullah >Assignee: Anis Kadri > Labels: cordova-ios-4.0.x > > This is only for the wkwebview branch, and using these plugins, and 3.5.0 > mobile-spec: > {code} > "org.apache.cordova.battery-status": "0.2.10", > "org.apache.cordova.camera": "0.3.1", > "org.apache.cordova.console": "0.2.10", > "org.apache.cordova.contacts": "0.2.12", > "org.apache.cordova.device": "0.2.11", > "org.apache.cordova.device-motion": "0.2.9", > "org.apache.cordova.device-orientation": "0.3.8", > "org.apache.cordova.dialogs": "0.2.9", > "org.apache.cordova.file": "1.3.0", > "org.apache.cordova.file-transfer": "0.4.5", > "org.apache.cordova.geolocation": "0.3.9", > "org.apache.cordova.globalization": "0.3.0", > "org.apache.cordova.inappbrowser": "0.5.1", > "org.apache.cordova.media": "0.2.12", > "org.apache.cordova.media-capture": "0.3.2", > "org.apache.cordova.network-information": "0.2.11", > "org.apache.cordova.splashscreen": "0.3.2", > "org.apache.cordova.vibration": "0.3.10" > {code} > The 3 failing tests: > {code} > FileTransfer upload method filetransfer.spec.18 should be able to upload a > file. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer upload method filetransfer.spec.19 should be able to upload a > file with http basic auth. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer Backwards compatibility filetransfer.spec.29 should be able to > upload a file using local paths. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} > ' to match /fields:\s*{\s*value1.*/. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029299#comment-15029299 ] Shazron Abdullah commented on CB-7287: -- One solution: Each bridge should clean itself up, or we add a new function to cordova.js to set and cleanup bridges (ie each bridge has a deInit() function, and cordova.changeBridge(bridge) would call it, or something). But for now, to be backwards compatible, we could do: {code} if (cordova.exec !== iOSExec) { // where iOSExec is our exec in our scope console.log("The bridge has changed, do something, pass remnant commands to new bridge, cleanup, stop any timers etc"); // TODO: For each command in the commandQueue, we have to "unwrap" the callbackId to get the // success and failure callbacks, and send to the new cordova.exec. } {code} NOTE: this problem only exists because of that timer to catch commands that may have been missed because of an iframe change > [WKWebView] Failing tests > - > > Key: CB-7287 > URL: https://issues.apache.org/jira/browse/CB-7287 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 8 >Reporter: Shazron Abdullah >Assignee: Anis Kadri > Labels: cordova-ios-4.0.x > > This is only for the wkwebview branch, and using these plugins, and 3.5.0 > mobile-spec: > {code} > "org.apache.cordova.battery-status": "0.2.10", > "org.apache.cordova.camera": "0.3.1", > "org.apache.cordova.console": "0.2.10", > "org.apache.cordova.contacts": "0.2.12", > "org.apache.cordova.device": "0.2.11", > "org.apache.cordova.device-motion": "0.2.9", > "org.apache.cordova.device-orientation": "0.3.8", > "org.apache.cordova.dialogs": "0.2.9", > "org.apache.cordova.file": "1.3.0", > "org.apache.cordova.file-transfer": "0.4.5", > "org.apache.cordova.geolocation": "0.3.9", > "org.apache.cordova.globalization": "0.3.0", > "org.apache.cordova.inappbrowser": "0.5.1", > "org.apache.cordova.media": "0.2.12", > "org.apache.cordova.media-capture": "0.3.2", > "org.apache.cordova.network-information": "0.2.11", > "org.apache.cordova.splashscreen": "0.3.2", > "org.apache.cordova.vibration": "0.3.10" > {code} > The 3 failing tests: > {code} > FileTransfer upload method filetransfer.spec.18 should be able to upload a > file. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer upload method filetransfer.spec.19 should be able to upload a > file with http basic auth. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer Backwards compatibility filetransfer.spec.29 should be able to > upload a file using local paths. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} > ' to match /fields:\s*{\s*value1.*/. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029294#comment-15029294 ] Anis Kadri commented on CB-7287: Understood. I agree that this should be handled in Javascript if possible. > [WKWebView] Failing tests > - > > Key: CB-7287 > URL: https://issues.apache.org/jira/browse/CB-7287 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 8 >Reporter: Shazron Abdullah >Assignee: Anis Kadri > Labels: cordova-ios-4.0.x > > This is only for the wkwebview branch, and using these plugins, and 3.5.0 > mobile-spec: > {code} > "org.apache.cordova.battery-status": "0.2.10", > "org.apache.cordova.camera": "0.3.1", > "org.apache.cordova.console": "0.2.10", > "org.apache.cordova.contacts": "0.2.12", > "org.apache.cordova.device": "0.2.11", > "org.apache.cordova.device-motion": "0.2.9", > "org.apache.cordova.device-orientation": "0.3.8", > "org.apache.cordova.dialogs": "0.2.9", > "org.apache.cordova.file": "1.3.0", > "org.apache.cordova.file-transfer": "0.4.5", > "org.apache.cordova.geolocation": "0.3.9", > "org.apache.cordova.globalization": "0.3.0", > "org.apache.cordova.inappbrowser": "0.5.1", > "org.apache.cordova.media": "0.2.12", > "org.apache.cordova.media-capture": "0.3.2", > "org.apache.cordova.network-information": "0.2.11", > "org.apache.cordova.splashscreen": "0.3.2", > "org.apache.cordova.vibration": "0.3.10" > {code} > The 3 failing tests: > {code} > FileTransfer upload method filetransfer.spec.18 should be able to upload a > file. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer upload method filetransfer.spec.19 should be able to upload a > file with http basic auth. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer Backwards compatibility filetransfer.spec.29 should be able to > upload a file using local paths. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} > ' to match /fields:\s*{\s*value1.*/. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029291#comment-15029291 ] Shazron Abdullah commented on CB-7287: -- Another note: it's not just "ignoring" it, if it doesn't "handle" it (thus handling the bridge like UIWebView), the call will still go on, since the commandQueue is not empty. The wkwebview-engine bridge should not be handling the remnants of the other bridge. > [WKWebView] Failing tests > - > > Key: CB-7287 > URL: https://issues.apache.org/jira/browse/CB-7287 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 8 >Reporter: Shazron Abdullah >Assignee: Anis Kadri > Labels: cordova-ios-4.0.x > > This is only for the wkwebview branch, and using these plugins, and 3.5.0 > mobile-spec: > {code} > "org.apache.cordova.battery-status": "0.2.10", > "org.apache.cordova.camera": "0.3.1", > "org.apache.cordova.console": "0.2.10", > "org.apache.cordova.contacts": "0.2.12", > "org.apache.cordova.device": "0.2.11", > "org.apache.cordova.device-motion": "0.2.9", > "org.apache.cordova.device-orientation": "0.3.8", > "org.apache.cordova.dialogs": "0.2.9", > "org.apache.cordova.file": "1.3.0", > "org.apache.cordova.file-transfer": "0.4.5", > "org.apache.cordova.geolocation": "0.3.9", > "org.apache.cordova.globalization": "0.3.0", > "org.apache.cordova.inappbrowser": "0.5.1", > "org.apache.cordova.media": "0.2.12", > "org.apache.cordova.media-capture": "0.3.2", > "org.apache.cordova.network-information": "0.2.11", > "org.apache.cordova.splashscreen": "0.3.2", > "org.apache.cordova.vibration": "0.3.10" > {code} > The 3 failing tests: > {code} > FileTransfer upload method filetransfer.spec.18 should be able to upload a > file. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer upload method filetransfer.spec.19 should be able to upload a > file with http basic auth. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer Backwards compatibility filetransfer.spec.29 should be able to > upload a file using local paths. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} > ' to match /fields:\s*{\s*value1.*/. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029288#comment-15029288 ] Shazron Abdullah commented on CB-7287: -- Not hard, but that's not the point like I mentioned, why would wkwebview-engine need to know the goings-on of another engine? It'll be a quick patch for sure, but it should be stand-alone > [WKWebView] Failing tests > - > > Key: CB-7287 > URL: https://issues.apache.org/jira/browse/CB-7287 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 8 >Reporter: Shazron Abdullah >Assignee: Anis Kadri > Labels: cordova-ios-4.0.x > > This is only for the wkwebview branch, and using these plugins, and 3.5.0 > mobile-spec: > {code} > "org.apache.cordova.battery-status": "0.2.10", > "org.apache.cordova.camera": "0.3.1", > "org.apache.cordova.console": "0.2.10", > "org.apache.cordova.contacts": "0.2.12", > "org.apache.cordova.device": "0.2.11", > "org.apache.cordova.device-motion": "0.2.9", > "org.apache.cordova.device-orientation": "0.3.8", > "org.apache.cordova.dialogs": "0.2.9", > "org.apache.cordova.file": "1.3.0", > "org.apache.cordova.file-transfer": "0.4.5", > "org.apache.cordova.geolocation": "0.3.9", > "org.apache.cordova.globalization": "0.3.0", > "org.apache.cordova.inappbrowser": "0.5.1", > "org.apache.cordova.media": "0.2.12", > "org.apache.cordova.media-capture": "0.3.2", > "org.apache.cordova.network-information": "0.2.11", > "org.apache.cordova.splashscreen": "0.3.2", > "org.apache.cordova.vibration": "0.3.10" > {code} > The 3 failing tests: > {code} > FileTransfer upload method filetransfer.spec.18 should be able to upload a > file. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer upload method filetransfer.spec.19 should be able to upload a > file with http basic auth. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer Backwards compatibility filetransfer.spec.29 should be able to > upload a file using local paths. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} > ' to match /fields:\s*{\s*value1.*/. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029286#comment-15029286 ] Anis Kadri commented on CB-7287: Not sure if this could be handled with our in-house javascript packager either (possibly using in plugin.xml ?). How hard would it be for wkwebview-engine to handle/ignore that first call ? > [WKWebView] Failing tests > - > > Key: CB-7287 > URL: https://issues.apache.org/jira/browse/CB-7287 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 8 >Reporter: Shazron Abdullah >Assignee: Anis Kadri > Labels: cordova-ios-4.0.x > > This is only for the wkwebview branch, and using these plugins, and 3.5.0 > mobile-spec: > {code} > "org.apache.cordova.battery-status": "0.2.10", > "org.apache.cordova.camera": "0.3.1", > "org.apache.cordova.console": "0.2.10", > "org.apache.cordova.contacts": "0.2.12", > "org.apache.cordova.device": "0.2.11", > "org.apache.cordova.device-motion": "0.2.9", > "org.apache.cordova.device-orientation": "0.3.8", > "org.apache.cordova.dialogs": "0.2.9", > "org.apache.cordova.file": "1.3.0", > "org.apache.cordova.file-transfer": "0.4.5", > "org.apache.cordova.geolocation": "0.3.9", > "org.apache.cordova.globalization": "0.3.0", > "org.apache.cordova.inappbrowser": "0.5.1", > "org.apache.cordova.media": "0.2.12", > "org.apache.cordova.media-capture": "0.3.2", > "org.apache.cordova.network-information": "0.2.11", > "org.apache.cordova.splashscreen": "0.3.2", > "org.apache.cordova.vibration": "0.3.10" > {code} > The 3 failing tests: > {code} > FileTransfer upload method filetransfer.spec.18 should be able to upload a > file. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer upload method filetransfer.spec.19 should be able to upload a > file with http basic auth. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer Backwards compatibility filetransfer.spec.29 should be able to > upload a file using local paths. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} > ' to match /fields:\s*{\s*value1.*/. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7287) [WKWebView] Failing tests
[ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029284#comment-15029284 ] Shazron Abdullah commented on CB-7287: -- Idea: after N tries, it tries to push the command back to cordova.exec instead of calling pokeNative. In this case the command will go to the right cordova.exec at runtime. > [WKWebView] Failing tests > - > > Key: CB-7287 > URL: https://issues.apache.org/jira/browse/CB-7287 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 8 >Reporter: Shazron Abdullah >Assignee: Anis Kadri > Labels: cordova-ios-4.0.x > > This is only for the wkwebview branch, and using these plugins, and 3.5.0 > mobile-spec: > {code} > "org.apache.cordova.battery-status": "0.2.10", > "org.apache.cordova.camera": "0.3.1", > "org.apache.cordova.console": "0.2.10", > "org.apache.cordova.contacts": "0.2.12", > "org.apache.cordova.device": "0.2.11", > "org.apache.cordova.device-motion": "0.2.9", > "org.apache.cordova.device-orientation": "0.3.8", > "org.apache.cordova.dialogs": "0.2.9", > "org.apache.cordova.file": "1.3.0", > "org.apache.cordova.file-transfer": "0.4.5", > "org.apache.cordova.geolocation": "0.3.9", > "org.apache.cordova.globalization": "0.3.0", > "org.apache.cordova.inappbrowser": "0.5.1", > "org.apache.cordova.media": "0.2.12", > "org.apache.cordova.media-capture": "0.3.2", > "org.apache.cordova.network-information": "0.2.11", > "org.apache.cordova.splashscreen": "0.3.2", > "org.apache.cordova.vibration": "0.3.10" > {code} > The 3 failing tests: > {code} > FileTransfer upload method filetransfer.spec.18 should be able to upload a > file. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer upload method filetransfer.spec.19 should be able to upload a > file with http basic auth. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} > ' to match /fields:\s*{\s*value1.*/. > FileTransfer Backwards compatibility filetransfer.spec.29 should be able to > upload a file using local paths. > Expected > '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} > ' to match /fields:\s*{\s*value1.*/. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org