Repository navigation
Add window.open popup feature and BarProp.visible value update - #13322
Conversation
9d443cb to
5bbb274
Compare
| "deprecated": false | ||
| } | ||
| }, | ||
| "is_popup": { |
There was a problem hiding this comment.
I can't find this in the IDL for the BarProp interface, which makes me think this is not actually exposed to web developers directly. Instead, it seems to change the value of visible. Is that right?
If it is, I think the right way to go is to characterize this is as a change in the way visible works, rather than introducing a new feature entry here. I'm not sure how best to represent this change in Firefox 96, however. I think the core question is: before Firefox 96, what did visible return and what does it return from 96?
There was a problem hiding this comment.
yes, the change is the value of visible.
The change is that:
- before Firefox 96,
BarProp.valuewas returning the actual visibility of each UI part (toolbar, menubar, etc), with exceptions thatscrollbars.visibleis always true - after Firefox 96,
BarProp.valuereturns the negation of "is popup" of the top-level browsing context, regardless of the actual visibility of each UI parts
"is popup" of the top-level browsing context defaults to false, and is calculated from features parameter of window.open.
currently other browsers return different value for each, for BarProp.value.
Safari also returns the actual visibility of each UI parts, but with yet another exceptions.
Chrome returns whether each UI parts are enabled in features parameters of window.open, regardless of the actual UI parts visibility.
5bbb274 to
8d620e5
Compare
31d1822 to
ecefec6
Compare
|
oh, wait, chromium have implemented this feature as well. so I'll reflect the change here. |
|
Also, given now that 2 browsers have implemented and it's in the spec itself, I think it's fine to flip "experimental" to false |
ecefec6 to
50ec8b3
Compare
|
for whatwg/html#6530
Summary
Add browser compat data for updated
windowFeaturesparameter behavior forwindow.open, and alsoBarProp.visiblebehavior, from the spec change in whatwg/html#6530.Test results and supporting details
The behavior is tested by web-platform-tests/wpt#28243
Firefox: fixed in 96 (currently Nightly) https://bugzilla.mozilla.org/show_bug.cgi?id=1701001
Chrome: fixed in 98 (current Canary) https://bugs.chromium.org/p/chromium/issues/detail?id=1192701
Safari: bug is filed https://bugs.webkit.org/show_bug.cgi?id=223751
Related issues