JSCoverage
code coverage for JavaScript

Bug #10 - "jscoverage-server --proxy" not instrumenting javascript on the fly

Submitted by: Anonymous
Date submitted: 2009-06-05 11:08:55 UTC
Status: Open
I have performed the necessary steps to use jscoverage-server in proxy mode.
i.e, 
1> Set firefox proxy settings to 127.0.0.1, 8080
2> Set security.fileuri.strict_origin_policy to false
3> Run jscoverage-server --proxy.

When I access a site say, http://www.bloke.com/jscoverage.html
am shown the jscoverage html page. But when I click on Summary tab after 
accessing a page from the site, am not shown any code coverage data.

Submitted by: Ed
Date submitted: 2009-06-05 14:38:05 UTC
JSCoverage currently cannot instrument JavaScript code embedded in HTML.  Only
external .js files are instrumented.

For example,

  http://www.bloke.com/javascript/Random/

On this page the script is embedded in the HTML page and JSCoverage will not
instrument it.

Could that be causing the problem?

Add a comment

Your name:
Your email address (optional - will never be displayed):
Comment:
Attachment (optional - maximum 64 KiB):
Copyright © 2008 Silicon Forks siliconforks.com
siliconforks@siliconforks.com