[ 
https://issues.apache.org/jira/browse/CB-10133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-10133:
----------------------------------
    Description: 
This is because actionArgs might contain objects that have javascript functions 
in it.
This is caused by Contacts.save for example, which deep clones an object using 
cordova/utils which copies the functions. 

  was:
If `actionArgs` contains a dictionary (nested or otherwise) with keys that have 
null values, the serialization fails.

See:
https://github.com/apache/cordova-plugin-wkwebview-engine/blob/06b90981382457bb99e5edab62c14de683cf05e9/src/www/ios/ios-wkwebview-exec.js#L125

We need to remove any keys that have null values.


> DataClone DOM Exception 25 thrown for postMessage
> -------------------------------------------------
>
>                 Key: CB-10133
>                 URL: https://issues.apache.org/jira/browse/CB-10133
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin WKWebViewEngine
>            Reporter: Shazron Abdullah
>              Labels: cordova-ios-4.0.x
>
> This is because actionArgs might contain objects that have javascript 
> functions in it.
> This is caused by Contacts.save for example, which deep clones an object 
> using cordova/utils which copies the functions. 



--
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

Reply via email to