Make sure window.location and window.navigator have higher lookup precedence than a DOM element with that ID.
Created attachment 28492 [details] Modified test + new results
Comment on attachment 28492 [details] Modified test + new results r=me Please mention in ChangeLog (or in the bug) whether these new tests give the same results in both IE and Firefox.
Thanks, landed in r41636. * IE6 and IE7: match trunk WebKit * FF (Mac 3.0.7): Different results (mostly "undefined") for nearly all of the items already tested by this test. It raises a SecurityError exception at the "Conflicting iframe" case and does not get to the new ones. When those are moved to the top of the test, it gives Input by id (unique): undefined Conflicting input id (navigator): single OTHER Conflicting input id (location): and raises a SecurityError exception on that third case.