Closed Bug 233683 Opened 22 years ago Closed 22 years ago

document.location('mypage') tries to redirect to chrome://navigator/content/mypage

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 233733

People

(Reporter: prelude_2_murder, Assigned: bugzilla)

Details

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 document.location('mypage') tries to redirect to chrome://navigator/content/mypage and gives an error message access denied in the JS console. Phoenix 0.5 and Mozilla 1.5 seem to work alright. window.document.location does the same Reproducible: Always Steps to Reproduce: 1. Create a page on a server and put a <input type="button" onClick="document.location='mypage'"> 2. Open the page 3. Press the button Actual Results: Nothing seemed to appear but some error messages appear in the js console Expected Results: Redirected the page to mypage. Classic theme. Tabbed browser and download bar extensions.
not js engine. DOM, but not sure which component exactly...
Assignee: general → general
Component: JavaScript Engine → DOM
QA Contact: pschwartau → ian
Could you please attach a testcase to this bug using http://bugzilla.mozilla.org/attachment.cgi?bugid=233683&action=enter ? Chances are, this is a TBE bug; their code does a lot of wacky stuff that could cause this sort of problem.
Depends on: 233733
Assignee: general → firefox
Component: DOM → General
Product: Browser → Firefox
Version: Trunk → unspecified
This is a TBE bug. *** This bug has been marked as a duplicate of 233733 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
No longer depends on: 233733
Resolution: --- → DUPLICATE
This bug gets mentioned in the CVS log for the Solaris patch checker, which seems totally unrelated to this bug. http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/xpfe/bootstrap/init.d/moz_patch_checker.dtksh&rev=1.3 mkaply%us.ibm.com 2004-03-24 08:34 #233683 r=leaf, a=mkaply Patch from gisburn - bring Solaris patchchecker current I'm also going to add a comment to bug 230598.
It looks like some digits were flipped. I'm pretty sure bug 233863 was meant in the CVS log, not this bug.
You need to log in before you can comment on or make changes to this bug.