Closed Bug 397695 Opened 17 years ago Closed 17 years ago

Remove checkForChromelessWindow() code

Categories

(Firefox :: Address Bar, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3 beta1

People

(Reporter: johnath, Assigned: johnath)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 337344 was originally going to be resolved by using a notification bar on chromeless windows to warn users, and give them a way to restore chrome.  A version of this was checked in, but it caused mochitest failures, so the preference controlling it was toggled off by default.  The bug was eventually resolved differently, by preventing location bar hiding, but the original (default disabled) code remains in trunk.  While it's sort of nice to have, off by default and non-discoverable means it should probably just be backed out, especially since it's in the Txul critical path.
MXR confirms no one else uses checkForChromelessWindow() or showToolbars(), or references the pref.
Assignee: nobody → johnath
Status: NEW → ASSIGNED
Attachment #282463 - Flags: review?(gavin.sharp)
It's actually in delayedStartup, so it might not be a perf hit either way.  If we don't intend to use it though, I guess we might as well still back it out.
Attachment #282463 - Flags: review?(gavin.sharp) → review+
Attachment #282463 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Target Milestone: --- → Firefox 3 M9
Attachment #282463 - Attachment is obsolete: true
Checking in browser/base/content/browser.js;
/cvsroot/mozilla/browser/base/content/browser.js,v  <--  browser.js
new revision: 1.872; previous revision: 1.871
done
Checking in browser/locales/en-US/chrome/browser/browser.properties;
/cvsroot/mozilla/browser/locales/en-US/chrome/browser/browser.properties,v  <--  browser.properties
new revision: 1.50; previous revision: 1.49
done
Checking in browser/app/profile/firefox.js;
/cvsroot/mozilla/browser/app/profile/firefox.js,v  <--  firefox.js
new revision: 1.210; previous revision: 1.209
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Verified via Bonsai.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: