Closed Bug 517706 Opened 15 years ago Closed 15 years ago

use gBrowser instead of getBrowser() in private browsing code

Categories

(Firefox :: Private Browsing, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Firefox 3.7a1

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(1 file)

getBrowser() is deprecated and exists only for extension compatibility.
Attached patch patchSplinter Review
Attachment #401648 - Flags: review?(ehsan.akhgari)
Comment on attachment 401648 [details] [diff] [review]
patch

r=me.
Attachment #401648 - Flags: review?(ehsan.akhgari) → review+
http://hg.mozilla.org/mozilla-central/rev/d93f6e968a19
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
I reverted the test changes, as I realized that getBrowser() was called on a view-source window rather than a browser window:

http://hg.mozilla.org/mozilla-central/rev/14b3ba7b71ae
Blocks: 448936
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: