Open Bug 97177 Opened 24 years ago Updated 17 years ago

Embedding navigator.xul in an IFrame breaks setOverLink()

Categories

(SeaMonkey :: UI Design, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

Future

People

(Reporter: colinp, Unassigned)

Details

If you embed the file navigator.xul into an iframe within a XUL <window>, the function setOverLink() is never called. "setOverLink()" is a function of nsBrowserStatusHandler in navigator/content/nsBrowserStatusHandler.js. If the navigator.xul file is in it's own window, everything works fine, but if you setup a file with the following, the function setOverLink is never called: <window> <iframe src="chrome://navigator/content/navigator.xul"/> </window> This functionality is needed by OEone.
Keywords: oeone
reassigning to hyatt since he can probably figure out what the problem is faster than anyone else
Assignee: pchen → hyatt
Add type="content" to your iframe. <iframe type="content" ... />
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Unfortunately that does not do the trick. I get the following error when trying to set type="content" Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://navigator/content/navigator.js :: Startup :: line 377" data: no] where line 377 is: // wire up session history before any possible progress notifications for back/forward button updating webNavigation.sessionHistory = Components.classes["@mozilla.org/browser/shistory;1"].createInstance(Components.interfaces.nsISHistory);
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Our XUL isn't designed to work in iframes. Suggest you edit the XUL to work around your problem.
Target Milestone: --- → Future
Nominating for mozilla1.0. Asking ColinP to comment on the relative importance of this one for Penzilla, in the grand scheme of things.
Keywords: mozilla1.0
We have a work arund within Penzilla which accomplishes this same thing for us. I don't know if this is really a bug given what Hyatt said about iframes.
Product: Core → Mozilla Application Suite
- No comments in more than 6 years. - I don't understand what this bug is about. Is it about something that still happens and is felt like in need of a fix? - Is this bug a SeaMonkey bug or should it move to somewhere else (Core? Toolkit? Other apps? ...)
As the originator of the bug, we're no longer in need of it (the company doesn't use this technology any more). So it's really up to you to decide whether or not this is something of value to fix.
(In reply to comment #8) > As the originator of the bug, we're no longer in need of it (the company > doesn't use this technology any more). So it's really up to you to decide > whether or not this is something of value to fix. > So the reporter isn't anymore interested in fixing the bug. Anyone else? Unless someone speaks up within a week or so, I move this bug be resolved WONTFIX.
Resetting A+QA on bug where apparently no advance towards solving it happened since 2001 or maybe earlier. David, if you still want it, go ahead. Otherwise, my comment #9 stands except I don't have the power to set a WONTFIX.
Assignee: hyatt → jag
Status: REOPENED → NEW
QA Contact: bugzilla
Assignee: jag → nobody
QA Contact: ui-design
You need to log in before you can comment on or make changes to this bug.