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

Patrick Mueller commented on CB-604:
------------------------------------

Did a quick check to see where in weinre we're using arguments, .callee and 
.caller.

Do a
 
{noformat}
    cd [path-to-weinre-source]/weinre.web
{noformat}


Then run

{noformat}
    grep -r "\(arguments\)\|\(\.callee\)\|\(\.caller\)" . | grep \.coffee
{noformat}

Here is a list of the affected files:

* modules/weinre/client/Client.coffee
* modules/weinre/client/DOMTemplates.coffee
* modules/weinre/client/InspectorBackendImpl.coffee
* modules/weinre/client/InspectorFrontendHostImpl.coffee
* modules/weinre/common/Binding.coffee
* modules/weinre/common/Callback.coffee
* modules/weinre/common/EventListeners.coffee
* modules/weinre/common/Ex.coffee
* modules/weinre/common/HookLib.coffee
* modules/weinre/common/IDLTools.coffee
* modules/weinre/common/MessageDispatcher.coffee
* modules/weinre/common/StackTrace.coffee
* modules/weinre/common/WebSocketXhr.coffee
* modules/weinre/common/Weinre.coffee
* modules/weinre/target/Console.coffee
* modules/weinre/target/SqlStepper.coffee
* modules/weinre/target/Target.coffee
* modules/weinre/target/Timeline.coffee
* modules/weinre/target/WiCSSImpl.coffee
* modules/weinre/target/WiDOMImpl.coffee
* modules/weinre/target/WiDOMStorageImpl.coffee
* modules/weinre/target/WiInspectorImpl.coffee

Note, this is just the weinre source, and likely only the common and target 
files are implicated.  But there is also some injected code from Web Inspector 
itself, and it showed up in a different scan I did.

Bummer.

                
> 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