Sani Elfishawy created CB-1819:
----------------------------------
Summary: Weinre target loading error when loading target js in
browser
Key: CB-1819
URL: https://issues.apache.org/jira/browse/CB-1819
Project: Apache Cordova
Issue Type: Bug
Components: weinre
Affects Versions: 2.0.0
Environment: Firefox 16.0.2
Reporter: Sani Elfishawy
Assignee: Patrick Mueller
Error when loading target created by the following build in Firefox:
weinre: 2.0.0-pre-H8EOSCLN-incubating build: H8EOSCLN - Note this version was
the one loaded by Node NPM.
Loading target-script-min.js#anonymous" in the browser gives this error:
Error: TypeError: func is undefined
On this line: hookedFunction.displayName = func.displayName || func.name;
In the module: HookLib
This error occurs when clicking the bookmarklet on a website as well. It doesnt
occur when the target is packaged in a cordova app and run on a phone.
--
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