Hello :)
> Could you maybe write a few lines that explain what this does and how
developers are expected to use it?
The change standardize the following 2 things:
- the condition to open minimal popup
- whether to open popup or not isn't normative. browsers can:
- provide options to override the behavior
- simply ignore, for example, in case it lacks the concept of
window, like mobile browsers
- BarProp.visible value
- this is normative change, for improving privacy
- It stops reflecting actual UI visibility or features parameter of
window.open
- if the window/tab is opened by requesting a popup by window.open,
all BarProp.visible returns false. otherwise true
the developer impact would be:
- popup condition
- in general
- the old UI-related features (locationbar, toolbar, menubar,
resizable, scrollbars, status) are now mildly deprecated
- if they want positioned/sized a popup, just specifying left/top
and/or width/height works
- if they don't want a popup, they shouldn't specify any features
except noopener or noreferer
- on Chromium
- the basic condition isn't changed. no impact
- on Firefox
- width feature is removed from the condition for opening popup
window, but having non-empty feature requests popup, so not much
impact
unless the feature has location,menubar,scrollbars,status that
requests non-popup
- on Safari
- Safari uses different behavior, it uses minimal popup, normal
window, and normal tab, and the condition is different, so there can
be
some impact that different thing (window/popup/tab) is opened
- new "popup" feature
- in general
- if website hits a compatibility issue about whether to open
popup or not, they can use the newly added "popup" feature for the
quick fix
- popup=1 if they want a popup
- popup=0 if they don't want a popup
- for basic usage, this feature isn't much necessary, given:
- to request popup, having non-empty features (except noopener
or noreferer) works, and in most case the popup will have width
(if the website wants to request popup without specifying
position/size,
they can use "popup" feature)
- to request non-popup, just having empty features (except noopener
or noreferer) works
- BarProp.visible:
- in general
- there was already inconsistency between browsers, so I'd expect
not much meaningful usage for it, except for finger printing
- there's no alternative for getting actual UI visibility
- on Chromium
- this was returning each features in window.open call
- on Firefox and Safari
- this is/was mostly returning the actual visibility
> Have they implemented? Have they shipped?
Firefox implemented and shipped the change in version 96, that will be
released on 2022-01-11:
https://bugzilla.mozilla.org/show_bug.cgi?id=1701001
The option to override the behavior is in WIP:
https://bugzilla.mozilla.org/show_bug.cgi?id=1714939
--
You received this message because you are subscribed to the Google Groups
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/eee5fd95-a310-4b08-b029-dd86192ec56an%40chromium.org.