Skip to content
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

webextensions.api.windows.create - desc about focused: false is misleading #24888

Open
danny0838 opened this issue Oct 31, 2024 · 2 comments · May be fixed by #24961
Open

webextensions.api.windows.create - desc about focused: false is misleading #24888

danny0838 opened this issue Oct 31, 2024 · 2 comments · May be fixed by #24961
Labels
data:webext 🎲 Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions

Comments

@danny0838
Copy link

danny0838 commented Oct 31, 2024

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

The description gives an impression that focused: false works normally in Firefox < 86, while it actually causes an error to be thrown in those versions.

What browsers does this problem apply to, if applicable?

Firefox

What did you expect to see?

Should have described that focused: false causes an error in Firefox < 86.

Did you test this? If so, how?

I confirmed that focused: false causes an error in Firefox 68.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/windows/create

MDN metadata

MDN page report details
  • Query: webextensions.api.windows.create
  • Report started: 2024-10-31T03:08:32.913Z
@queengooborg queengooborg added the data:webext 🎲 Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions label Oct 31, 2024
@rebloor
Copy link
Collaborator

rebloor commented Nov 4, 2024

@danny0838 can you confirm what error occurs? So the note should read Prior to Firefox 86, the <code>focused: false</code> option caused a (type of) error. From Firefox 86, <code>focused: false</code> is ignored.

@danny0838
Copy link
Author

Error: Type error for parameter createData (Property "focused" is unsupported by Firefox) for windows.create. was raised when focused property exists, no matter of its value.

@rebloor rebloor linked a pull request Nov 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:webext 🎲 Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants