browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

Linter didn't complain about wrong experimental value

Open caugner opened this issue 4 months ago • 1 comments

What type of issue is this?

Infrastructure issue

What is the issue?

https://github.com/mdn/browser-compat-data/pull/27723 was adding a new subfeature, with only Firefox supporting it, but although experimental was set to false, the linter did not complain about it.

See: https://github.com/mdn/browser-compat-data/pull/27723#discussion_r2318428285

What behavior were you expecting?

I would have expected that the linter reports the wrong experimental status.

What version(s) of BCD is the issue present in?

  • [ ] The current BCD release
  • [ ] The current version of the main branch

Do you have anything more you want to share?

No response

caugner avatar Sep 05 '25 14:09 caugner

The new linter in #28188 has revealed 84 issues:

Status - 84 problems (84 errors, 0 warnings):
 ✖ api.Document.caretPositionFromPoint.options_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-08-20).
 ✖ api.Document.hasUnpartitionedCookieAccess - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_all_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_BroadcastChannel_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_caches_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_cookies_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_createObjectURL_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_estimate_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_getDirectory_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_indexedDB_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_localStorage_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_locks_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_revokeObjectURL_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_sessionStorage_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Document.requestStorageAccess.types_parameter.types_SharedWorker_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.Element.scrollIntoView.options_parameter.container_option - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-09-02).
 ✖ api.GPUCommandEncoder.writeTimestamp - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Gecko) for less than 2 years (since 2025-07-22).
 ✖ api.HTMLElement.command_event - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-04-01).
 ✖ api.HTMLImageElement.sizes.auto - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-06-11).
 ✖ api.PaintRenderingContext2D.imageSmoothingQuality - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-03-04).
 ✖ api.SharedWorker.SharedWorker.options_sameSiteCookies_parameter - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.SpeechGrammarList - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-08-05).
 ✖ api.SpeechGrammarList.SpeechGrammarList - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-08-05).
 ✖ api.SpeechRecognition - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-08-05).
 ✖ api.SpeechRecognition.SpeechRecognition - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-08-05).
 ✖ api.StorageAccessHandle - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.StorageAccessHandle.BroadcastChannel - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.StorageAccessHandle.SharedWorker - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.StorageAccessHandle.caches - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.StorageAccessHandle.createObjectURL - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.StorageAccessHandle.estimate - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.StorageAccessHandle.getDirectory - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.StorageAccessHandle.indexedDB - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.StorageAccessHandle.localStorage - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.StorageAccessHandle.locks - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.StorageAccessHandle.revokeObjectURL - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.StorageAccessHandle.sessionStorage - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ api.VisualViewport.scrollend_event - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-06-11).
 ✖ api.XRHand - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-11-12).
 ✖ api.XRInputSource.hand - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-11-12).
 ✖ api.XRJointPose - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-11-12).
 ✖ api.XRJointPose.radius - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-11-12).
 ✖ api.XRJointSpace - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-11-12).
 ✖ api.XRJointSpace.jointName - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-11-12).
 ✖ css.properties.background-clip.border-area - Error → Experimental should be set to true as the feature is only supported in a single browser engine (WebKit) for less than 2 years (since 2024-12-11).
 ✖ css.properties.color-interpolation.linearGradient - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Gecko) for less than 2 years (since 2024-02-20).
 ✖ css.properties.height.stretch - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-06-24).
 ✖ css.properties.mask-border-outset - Error → Experimental should be set to true as the feature is only supported in a single browser engine (WebKit) for less than 2 years (since 2023-12-11).
 ✖ css.properties.mask-border-repeat - Error → Experimental should be set to true as the feature is only supported in a single browser engine (WebKit) for less than 2 years (since 2023-12-11).
 ✖ css.properties.mask-border-slice - Error → Experimental should be set to true as the feature is only supported in a single browser engine (WebKit) for less than 2 years (since 2023-12-11).
 ✖ css.properties.mask-border-source - Error → Experimental should be set to true as the feature is only supported in a single browser engine (WebKit) for less than 2 years (since 2023-12-11).
 ✖ css.properties.mask-border-width - Error → Experimental should be set to true as the feature is only supported in a single browser engine (WebKit) for less than 2 years (since 2023-12-11).
 ✖ css.properties.mask-border - Error → Experimental should be set to true as the feature is only supported in a single browser engine (WebKit) for less than 2 years (since 2023-12-11).
 ✖ css.properties.max-height.stretch - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-06-24).
 ✖ css.properties.max-width.stretch - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-06-24).
 ✖ css.properties.min-height.stretch - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-06-24).
 ✖ css.properties.min-width.stretch - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-06-24).
 ✖ css.properties.ruby-overhang - Error → Experimental should be set to true as the feature is only supported in a single browser engine (WebKit) for less than 2 years (since 2024-12-11).
 ✖ css.properties.ruby-overhang.auto - Error → Experimental should be set to true as the feature is only supported in a single browser engine (WebKit) for less than 2 years (since 2024-12-11).
 ✖ css.properties.ruby-overhang.none - Error → Experimental should be set to true as the feature is only supported in a single browser engine (WebKit) for less than 2 years (since 2024-12-11).
 ✖ css.properties.timeline-scope.all - Error → Experimental should be set to true as the feature is only supported in a single browser engine (WebKit) for less than 2 years (since 2025-09-15).
 ✖ css.properties.width.stretch - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-06-24).
 ✖ css.selectors.first-letter.svg_text_element - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Gecko) for less than 2 years (since 2024-03-19).
 ✖ css.selectors.first-line.svg_text_element - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Gecko) for less than 2 years (since 2024-03-19).
 ✖ html.elements.button.command - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-04-01).
 ✖ html.elements.button.command.request-close - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-08-05).
 ✖ html.elements.button.commandfor - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-04-01).
 ✖ html.elements.h1.no_ua_styles_in_article_aside_nav_section - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Gecko) for less than 2 years (since 2025-06-24).
 ✖ html.elements.iframe.allow.publickey-credentials-create - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Gecko) for less than 2 years (since 2024-02-20).
 ✖ html.elements.img.sizes.auto - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-06-11).
 ✖ http.headers.Feature-Policy.compute-pressure - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-05-14).
 ✖ http.headers.Feature-Policy.deferred-fetch - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-04-01).
 ✖ http.headers.Feature-Policy.deferred-fetch-minimal - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-04-01).
 ✖ javascript.builtins.Intl.Locale.variants - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Gecko) for less than 2 years (since 2025-07-22).
 ✖ svg.global_attributes.color-interpolation.linearGradient - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Gecko) for less than 2 years (since 2024-02-20).
 ✖ svg.global_attributes.transform.svg_root - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2025-05-27).
 ✖ webdriver.classic.CreateVirtualPressureSource - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-09-17).
 ✖ webdriver.classic.CreateVirtualSensor - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2023-12-05).
 ✖ webdriver.classic.DeleteVirtualPressureSource - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-09-17).
 ✖ webdriver.classic.DeleteVirtualSensor - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2023-12-05).
 ✖ webdriver.classic.GetVirtualSensorInformation - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2023-12-05).
 ✖ webdriver.classic.UpdateVirtualPressureSource - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2024-09-17).
 ✖ webdriver.classic.UpdateVirtualSensorReading - Error → Experimental should be set to true as the feature is only supported in a single browser engine (Blink) for less than 2 years (since 2023-12-05).

@Elchi3 @ddbeck Do you have any concerns with marking these all as experimental?

caugner avatar Oct 14 '25 11:10 caugner