Closed Bug 1564798 Opened 6 years ago Closed 6 years ago

Embedded iframes in Private Browsing windows leak history into non-private windows

Categories

(Firefox :: Private Browsing, defect)

69 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1561028
Tracking Status
firefox69 --- unaffected
firefox70 --- unaffected

People

(Reporter: emmybaylove, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

261 bytes, text/html
Details
Attached file bug.html

STR:

  1. Open a Private Browsing window
  2. Visit a website with an embedded iframe (I've noticed the issue with Disqus comment sections and embedded YouTube videos)
  3. Exit Private Browsing

The URL specified in the src attribute will be added to non-private history, and can be viewed after all PB windows have been closed. This implies that other data (cookies, storage, etc.) may be leaking as well, but I don't know for sure.

I can't reproduce this in Nightly on a fresh profile, and I would be quite surprised if this was true.

Did you try this in a fresh profile? Do you have any extensions installed that could be causing this?

Flags: needinfo?(emmybaylove)

For future reference, this is where we prevent adding history entries for private browsing visits: https://searchfox.org/mozilla-central/rev/40ef22080910c2e2c27d9e2120642376b1d8b8b2/docshell/base/nsDocShell.cpp#12080

Blocks: fission
Flags: needinfo?(emmybaylove)

It looks like this bug only happens when Fission is enabled. After disabling it and trying bug.html again, the problem doesn't occur.

(In reply to Emmy from comment #3)

It looks like this bug only happens when Fission is enabled. After disabling it and trying bug.html again, the problem doesn't occur.

Yes, that makes perfect sense. The reason is probably this code not working with Fission enabled: https://searchfox.org/mozilla-central/rev/40ef22080910c2e2c27d9e2120642376b1d8b8b2/docshell/base/nsDocShell.cpp#2704

Fission Milestone: --- → ?
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE

Duplicate bug 1561028 is scheduled for Fission M5.

Fission Milestone: ? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: