Closed Bug 53503 Opened 24 years ago Closed 23 years ago

Page Info is undefined for xml docs

Categories

(SeaMonkey :: Page Info, defect, P2)

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.9

People

(Reporter: bugzilla, Assigned: db48x)

References

()

Details

(Keywords: helpwanted, Whiteboard: suntrak-n6)

when i view the Page Info for an xml doc (such as the one at the url above), the
fields for Title, URL and Last Modified are all "undefined". should have at
least the URL displayed, as well as the Last Modified information.

even when viewing Page Info for a plaintext file, you can at least get info on
the URL and lastmod date (the Title field doesn't say undefined, but it is
simply empty).
adding dependency on the tracking bug for Page Info.
Blocks: 52730
Keywords: helpwanted
I don't think this is an XPApps problem.  window.opener.frames[0].document.URL, 
window.opener.frames[0].document.title, and window.opener.frames
[0].document.lastModified are all undefined.   jst, do you know anything about 
this (or who should get it)?
Assignee: ben → jst
gagan, can you provide any insight here?
The document properties 'URL', 'title' and 'lastModified' are all HTML DOM
properties, there are not equivalent properties on Core DOM documents (and XML
documents are Core DOM documents).

The document URL could be displayed in the dialog if the JS in the dialog used
window.opener.frames[0].location in stead of
window.opener.frames[0].document.URL. I don't think there's a way to get the
other two properties for XML documents.

Reassigning to XPApps/ben.
Assignee: jst → ben
Adding sun tracking string
Whiteboard: suntrak-n6
CC'ing Daniel Brooks and myself. Do we plan on supporting XML in the new page
info? If we do, please assign the bug to yourself or to me, thanks Daniel.
yup. nothing is especially broken in the stuff I've gotten. Basically, I just
used jst's suggestions. The mime type is also shown, so on a properly configured
server, it'll show as text/xml or similar. Pretty nifty, I must say.

It should also be noted that either the debpendacies are backwards on these
bugs, or the way we're going about fixing them is evil. :)
-> Daniel
Assignee: ben → db48x
accepting. now if I could just get a full review in bug 52730... 
Status: NEW → ASSIGNED
got it, just need review
Severity: normal → minor
Target Milestone: --- → mozilla0.9.1
No longer blocks: 52730
can this move to 0.9.2?
I suppose
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Blocks: 52730
No longer blocks: 82059
ah, the joy of a shortened release cycle.
Status: ASSIGNED → NEW
Priority: P3 → P2
Target Milestone: mozilla0.9.2 → mozilla0.9.3
hrm. more spam, I'm apologise
Status: NEW → ASSIGNED
52730 is targetted to 0.9.3 and this will be fixed by it.  Is it really
necessary that this remain targetted to .9.3 as well (especially given the
seeming likelihood that 52730 isn't getting checked in before tonight's freeze)?
Target Milestone: mozilla0.9.3 → mozilla0.9.4
this one seems to be sliding.. lets try to give it a realistic milestone. 
thanks - chofmann
Target Milestone: mozilla0.9.4 → ---
I'll be back from vacation soon.
Target Milestone: --- → mozilla0.9.8
0.9.9 it is
Target Milestone: mozilla0.9.8 → mozilla0.9.9
yay! finnally checked in. Thank you bz :)
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
mass moving resolved fixed bugs pertaining to page info, view source, find in
page and open web location to pmac@netscape.com.

to find all bugspam pertaining to this, set your search string to
"SunsComingUpLikeABigBaldHead".
QA Contact: sairuh → pmac
Component: XP Apps: GUI Features → Page Info
Verified on all platforms (2002-02-04-11-trunk)
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.