Subj : Re: [Q] Correct impl. of location.href with relative pathnames.. To : netscape.public.mozilla.dom,netscape.public.mozilla.jseng From : Martin Honnen Date : Sat Jul 24 2004 02:15 pm t o b e wrote: > When setting the location.href property of a frame from Javascript running > within a document in another frame what should any relative URI's be > resolved against ? The href of the frame that's being set or the href of the > frame that's doing the setting ? > I instinctively thought the former but whilst running our embedded browser > through the W3 DOM-Test-Suite I've come across some code (setTestPage in > testContainerController.html) that seems to suggest the latter case is > actually the correct way to do it. As far as I know the W3C DOM doesn't deal at all with the location object and its properties so I am surprised that there are tests for that object in the DOM test suite. I can't get through to www.w3.org at the moment so I can't check that. -- Martin Honnen http://JavaScript.FAQTs.com/ .