For a while I've been noticing seemingly random errors popping up on some of my websites. It hadn't happened on my blog here, but other sites caused this error to appear in Firebug:
Permission denied to call method Location.toString
No file name, no line number, no indication where the error occurs or why. Upon further investigation I discovered that it only happened when there was Google Adsense or other remote flash media involved.
As it turns out, the error is caused by a change in Flash's security policies between versions 9.0.115.0 and 9.0.124.0 — this is both good and bad news. I'm glad to learn that it's not an error anywhere in my code, but it's unfortunate that there's nothing I can do to get rid of the error, short of removing Adsense from those pages.
I'm a Front-End Engineer at Yahoo! working on the Mail and Messenger teams. I blog about web design and development topics including accessibility, usability, performance, and developing HTML / CSS / JavaScript applications on Appcelerator Titanium and Adobe AIR.
If you're a web developer, you might enjoy Jelo, my JavaScript library.
All original work on this site is covered by a Creative Commons Attribution 3.0 license unless otherwise specified.
You may share or use any code or images from this site in any manner, for free, so long as reasonable effort has been made to give credit where due.
The views expressed in the posts and comments on this blog do not necessarily reflect the views of Yahoo!