@@ -297,6 +297,11 @@ public class AbortSignal: EventTarget {
297
297
return this[Strings.timeout].function!(this: this, arguments: [_toJSValue(milliseconds)]).fromJSValue()!
298
298
}
299
299
300
+ @inlinable public class func any(signals: [AbortSignal]) -> Self {
301
+ let this = constructor!
302
+ return this[Strings.any].function!(this: this, arguments: [_toJSValue(signals)]).fromJSValue()!
303
+ }
304
+
300
305
@ReadonlyAttribute
301
306
public var aborted: Bool
302
307
@@ -6943,9 +6948,9 @@ public class HTMLElement: Element, GlobalEventHandlers, ElementContentEditable,
6943
6948
_ = this[Strings.hidePopover].function!(this: this, arguments: [])
6944
6949
}
6945
6950
6946
- @inlinable public func togglePopover(force: Bool? = nil) {
6951
+ @inlinable public func togglePopover(force: Bool? = nil) -> Bool {
6947
6952
let this = jsObject
6948
- _ = this[Strings.togglePopover].function!(this: this, arguments: [_toJSValue(force)])
6953
+ return this[Strings.togglePopover].function!(this: this, arguments: [_toJSValue(force)]).fromJSValue()!
6949
6954
}
6950
6955
6951
6956
@ReadWriteAttribute
@@ -13493,6 +13498,11 @@ public class ReadableStream: JSBridgedClass, AsyncSequence {
13493
13498
self.init(unsafelyWrapping: Self.constructor!.new(arguments: [_toJSValue(underlyingSource), _toJSValue(strategy)]))
13494
13499
}
13495
13500
13501
+ @inlinable public class func from(asyncIterable: JSValue) -> Self {
13502
+ let this = constructor!
13503
+ return this[Strings.from].function!(this: this, arguments: [_toJSValue(asyncIterable)]).fromJSValue()!
13504
+ }
13505
+
13496
13506
@ReadonlyAttribute
13497
13507
public var locked: Bool
13498
13508
@@ -16858,7 +16868,7 @@ public class VideoFrame: JSBridgedClass {
16858
16868
}
16859
16869
16860
16870
public class VideoFrameBufferInit: BridgedDictionary {
16861
- public convenience init(format: VideoPixelFormat, codedWidth: UInt32, codedHeight: UInt32, timestamp: Int64, duration: UInt64, layout: [PlaneLayout], visibleRect: DOMRectInit, displayWidth: UInt32, displayHeight: UInt32, colorSpace: VideoColorSpaceInit) {
16871
+ public convenience init(format: VideoPixelFormat, codedWidth: UInt32, codedHeight: UInt32, timestamp: Int64, duration: UInt64, layout: [PlaneLayout], visibleRect: DOMRectInit, displayWidth: UInt32, displayHeight: UInt32, colorSpace: VideoColorSpaceInit, transfer: [ArrayBuffer] ) {
16862
16872
let object = JSObject.global[Strings.Object].function!.new()
16863
16873
object[Strings.format] = _toJSValue(format)
16864
16874
object[Strings.codedWidth] = _toJSValue(codedWidth)
@@ -16870,6 +16880,7 @@ public class VideoFrameBufferInit: BridgedDictionary {
16870
16880
object[Strings.displayWidth] = _toJSValue(displayWidth)
16871
16881
object[Strings.displayHeight] = _toJSValue(displayHeight)
16872
16882
object[Strings.colorSpace] = _toJSValue(colorSpace)
16883
+ object[Strings.transfer] = _toJSValue(transfer)
16873
16884
self.init(unsafelyWrapping: object)
16874
16885
}
16875
16886
@@ -16884,6 +16895,7 @@ public class VideoFrameBufferInit: BridgedDictionary {
16884
16895
_displayWidth = ReadWriteAttribute(jsObject: object, name: Strings.displayWidth)
16885
16896
_displayHeight = ReadWriteAttribute(jsObject: object, name: Strings.displayHeight)
16886
16897
_colorSpace = ReadWriteAttribute(jsObject: object, name: Strings.colorSpace)
16898
+ _transfer = ReadWriteAttribute(jsObject: object, name: Strings.transfer)
16887
16899
super.init(unsafelyWrapping: object)
16888
16900
}
16889
16901
@@ -16916,6 +16928,9 @@ public class VideoFrameBufferInit: BridgedDictionary {
16916
16928
16917
16929
@ReadWriteAttribute
16918
16930
public var colorSpace: VideoColorSpaceInit
16931
+
16932
+ @ReadWriteAttribute
16933
+ public var transfer: [ArrayBuffer]
16919
16934
}
16920
16935
16921
16936
public class VideoFrameCopyToOptions: BridgedDictionary {
@@ -18703,6 +18718,7 @@ public class XSLTProcessor: JSBridgedClass {
18703
18718
@usableFromInline static let ancestorOrigins: JSString = "ancestorOrigins"
18704
18719
@usableFromInline static let anchors: JSString = "anchors"
18705
18720
@usableFromInline static let animated: JSString = "animated"
18721
+ @usableFromInline static let any: JSString = "any"
18706
18722
@usableFromInline static let appCodeName: JSString = "appCodeName"
18707
18723
@usableFromInline static let appName: JSString = "appName"
18708
18724
@usableFromInline static let appVersion: JSString = "appVersion"
@@ -19136,6 +19152,7 @@ public class XSLTProcessor: JSBridgedClass {
19136
19152
@usableFromInline static let frameRate: JSString = "frameRate"
19137
19153
@usableFromInline static let framerate: JSString = "framerate"
19138
19154
@usableFromInline static let frames: JSString = "frames"
19155
+ @usableFromInline static let from: JSString = "from"
19139
19156
@usableFromInline static let fromBox: JSString = "fromBox"
19140
19157
@usableFromInline static let fromFloat32Array: JSString = "fromFloat32Array"
19141
19158
@usableFromInline static let fromFloat64Array: JSString = "fromFloat64Array"
0 commit comments