Bug #12 - jscoverage does not handle popups

Questions, problems, suggestions, bug reports, and so on.
Post Reply
Indra

Bug #12 - jscoverage does not handle popups

Post by Indra » 2009-10-08 7:24 am

Hi,

when will be the Release of next version? can the following lines of code will get in the next release? or is there a way I can add the following lines of code only once, so that it will include in all instrumented js files. Because we are having approx 550+ js files in our application. and it is very hard to include the 3 lines in all 550+ js files manually. Please suggest me.


if (! (top.opener==null ? top : top.opener)._$jscoverage) {
(top.opener==null ? top : top.opener)._$jscoverage = {};
}
var _$jscoverage = (top.opener==null ? top : top.opener)._$jscoverage;"

Ed
Posts: 120
Joined: 2008-10-11 6:52 pm

Re: Bug #12 - jscoverage does not handle popups

Post by Ed » 2009-10-08 6:21 pm

This code, or something similar, will be included in the next release.

If you want to patch the current version, look in the file "instrument-js.cpp" (in the function "jscoverage_instrument_js").

Post Reply