In FF 3.5.6, I see the following exception:
uncaught exception: [Exception... "The URI is malformed" nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)" location: "JS frame :: http://x :: refreshPage :: line 193" data: no]
This error occurs when calling document.location.replace ("/ relative / url") in the parent iframe.
It also plays in FF2, but IE8 does not detect a problem.
EDIT: The following code in the same context has no problem:
document.location.reload();
source share