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

Add holding features for unspecified platform features #2566

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions features/unspecified-apis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Unspecified APIs
description: Some browsers implement unspecified APIs. This is an artificial feature that contains references to browser compatibility data entries for those additions.
spec: link to our own documentation explaining ourselves in more detail
discouraged:
according_to:
- TODO link to our own documentation explaining ourselves in more detail
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't land without this, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. I've added one with 83a6333.

compat_features:
# Chrome implemented these APIs while they were in a PR for the spec, which
# was subsequently not included in the ultimately merged changes.
# https://github.com/w3c/payment-handler/pull/170#issuecomment-483453062
# https://issues.chromium.org/issues/40527525
- api.AbortPaymentEvent
- api.AbortPaymentEvent.AbortPaymentEvent
- api.AbortPaymentEvent.respondWith

# These `Screen` properties are broadly interoperable but unspecified.
# https://github.com/w3c/window-management/pull/76#discussion_r780596068
# contains the only discussion I could find of this fact.
- api.Screen.availLeft
- api.Screen.availLeft.relative-multi-screen
- api.Screen.availTop
- api.Screen.availTop.relative-multi-screen

# Dropped from Accessibility Object Model spec and potentially never shipped
# anywhere. https://wicg.github.io/aom/spec/phase2.html#privacy-concerns
# https://github.com/mdn/browser-compat-data/pull/25860
- api.Permissions.permission_accessibility-events
9 changes: 9 additions & 0 deletions features/unspecified-css.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Unspecified CSS
description: Some browsers implement unspecified CSS properties or values. This is an artificial feature that contains references to browser compatibility data entries for those additions.
spec: TODO link to our own documentation explaining ourselves in more detail
discouraged:
according_to:
- TODO link to our own documentation explaining ourselves in more detail
compat_features:
# Removed from the platform, but not yet removed from BCD
- -moz-image-region # To be removed in March 2025
11 changes: 11 additions & 0 deletions features/unspecified-html.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Unspecified HTML
description: Some browsers implement unspecified HTML elements and attributes. This is an artificial feature that contains references to browser compatibility data entries for those additions.
spec: TODO link to our own documentation explaining ourselves in more detail
discouraged:
according_to:
- TODO link to our own documentation explaining ourselves in more detail
compat_features:
# Stuck in WHATWG PR limbo:
# https://github.com/mdn/browser-compat-data/pull/25863
- api.HTMLAnchorElement.hrefTranslate
- html.elements.a.hreftranslate
23 changes: 23 additions & 0 deletions features/unspecified-javascript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Unspecified JavaScript
description: Some browsers implement unspecified JavaScript properties or methods. This is an artificial feature that contains references to browser compatibility data entries for those additions.
spec: link to our own documentation explaining ourselves in more detail
discouraged:
according_to:
- TODO link to our own documentation explaining ourselves in more detail
compat_features:
# Firefox-only Function property.
# There exists some discussion of getting rid
# of it: https://github.com/tc39/proposal-error-stacks/issues/14
- javascript.builtins.Function.displayName

# Firefox-only InternalError object
# Thrown on "too much recursion" while Safari and Chrome throw RangeError
# https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Too_much_recursion
- javascript.builtins.InternalError
- javascript.builtins.InternalError.InternalError

# Firefox-only Erorr properties
- javascript.builtins.Error.Error.lineNumber_parameter
- javascript.builtins.Error.lineNumber
- javascript.builtins.Error.Error.fileName_parameter
- javascript.builtins.Error.fileName
Loading