Closed Bug 1649884 Opened 4 years ago Closed 4 years ago

dom.disable_window_open_feature.location is broken now

Categories

(Core :: DOM: Core & HTML, defect)

78 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1507375

People

(Reporter: asoroudi, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36

Steps to reproduce:

  1. Set dom.disable_window_open_feature.* settings in about:config to false
  2. Create a popup window with minimal browser chrome

Actual results:

Popup window should have minimal browser chrome

Expected results:

Specified browser chrome is removed except for the location/address bar

The popup-window settings haven't worked correctly since 75. It would be nice if they were fixed so that I don't have to stay with 75 forever. :-\

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

This appears to be by design. See Bug 1507375

(In reply to Alice0775 White from comment #2)

This appears to be by design. See Bug 1507375

Any action we'd like to take here?

Flags: needinfo?(arai.unmht)

dom.disable_window_open_feature.* was there because web page have been able to control each UI part visibility when opening a new page (tab, window, or popup),
and the pref is to allow/deny each feature.

Allowing webpage to do so caused confusion (bug 1506655, bug 1533749), and
this happens only on Firefox, among modern browsers.

bug 1507375 changed the behavior, and now it almost matches to chrome, safari, and previous Edge
("almost" because those 3 behave slightly differently), that web page aren't able to control each UI part visibility,
but can request either a normal window (or tab, depending on configuration), or a popup,
depending on the features parameter.
And when opening a popup, location bar is always shown, for security reason (like, to avoid phishing).

Now that each feature parameter is just a condition whether to open popup or not,
dom.disable_window_open_feature.* has no more effect.

(In reply to Hsin-Yi Tsai [:hsinyi] from comment #4)

(In reply to Alice0775 White from comment #2)

This appears to be by design. See Bug 1507375

Any action we'd like to take here?

no

Flags: needinfo?(arai.unmht)

Thank you :arai for the explanation.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: