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.tabs.create - Chromium doesn't support discarded (throws an error when used) #20969

Closed
navorite opened this issue Oct 17, 2023 · 0 comments · Fixed by #20971
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions

Comments

@navorite
Copy link
Contributor

What type of issue is this?

Missing compatibility data

What information was incorrect, unhelpful, or incomplete?

tabs.create in Chromium browsers does not support discarded property. It throws out an error when it is used.

As someone who uses MDN compatibility data to develop cross-browser extensions, it was a little bit hard to see where the problem was when using the same API with the same properties and figuring out it stops the extension from working.

What browsers does this problem apply to, if applicable?

Chromium (Chrome, Edge 79+, Opera, Samsung Internet)

What did you expect to see?

I expect to add a notice to indicate the missing properties support or at least include the supported properties to the table.

For example: In Chromium browsers, tabs.create does not support the discarded property.

And even better, indicate that Firefox supports Firefox only properties such as openInReaderMode and cookieStoreId.

Did you test this? If so, how?

I figured this out while creating my extension Sessionic, so I went back to the documentation multiple times only to figure out on the Chrome documentation that they do not support discarded.

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

https://developer.chrome.com/docs/extensions/reference/tabs/#method-create

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/tabs/create

MDN metadata

MDN page report details
  • Query: webextensions.api.tabs.create
  • Report started: 2023-10-17T02:51:22.810Z
@queengooborg queengooborg added the data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions label Oct 17, 2023
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