--- trunk/doc/faq.html 2007/11/22 03:13:13 73 +++ trunk/doc/faq.html 2008/06/19 06:17:24 139 @@ -1,7 +1,7 @@
-jscoverage.html
file.)
+ + Beta versions of Firefox 3 introduced new + security restrictions on local files. Depending on the way your + test suite is organized, this may cause problems for JSCoverage. + (You may get the error "uncaught exception: Permission denied to get property Window._$jscoverage".) + These restrictions are not present in the final release of Firefox 3. +
+file:///C:/foo/bar/jscoverage.html?foo/bar.html
and I'm getting all kinds of JavaScript errors.http:
URLs work fine.)
- bar.html
+ Place your files on a web server instead of loading them from the file system.
+ (http:
URLs work fine.)
Do not use a query string; enter your URL in the "URL" field in the "Browser" tab.
+Rearrange your directory structure so that bar.html
ends up in the same directory as jscoverage.html
; then
you can use the URL
file:///C:/foo/bar/jscoverage.html?bar.html
- with no slash in the query string.
-
Use a different browser. (IE 7 seems to work.)