From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-4GB i586; en-US; rv:0.8.1+) Gecko/20010416 BuildID: 20010416 Reproducible: Always Steps to Reproduce: 1. go to www.tagesschau.de 2. scroll down until you see weather-map of germany on right side 3. click on it 4. page opens in same window but is empty, URL-bar shows http://www.tagesschau.de/ instead of www.tagesschau.de/wetter/index.shtml When entering link www.tagesschau.de/wetter/index.shtml directly in URL-bar, page shows. Expected Results: page redirection working properly as in Nav4x and MSIE 5x
There's an interesting onClick handler on this picture. I'm no expert on DOM 0, so I don't know if it's valid: onClick='wetter=open("http://www.tagesschau.de/wetter/index.shtml","wetter","width=584,height=640,screenX=" + (window.screenX+window.outerWidth-780) + ",screenY="+ (window.screenY+50)+ ",status=no,menubar=no,location=no,scrollbars=yes,resizable=yes"); wetter.focus();
Component: Networking: HTTP → DOM Level 0
Forgot to change owner, sorry for the spam.
Assignee: neeti → jst
QA Contact: tever → desale
So... that onclick calls document.open() instead of window.open() (check the return value -- wetter is an HTMLDocument). That clears the current document, and no new window opens, naturally. Adding qawanted keyword -- if we just get a call to open() should we be doing window.open() or document.open() ?
calling open() from an event handler will call the first open() method found in the prototype/parent chain of the element where the event handler is. The first one found is obviously document.open() (since it's the first one found in the parent chain). I can't believe IE doesn't behave the same way, not behaving like mozilla is just broken. Reassigning to evangelism.
Assignee: jst → blakeross
Component: DOM Level 0 → Evangelism
QA Contact: desale → zach
It's wrong, but it works in 4.x too. Try this: <a href="" onclick="open('text/plain','replace')">document</a> <a href="" onclick="open('text/plain','replace','')">window</a>
Sent mail to firstname.lastname@example.org .
Assignee: blakeross → clarence
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Page has been fixed, works now.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.