Closed Bug 61155 Opened 25 years ago Closed 24 years ago

Proactively disallow editing certain types of files or sites in Composer

Categories

(Core :: DOM: Editor, enhancement, P4)

enhancement

Tracking

()

VERIFIED DUPLICATE of bug 28974
Future

People

(Reporter: bugzilla, Assigned: rubydoo123)

Details

(Keywords: helpwanted)

You can currently choose Edit Page at a frameset from navigator's File menu. This will just open Composer, tell you you can't edit that kind of page, and close it. Similarly, if you right click on, for example, links to .exe or .zip files and choose Edit Link in Composer, Composer opens, scolds you, and closes. Why don't we have a little proactive error prevention in the creation of the File menu and in nsContextMenu.js which would disable (or remove, in the case of the context menu) these items in these cases? Removing the "New Composer Window" option in the dropdown in the Open Web Location dialog for case 2 (invalid file types) would also be good.
setting to future, adding helpwanted
Severity: normal → enhancement
Keywords: helpwanted
Priority: P3 → P4
Target Milestone: --- → Future
Isn't .exe is a valid extension for a cgi program, though?
*** This bug has been marked as a duplicate of 28974 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified dupe of bug 28974: "[RFE] "Edit Page" should disable if page is a frameset or xml document"
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.