Skip to content

Commit

Permalink
Update index.md | top and left is supported in Firefox >= 109 (#36554)
Browse files Browse the repository at this point in the history
* Update index.md | top and left is supported in Firefox >= 109

* Update index.md | top and left is supported in Firefox version >= 109

https://phabricator.services.mozilla.com/D73419?id=649918

* Update index.md | top and left is supported in Firefox version >= 109

* Update index.md | top and left values for positioning the window is suppported in Firefox >=109

Co-authored-by: rebloor <[email protected]>

* Update index.md | top and left values for positioning the window is suppported in Firefox >=109

Co-authored-by: rebloor <[email protected]>

* window type clarification

---------

Co-authored-by: rebloor <[email protected]>
  • Loading branch information
Piyush-r-bhaskar and rebloor authored Nov 5, 2024
1 parent f98e05e commit 93a294e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ let creating = browser.windows.create(
- `incognito` {{optional_inline}}
- : `boolean`. Whether the new window should be an incognito (private) window. Note that if you specify `incognito` and `tabId`, the ID must refer to a private tab — that is, you can't move a non-private tab to a private window.
- `left` {{optional_inline}}
- : `integer`. The number of pixels to position the new window from the left edge of the screen. If not specified, the new window is offset naturally from the last focused window. This value is ignored for panels. (In Firefox, this value currently is ignored for popups (bug 1271047) but can be set using browser.windows.update().)
- : `integer`. The number of pixels to position the new window from the left edge of the screen. If not specified, the new window is offset naturally from the last focused window. (Ignored in Firefox 108 or earlier for `panel` or `popup` window types; positioning the window using {{WebExtAPIRef("windows.update()")}} could be used as a workaround.)
- `state` {{optional_inline}}
- : A {{WebExtAPIRef('windows.WindowState')}} value. The initial state of the window. The `minimized`, `maximized` and, `fullscreen` states cannot be combined with `left`, `top`, `width`, or `height`.
- `tabId` {{optional_inline}}
- : `integer`. If included, moves a tab of the specified ID from an existing window into the new window.
- `titlePreface` {{optional_inline}}
- : `string`. Use this to add a string to the beginning of the browser window's title. Depending on the underlying operating system, this might not work on browser windows that don't have a title (such as about:blank in Firefox).
- `top` {{optional_inline}}
- : `integer`. The number of pixels to position the new window from the top edge of the screen. If not specified, the new window is offset naturally from the last focused window. This value is ignored for panels. (In Firefox, this value currently is ignored for popups (bug 1271047) but can be set using browser.windows.update().)
- : `integer`. The number of pixels to position the new window from the top edge of the screen. If not specified, the new window is offset naturally from the last focused window. (Ignored in Firefox 108 or earlier for `panel` or `popup` window types; positioning the window using {{WebExtAPIRef("windows.update()")}} could be used as a workaround.)
- `type` {{optional_inline}}
- : A {{WebExtAPIRef('windows.CreateType')}} value. Specifies what type of browser window to create. Specify `panel` or `popup` here to open a window without any of the normal browser UI (address bar, toolbar, etc.).
- `url` {{optional_inline}}
Expand Down

0 comments on commit 93a294e

Please sign in to comment.