[
https://issues.apache.org/jira/browse/CB-9670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934982#comment-14934982
]
Manuel Martiarena commented on CB-9670:
---------------------------------------
About the contacts test fails
I have pinpointed spec.20, 21 and 24 failure until
cordova-plugin-contacts/www/Contact.js file
In function Contact.prototype.save = function(successCB, errorCB)
If the following line is changed from
var dupContact = convertOut(utils.clone(this));
to
var dupContact = convertOut(this);
There are no errors
For some reason utils.clone() is not behaving as expected in WKWebView
> mobilespec test failures on iOS 9 + WKWebView
> ---------------------------------------------
>
> Key: CB-9670
> URL: https://issues.apache.org/jira/browse/CB-9670
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS, mobile-spec, Plugin Contacts
> Affects Versions: Master
> Environment: iOS 9
> Reporter: Edna Morales
> Assignee: Manuel Martiarena
> Labels: cordova-ios-4.0.x
>
> The following tests are failing on master iOS 9 with
> cordova-plugin-wkwebview-engine installed:
> -XMLHttpRequest.spec.4 should be able to load the parent page ../index.html
> -Expected spy onError not to have been called
> -Session Storage HTML 5 Storage HTML 5 Storage storage.spec.18 Should be able
> to create and drop tables
> -Contacts find method with newly-created contact contacts.spec.6 should be
> able to find a contact by name
> -DataCloneError: DataCloneError: DOM Exception 25
> -Contacts save method contacts.spec.20 should be able to save a contact
> -DataCloneError: DataCloneError: DOM Exception 25
> -Contacts save method contacts.spec.21 update a contact
> -DataCloneError: DataCloneError: DOM Exception 25
> -Contacts Round trip Contact tests (creating + save + delete + find).
> contacts.spec.24 Creating, saving, finding a contact should work, removing it
> should work, after which we should not be able to find it, and we should not
> be able to delete it again.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]