Fixed
- Fixed a regression introduced in [#5026] where stable
web-sysmethods that accept a union type containing a[WbgGeneric]interface (e.g.ImageBitmapSource, which includesVideoFrame) incorrectly applied typed generics to all union expansions rather than only those whose argument type is itself[WbgGeneric]. In practice this causedWindow::create_image_bitmap_with_*and the correspondingWorkerGlobalScopeoverloads to returnPromise<ImageBitmap>instead ofPromise<JsValue>for the stable (non-VideoFrame) call sites, breakingJsFuture::from(promise).await?. #5064 #5073