File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -439,8 +439,6 @@ public extension NavigatorStorage {
439
439
@inlinable var storage : StorageManager { jsObject [ Strings . storage] . fromJSValue ( ) ! }
440
440
}
441
441
442
- extension WorkerNavigator : NavigatorStorage { }
443
-
444
442
extension Navigator : NavigatorStorage { }
445
443
446
444
public class OpenFilePickerOptions : BridgedDictionary {
Original file line number Diff line number Diff line change @@ -3534,8 +3534,6 @@ public extension NavigatorGPU {
3534
3534
3535
3535
extension Navigator : NavigatorGPU { }
3536
3536
3537
- extension WorkerNavigator : NavigatorGPU { }
3538
-
3539
3537
public typealias GPUBufferUsageFlags = UInt32
3540
3538
public typealias GPUMapModeFlags = UInt32
3541
3539
public typealias GPUTextureUsageFlags = UInt32
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ enum DeclarationMerger {
11
11
// but as a pointer it can't be represented as floating point number either.
12
12
" GLintptr " ,
13
13
]
14
+ static let ignoredIncludeTargets : Set < String > = [ " WorkerNavigator " ]
14
15
static let validExposures : Set < String > = [ " Window " ]
15
16
16
17
static let ignoredParents : Set < String > = [ " LinkStyle " ]
@@ -117,6 +118,7 @@ enum DeclarationMerger {
117
118
var includes = Dictionary ( grouping: allNodes ( ofType: IDLIncludes . self) ) { $0. target }
118
119
. mapValues { $0. map ( \. includes) . filter { !Self. ignoredParents. contains ( $0) } }
119
120
. filter { !$0. value. isEmpty }
121
+ . filter { !ignoredIncludeTargets. contains ( $0. key) }
120
122
121
123
let mergedInterfaces = Dictionary (
122
124
grouping: allNodes ( ofType: IDLInterface . self) . map {
You can’t perform that action at this time.
0 commit comments