From a95c1f921317e72f74124bda64591ee1a21c5f85 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 7 Nov 2026 13:30:38 +0000 Subject: [PATCH 1/2] Fix weekly update build: keep SpeechGrammar in the full lib The 2026-11-07 weekly update failed with "Unknown DOM type: SpeechGrammar". @mdn/browser-compat-data 8.1.8 records unflagged Firefox 160 support for the Web Speech API, so SpeechGrammarList (unprefixed in Chrome 139 and Firefox) now passes the 2-engine bar. SpeechGrammar itself does not: Chrome only exposes its interface object as webkitSpeechGrammar. The interface was dropped while SpeechGrammarList.item() still returned it. Keep SpeechGrammar alive in the full lib through a new forceKeepAliveFullLibOnly list. Baseline cuts ignore it: their reference closure already resurrects referenced interfaces as type-only shells, and forcing it there would emit an empty, non-Baseline SpeechGrammar (with a constructor) into every cut. Also includes this week's data refresh that the job could not produce (BCD 8.1.7 -> 8.1.8, MDN metadata, regenerated baselines/), since the fix and the new data depend on each other. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KZB12ZE9CatFpvEaCEdU6Y --- baselines/dom.generated.d.ts | 268 ++++++++++++++++++- baselines/serviceworker.generated.d.ts | 19 ++ baselines/sharedworker.generated.d.ts | 19 ++ baselines/ts5.5/dom.generated.d.ts | 264 +++++++++++++++++- baselines/ts5.5/dom.iterable.generated.d.ts | 4 + baselines/ts5.5/serviceworker.generated.d.ts | 19 ++ baselines/ts5.5/sharedworker.generated.d.ts | 19 ++ baselines/ts5.5/webworker.generated.d.ts | 19 ++ baselines/ts5.6/dom.generated.d.ts | 264 +++++++++++++++++- baselines/ts5.6/dom.iterable.generated.d.ts | 4 + baselines/ts5.6/serviceworker.generated.d.ts | 19 ++ baselines/ts5.6/sharedworker.generated.d.ts | 19 ++ baselines/ts5.6/webworker.generated.d.ts | 19 ++ baselines/ts5.9/dom.generated.d.ts | 264 +++++++++++++++++- baselines/ts5.9/dom.iterable.generated.d.ts | 4 + baselines/ts5.9/serviceworker.generated.d.ts | 19 ++ baselines/ts5.9/sharedworker.generated.d.ts | 19 ++ baselines/ts5.9/webworker.generated.d.ts | 19 ++ baselines/webworker.generated.d.ts | 19 ++ inputfiles/mdn.commit | 2 +- inputfiles/mdn.json | 26 +- package-lock.json | 6 +- src/build/bcd.ts | 9 +- src/build/bcd/keep-alive.ts | 16 ++ 24 files changed, 1339 insertions(+), 20 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 7eb94b74e..12e7ba28b 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -2816,6 +2816,12 @@ interface SpeechRecognitionEventInit extends EventInit { results: SpeechRecognitionResultList; } +interface SpeechRecognitionOptions { + langs: string[]; + processLocally?: boolean; + quality?: SpeechRecognitionQuality; +} + interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { error: SpeechSynthesisErrorCode; } @@ -13995,6 +14001,16 @@ interface EXT_blend_minmax { readonly MAX_EXT: 0x8008; } +interface EXT_clip_control { + clipControlEXT(origin: GLenum, depth: GLenum): void; + readonly LOWER_LEFT_EXT: 0x8CA1; + readonly UPPER_LEFT_EXT: 0x8CA2; + readonly NEGATIVE_ONE_TO_ONE_EXT: 0x935E; + readonly ZERO_TO_ONE_EXT: 0x935F; + readonly CLIP_ORIGIN_EXT: 0x935C; + readonly CLIP_DEPTH_MODE_EXT: 0x935D; +} + /** * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats. * @@ -14090,6 +14106,10 @@ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } +interface EXT_texture_mirror_clamp_to_edge { + readonly MIRROR_CLAMP_TO_EDGE_EXT: 0x8743; +} + /** * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer). * @@ -17159,7 +17179,7 @@ declare var Geolocation: { */ interface GeolocationCoordinates { /** - * The **`accuracy`** read-only property of the GeolocationCoordinates interface is a strictly positive double representing the accuracy, with a 95% confidence level, of the GeolocationCoordinates.latitude and GeolocationCoordinates.longitude properties expressed in meters. + * The **`accuracy`** read-only property of the GeolocationCoordinates interface is a strictly positive double representing the accuracy, with a 68% confidence level, of the GeolocationCoordinates.latitude and GeolocationCoordinates.longitude properties expressed in meters. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/accuracy) */ @@ -17171,7 +17191,7 @@ interface GeolocationCoordinates { */ readonly altitude: number | null; /** - * The **`altitudeAccuracy`** read-only property of the GeolocationCoordinates interface is a strictly positive double representing the accuracy, with a 95% confidence level, of the altitude expressed in meters. This value is null if the implementation doesn't support measuring altitude. + * The **`altitudeAccuracy`** read-only property of the GeolocationCoordinates interface is a strictly positive double representing the accuracy, with a 68% confidence level, of the altitude expressed in meters. This value is null if the implementation doesn't support measuring altitude. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/altitudeAccuracy) */ @@ -19399,7 +19419,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes { */ indeterminate: boolean; /** - * The **`HTMLInputElement.labels`** read-only property returns a NodeList of the