--- trunk/doc/faq.html 2007/11/22 01:04:43 65 +++ trunk/doc/faq.html 2008/06/19 06:17:24 139 @@ -1,7 +1,7 @@ -JSCoverage - help +JSCoverage - FAQ @@ -24,7 +24,7 @@

The fundamental reason for this limitation is the - Same-Origin Policy + Same Origin Policy for untrusted JavaScript.

@@ -34,6 +34,17 @@ same directory as the jscoverage.html file.)

+

Why doesn't my test suite run under JSCoverage in Firefox 3?

+ +

+ 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. +

+

I'm trying to load my code with the URL file:///C:/foo/bar/jscoverage.html?foo/bar.html and I'm getting all kinds of JavaScript errors.

@@ -46,15 +57,15 @@ As a workaround:

JSCoverage changes my cursor to a busy cursor, and it never changes back!

@@ -117,7 +128,7 @@
  • News RSS feed
  • Documentation
  • Demo -
  • Download +
  • Download
  • FAQ
  • Help
  • License @@ -127,8 +138,8 @@
    - Copyright © 2007 siliconforks.com
    - Last updated August 26, 2007
    + Copyright © 2007, 2008 Silicon Forks siliconforks.com
    + Last updated June 18, 2008
    jscoverage@siliconforks.com