So i just got this same error today, I for some reason couldn't get my page to redirect to google (just for testing purposes). Copied the code directly from another site and it worked, so i tried google.com again - low and behold it didn't work...
I should also mention that i'm trying to redirect a page in an iframe, not the entire webpage.
So I fired up my trusty Max's HTML Beauty++ 2004 and opened my page in that, sure enough it gave me my error:
This content cannot be displayed in a frame
To help protect the security of information you enter into this
website, the publisher of this content does not allow it to be
displayed in a frame.
The code i Used to get that:
window.location = "http://www.google.com";
It looks like browsers don't display this error, instead they just don't redirect you... Kind of confusing :/