-
Notifications
You must be signed in to change notification settings - Fork 199
Add Window and Window Management API #2010
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
8d46a56
Add window and window management
autonome 53927a2
move bits over to history
autonome b7a5925
Merge branch 'main' into window
autonome 860c33b
move dialogs to dialog
autonome 6f48003
Merge branch 'main' into window
autonome d96c3ea
Merge branch 'main' into window
autonome 9d7ecf4
Merge branch 'main' into window
autonome 909547a
Merge branch 'main' into window
autonome af3c124
Merge branch 'main' into window
autonome 2c2ac70
merge, regen
autonome ec33c2d
Merge branch 'window' of https://github.com/autonome/web-features int…
autonome d405f59
Merge branch 'main' into window
autonome 9f9a69f
remove outdated commentary
autonome 60b9068
update desc
autonome 81a9e37
Merge branch 'main' into window
autonome b9782a2
Update features/window-management.yml
autonome e277878
Update features/window-management.yml
autonome 462d6c9
Update features/window.yml
autonome 9e29afe
review fixes
autonome 8b5d3f8
Merge branch 'window' of https://github.com/autonome/web-features int…
autonome ae1a5f6
fix missing quote
autonome 21d5b4a
Merge branch 'main' into window
autonome 59f8b5c
Merge branch 'main' into window
autonome File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| name: Window management | ||
| description: "The `window.getScreenDetails()` method gets information about the screens on a device, which you can use to place new windows on a specific screen with `window.open()`." | ||
| spec: https://w3c.github.io/window-management/ | ||
| compat_features: | ||
| - api.Element.requestFullscreen.options_screen_parameter | ||
| - api.Permissions.permission_window-management | ||
| - api.Screen.change_event | ||
| - api.Screen.isExtended | ||
| - api.ScreenDetailed | ||
| - api.ScreenDetailed.availLeft | ||
| - api.ScreenDetailed.availTop | ||
| - api.ScreenDetailed.devicePixelRatio | ||
| - api.ScreenDetailed.isInternal | ||
| - api.ScreenDetailed.isPrimary | ||
| - api.ScreenDetailed.label | ||
| - api.ScreenDetailed.left | ||
| - api.ScreenDetailed.top | ||
| - api.ScreenDetails | ||
| - api.ScreenDetails.currentScreen | ||
| - api.ScreenDetails.currentscreenchange_event | ||
| - api.ScreenDetails.screens | ||
| - api.ScreenDetails.screenschange_event | ||
| - api.Window.getScreenDetails | ||
| - http.headers.Permissions-Policy.window-management |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # Generated from: window-management.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: "111" | ||
| edge: "111" | ||
| compat_features: | ||
| # baseline: false | ||
| # support: | ||
| # chrome: "100" | ||
| # chrome_android: "100" | ||
| # edge: "100" | ||
| - api.Screen.change_event | ||
| - api.Screen.isExtended | ||
| - api.Window.getScreenDetails | ||
| - http.headers.Permissions-Policy.window-management | ||
|
|
||
| # baseline: false | ||
| # support: | ||
| # chrome: "100" | ||
| # edge: "100" | ||
| - api.Element.requestFullscreen.options_screen_parameter | ||
| - api.ScreenDetailed | ||
| - api.ScreenDetailed.availLeft | ||
| - api.ScreenDetailed.availTop | ||
| - api.ScreenDetailed.devicePixelRatio | ||
| - api.ScreenDetailed.isInternal | ||
| - api.ScreenDetailed.isPrimary | ||
| - api.ScreenDetailed.label | ||
| - api.ScreenDetailed.left | ||
| - api.ScreenDetailed.top | ||
| - api.ScreenDetails | ||
| - api.ScreenDetails.currentScreen | ||
| - api.ScreenDetails.currentscreenchange_event | ||
| - api.ScreenDetails.screens | ||
| - api.ScreenDetails.screenschange_event | ||
|
|
||
| # ⬇️ Same status as overall feature ⬇️ | ||
| # baseline: false | ||
| # support: | ||
| # chrome: "111" | ||
| # edge: "111" | ||
| - api.Permissions.permission_window-management |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name: Window | ||
| description: "The `window` global object represents a browser tab or iframe and its relationship to the document and other tabs. It's also a generic global object, under which many other APIs are located." | ||
| spec: https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-window-object | ||
| status: | ||
| compute_from: api.Window | ||
| compat_features: | ||
| - api.Window | ||
| - api.Window.DOMContentLoaded_event | ||
| - api.Window.blur_event | ||
| - api.Window.close | ||
| - api.Window.closed | ||
| - api.Window.error_event | ||
| - api.Window.focus | ||
| - api.Window.focus_event | ||
| - api.Window.frameElement | ||
| - api.Window.frames | ||
| - api.Window.length | ||
| - api.Window.load_event | ||
| - api.Window.name | ||
| - api.Window.open | ||
| - api.Window.opener | ||
| - api.Window.parent | ||
| - api.Window.self | ||
| - api.Window.stop | ||
| - api.Window.top | ||
| - api.Window.window |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,129 @@ | ||
| # Generated from: window.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: high | ||
| baseline_low_date: 2015-07-29 | ||
| baseline_high_date: 2018-01-29 | ||
| support: | ||
| chrome: "1" | ||
| chrome_android: "18" | ||
| edge: "12" | ||
| firefox: "1" | ||
| firefox_android: "4" | ||
| safari: "1" | ||
| safari_ios: "1" | ||
| compat_features: | ||
| # ⬇️ Same status as overall feature ⬇️ | ||
| # baseline: high | ||
| # baseline_low_date: 2015-07-29 | ||
| # baseline_high_date: 2018-01-29 | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "1" | ||
| # firefox_android: "4" | ||
| # safari: "1" | ||
| # safari_ios: "1" | ||
| - api.Window | ||
| - api.Window.close | ||
| - api.Window.closed | ||
| - api.Window.focus | ||
| - api.Window.frames | ||
| - api.Window.length | ||
| - api.Window.name | ||
| - api.Window.opener | ||
|
|
||
| # baseline: high | ||
| # baseline_low_date: 2015-07-29 | ||
| # baseline_high_date: 2018-01-29 | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "1" | ||
| # firefox_android: "4" | ||
| # safari: "1.3" | ||
| # safari_ios: "1" | ||
| - api.Window.load_event | ||
| - api.Window.parent | ||
|
|
||
| # baseline: high | ||
| # baseline_low_date: 2015-07-29 | ||
| # baseline_high_date: 2018-01-29 | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "1" | ||
| # firefox_android: "4" | ||
| # safari: "3" | ||
| # safari_ios: "1" | ||
| - api.Window.frameElement | ||
| - api.Window.self | ||
| - api.Window.top | ||
| - api.Window.window | ||
|
|
||
| # baseline: high | ||
| # baseline_low_date: 2015-07-29 | ||
| # baseline_high_date: 2018-01-29 | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "1" | ||
| # firefox_android: "4" | ||
| # safari: "3.1" | ||
| # safari_ios: "2" | ||
| - api.Window.DOMContentLoaded_event | ||
|
|
||
| # baseline: high | ||
| # baseline_low_date: 2015-07-29 | ||
| # baseline_high_date: 2018-01-29 | ||
| # support: | ||
| # chrome: "5" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "6" | ||
| # firefox_android: "6" | ||
| # safari: "5.1" | ||
| # safari_ios: "5" | ||
| - api.Window.blur_event | ||
| - api.Window.focus_event | ||
|
|
||
| # baseline: high | ||
| # baseline_low_date: 2015-07-29 | ||
| # baseline_high_date: 2018-01-29 | ||
| # support: | ||
| # chrome: "10" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "6" | ||
| # firefox_android: "6" | ||
| # safari: "5.1" | ||
| # safari_ios: "5" | ||
| - api.Window.error_event | ||
|
|
||
| # baseline: high | ||
| # baseline_low_date: 2016-08-02 | ||
| # baseline_high_date: 2019-02-02 | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "14" | ||
| # firefox: "1" | ||
| # firefox_android: "4" | ||
| # safari: "3" | ||
| # safari_ios: "1" | ||
| - api.Window.stop | ||
|
|
||
| # baseline: false | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "1" | ||
| # firefox_android: "4" | ||
| # safari: "1" | ||
| - api.Window.open |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.