[
https://issues.apache.org/jira/browse/CB-10230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse MacFadyen resolved CB-10230.
----------------------------------
Resolution: Invalid
You should never do this, not sure why anyone ever would ...
You are basically introducing an error and claiming it is an issue.
> [WP8] Out of memory exception thrown when console.log added to cordova/exec
> function
> ------------------------------------------------------------------------------------
>
> Key: CB-10230
> URL: https://issues.apache.org/jira/browse/CB-10230
> Project: Apache Cordova
> Issue Type: Bug
> Components: WP8 (deprecated)
> Affects Versions: 3.8.2
> Reporter: Malumbo Chipeta
> Assignee: Jesse MacFadyen
> Priority: Minor
>
> 1. Create a new WP8 Cordova project in Visual Studio (I used the 2015 version)
> 2. Press F5 to start debugging the project
> 3. Notice that the project runs without any issues
> 4. Stop debugging
> 5. Open cordova.js
> 6. Search for 'window.external.Notify'
> 7. Insert 'console.log("Command: " + command);' before Notify is called
> 8. Press F5
> 9. Notice that an out of memory exception is thrown (console.log calls
> cordova/exec which in turns calls console.log again, so an infinite loop is
> entered, and the loop is only broken when the out of memory exception is
> thrown)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]