[ 
https://issues.apache.org/jira/browse/CB-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480297#comment-13480297
 ] 

Jay Proulx commented on CB-604:
-------------------------------

Unhandled exceptions are just bad to begin with.  We probably need 2 
approaches, one, throw a try/catch around that sucker.  If I don't get a stack 
trace because the browser won't let me, it's not the end of the world.


On the post-compile code:

1049,1053c1049
<       try {
<               func = func.caller;
<       } catch ( ignore ) {
<               // if this throws an error, we're in strict mode, and this 
isn't allowed, too bad for you
<       }
---
> func = func.caller;
                
> doesn't work in strict mode
> ---------------------------
>
>                 Key: CB-604
>                 URL: https://issues.apache.org/jira/browse/CB-604
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: weinre
>         Environment: ubuntu/windows
>            Reporter: hongbo lu
>            Assignee: Patrick Mueller
>
> weinre doesn't work in strict mode ,because it trys to access "func.caller" 
> which isn't allowed in strict mode

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to