Open Bug 1462131 Opened 6 years ago Updated 2 years ago

In Private Browsing mode, a ctrl+clicked "javascript:" link produces a blank tab with purple background (rather than white)

Categories

(Firefox :: Tabbed Browser, defect, P5)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Depends on 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 files)

STR:
 1. Open a private browsing window and visit a page with a javascript link, like data:text/html,<a href='javascript:'>OHAI

For example, you could run the following on the command line to do this in a fresh profile /tmp/foo (in Linux at least):
  mkdir /tmp/foo
  firefox -no-remote -profile /tmp/foo \
    -private-window "data:text/html,<a href='javascript:'>OHAI"

2. Ctrl-click the link to open a new tab.

EXPECTED RESULTS:
The new tab should have a white background.

ACTUAL RESULTS:
The new tab has a purple background.

Regression range:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=f89ae3c450ce33915e4d2fff0b11b942dec17f1a&tochange=0e14317d2f6c454e86549fe84d6067e1745a76c5

--> regression from bug 1379587
Attached video screencast of bug
Attached file testcase
Note that an explicitly-visited "about:blank" page has a *white* background (including in private browsing mode).

I think this bug's STR should produce those same results -- white background in the new tab. There are no other steps I'm aware of that produce a blank tab with a purple background, so when this happens, it feels quite odd/unexpected.
Flags: needinfo?(dao+bmo)
Priority: -- → P3
There's also bug 1422507 that produces a similar result.
Flags: needinfo?(dao+bmo)
See Also: → 1422507
No longer blocks: 1379587
Depends on: 601118
Priority: P3 → P5
Regressed by: 1379587
Depends on: 672618
No longer depends on: 601118
Has Regression Range: --- → yes
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: