Closed Bug 41443 Opened 24 years ago Closed 23 years ago

"frame info" and "page info" in the context menu needs to be implemented

Categories

(SeaMonkey :: Page Info, defect, P5)

defect

Tracking

(Not tracked)

VERIFIED FIXED
Future

People

(Reporter: Marko.Macek, Assigned: mcafee)

References

Details

(Keywords: helpwanted, polish, Whiteboard: suntrak-n6)

Attachments

(2 files)

"frame info" needs to show page info window (where a full frame hierarchy should
be shown like in 4.x)

This is a most useful 4.x feature.
Sorry for the spam.  New QA Contact for Browser General.  Thanks for your help
Joseph (good luck with the new job) and welcome aboard Doron Rosenberg
QA Contact: jelwell → doronr
--> html frames
Assignee: asa → pollmann
Component: Browser-General → HTMLFrames
QA Contact: doronr → petersen
--> Context menu folks.  Let me know if I can help with this.  Thanks!
Assignee: pollmann → law
over to me --but if anyone wants to take it, feel free :-). also noticed that
"view page info" (for non-frame pages) is missing (w/respect to 4.x).
Component: HTMLFrames → XP Apps: GUI Features
Keywords: 4xp, nsbeta2
QA Contact: petersen → sairuh
Summary: "frame info" in the context menu needs to be implemented → "frame info" and "page info" in the context menu needs to be implemented
Putting on [NEED INFO] radar. Are "frame info" and "page info" on the exception 
features list?
Whiteboard: [NEED INFO]
Not sure if these are on the exception features list, but I don't consider 
access to page info or frame info from a context menu to be a beta 2 stopper.
agreed, not a nsbeta2 stopper.

nsbeta3 nominee
Keywords: nsbeta3
Putting on [nsbeta2-] radar. Not critical to beta2. 
Whiteboard: [NEED INFO] → [nsbeta2-]
Nav triage team: minus, polish, reassigning to Mcafee
Assignee: law → mcafee
Keywords: polish
Whiteboard: [nsbeta2-] → [nsbeta2-][nsbeta3-]
Priority: P3 → P2
lack of Frame Info period blocks 52730 (tracking).
Blocks: 52730
is frame info even implemented?  If not, we need a new bug on that first.
cannot find an existing bug that covers Frame Info implementation --feel free to
create one if i don't get to it in the next coupla minutes (going thru my
bugmail, so it might be a bit...).
Adding sun tracking string
Whiteboard: [nsbeta2-][nsbeta3-] → [nsbeta2-][nsbeta3-] suntrak-n6
It would be smart to extend "Page Info" to contain the "framed" structure of a
page with clickable items to select a specific Frame

eg.
Frames on this Page
--------------------
Header -> /kljsdf/text.html
Footer -> /asdfss/set.php

Selected Frame: Header
-----------------------
Images in this Frame...
Forms in this Frame...

Then we would not need an additional item "Frame Info" and it would also be more
comfortable...
André, that is covered in the spec
<http://critique.net.nz/project/mozilla/general/component/info/> for bug 52730, 
which is the parent bug of this one.
Netscape Nav triage team: this is a Netscape beta stopper.  Assigning priority 
P3.
Keywords: nsbeta1
Priority: P2 → P3
Target Milestone: --- → mozilla0.9
Futured and marked p5 to make room on McAfee's plate for 44733
Priority: P3 → P5
Target Milestone: mozilla0.9 → Future
just wondering: should this then be marked nsbeta1-...?
Keywords: nsbeta2, nsbeta3helpwanted
Whiteboard: [nsbeta2-][nsbeta3-] suntrak-n6 → suntrak-n6
Can we have viewFrameInfo also use BrowserPageInfo(), and pass
that last argument in?  viewInfo would then call BrowserPageInfo(null)
or something like that.

patch looks good, tested it on linux & works, good work!
Attached patch Revised patchSplinter Review
if (window.arguments && window.arguments[0]) seems kinda wonky to me. I think 
arguments will always be defined on window, so checking for it before accessing 
slot 0 doesn't get you anything. What you really want to be checking is to see 
if the length >= 1, i.e. if (window.arguments.length && window.arguments[0])

with that, a=ben@netscape.com
fixed checked in, thanks to matthew for most of the work here.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
No longer blocks: 52730
vrfy fixed using 2001.05.25.10 comm bits on linux, and 2001.05.24.0x comm bits
on mac and winnt.
Status: RESOLVED → VERIFIED
This fix was incorrect.  Calling functions that live in browser files from a 
global context menu is unacceptable.
nsContextMenu.js has other references to navigator-only files.

http://lxr.mozilla.org/seamonkey/source/xpfe/communicator/resources/content/nsContextMenu.js#27

'This JavaScript "class" is used to implement the browser's content-area
context menu.                                                                  
     

For usage, see references to this class in navigator.xul.
Currently, this code is relatively useless for any other purpose.  In the
longer term, this code will be restructured to make it more reusable."'
Component: XP Apps: GUI Features → Page Info
QA Contact: sairuh → pmac
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: