Closed Bug 305269 Opened 19 years ago Closed 19 years ago

When Firefox is not already running, it accepts chrome:// URLs without -chrome

Categories

(Firefox :: Security, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: jruderman)

Details

(Keywords: fixed1.8, Whiteboard: [sg:fix])

Attachments

(1 file, 1 obsolete file)

Bug 298255 was supposed to stop external applications from inadvertently feeding
chrome:// URLs (among others) to Firefox.  This seems to be fixed for the case
when Firefox is already running but not for the case where it is not already
running.

Steps to reproduce: Start+R,
"C:\moz\firefox 0818 branch\firefox.exe" "chrome://browser/content/browser.xul"
* Does nothing if Firefox is already loaded.
* If Firefox is not already loaded, incorrectly loads browser.xul into the
content area.
http://lxr.mozilla.org/mozilla/source/browser/base/content/browser.js#580 should
be makeURI, not makeURL, on trunk/1.5 branch.
Assignee: nobody → jruderman
Whiteboard: [sg:fix]
mconnor's fix works, but it breaks shift+clicking bookmarks with chrome:// URLs.
 I'll file a new bug for that after fixing this one.
Fixed trunk and Gecko 1.8 branch.
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Filed bug 305372 for the bookmark issue.
Attached patch patch (already checked in) (obsolete) — Splinter Review
Oops, previous attachment was a backwards diff.
Attachment #193391 - Attachment is obsolete: true
Group: security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: