Since installing FireFox 3, including earlier betas,  I've been getting errors that show up on a host of different sites - including on my own. It appears that most errors are related to  the advertising that runs here and more specifically Flash ads.  While the errors are harmless enough and don't actually cause any noticeable problems on pages or even the Flash ads, they do show as annoying errors in Firebug.

The errors displayed look something like this and they always seem to point at some baffling unrelated JavaScript content in the HTML document:

PermissionDeniedLocationString

The above screen shot is from Yahoo's news page to a linked item and is clearly related to Flash components as evidenced by the script filename.  What's interesting is that these errors started showing up only with FireFox 3.0. Running IE or FireFox 2.x never ran into these issues, so it appears that this is related to some new security feature in FF3.

The problem is fairly prevalent and it seems that most of it is related to content loaded into separate frames - as many ad services do. Google Adsense seems a frequent problem as well as other services that use Flash or even HTML based content typically loaded into iFrames dynamically.

I've been searching around for some time trying to determine what causes this error and maybe more interestingly what security setting controls this particular error. I hate seeing errors - any errors in Firebug pop up. While there are a number of hits on this particular error none seem to point at a the same situation I'm seeing here namely with Flash components.

[updated - comments where down this morning and a few emailed comments where sent]

As Dave Ward pointed out in a message earlier today while my comments where down, the issue seems to be related to changes in the Flash player and cross domain policy. He sent this link that explains more and indeed adding a crossdomain.xml file solves the issue:

http://willperone.net/Code/as3error.php

Still this is not very satisfying. While that solves the problem for me on my site (in testing only), it doesn't address the errors on other sites that haven't updated their cross-domain files.