Closed Bug 565508 Opened 14 years ago Closed 14 years ago

Remove the ugly hacks for copying the right thing from about:privatebrowsing once bug 39098 is fixed.

Categories

(Firefox :: Private Browsing, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3.7a5

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 471935 added some hacks to make sure that the correct thing is copied from about:privatebrowsing.  When bug 39098 lands, that hack won't be necessary.  Filing this for now to make sure that I won't forget to do that.
Depends on: 567362
No longer depends on: 567362
Attached patch Patch (v1) (obsolete) — Splinter Review
This is a nearly straight backout of http://hg.mozilla.org/mozilla-central/rev/029630824401, merged to tip.
Attachment #447452 - Flags: review?(gavin.sharp)
Comment on attachment 447452 [details] [diff] [review]
Patch (v1)

>+      body.normal .showPrivate {
>+        display: none;
>+      }
>+      body.normal .showNormal {
>+        display: block;
>+      }
>+      body.private .showPrivate {
>+        display: block;
>+      }
>+      body.private .showNormal {
>+        display: none;
>+      }

What's the display:block stuff supposed to do? How about the following?

      body.normal .showPrivate,
      body.private .showNormal {
        display: none;
      }
Attached patch Patch (v1.1)Splinter Review
Good point!
Attachment #447452 - Attachment is obsolete: true
Attachment #447661 - Flags: review?(dao)
Attachment #447452 - Flags: review?(gavin.sharp)
Attachment #447661 - Flags: review?(dao) → review+
http://hg.mozilla.org/mozilla-central/rev/b84dd5c2cb18
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: