Skip to content

Commit

Permalink
Add globals from Firefox (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored Feb 20, 2024
1 parent a960832 commit d286563
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 8 deletions.
53 changes: 53 additions & 0 deletions data/browser.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ export default {
BiquadFilterNode: false,
Blob: false,
BlobEvent: false,
Bluetooth: false,
BluetoothCharacteristicProperties: false,
BluetoothDevice: false,
BluetoothRemoteGATTCharacteristic: false,
BluetoothRemoteGATTDescriptor: false,
BluetoothRemoteGATTServer: false,
BluetoothRemoteGATTService: false,
BluetoothUUID: false,
blur: false,
BroadcastChannel: false,
BrowserCaptureMediaStreamTrack: false,
Expand All @@ -66,11 +74,14 @@ export default {
CacheStorage: false,
cancelAnimationFrame: false,
cancelIdleCallback: false,
CanvasCaptureMediaStream: false,
CanvasCaptureMediaStreamTrack: false,
CanvasGradient: false,
CanvasPattern: false,
CanvasRenderingContext2D: false,
CaptureController: false,
CaretPosition: false,
CDATASection: false,
ChannelMergerNode: false,
ChannelSplitterNode: false,
CharacterBoundsUpdateEvent: false,
Expand Down Expand Up @@ -112,6 +123,7 @@ export default {
CSSContainerRule: false,
CSSCounterStyleRule: false,
CSSFontFaceRule: false,
CSSFontFeatureValuesRule: false,
CSSFontPaletteValuesRule: false,
CSSGroupingRule: false,
CSSImageValue: false,
Expand Down Expand Up @@ -222,7 +234,12 @@ export default {
File: false,
FileList: false,
FileReader: false,
FileSystem: false,
FileSystemDirectoryEntry: false,
FileSystemDirectoryHandle: false,
FileSystemDirectoryReader: false,
FileSystemEntry: false,
FileSystemFileEntry: false,
FileSystemFileHandle: false,
FileSystemHandle: false,
FileSystemWritableFileStream: false,
Expand All @@ -231,6 +248,7 @@ export default {
FocusEvent: false,
FontData: false,
FontFace: false,
FontFaceSet: false,
FontFaceSetLoadEvent: false,
FormData: false,
FormDataEvent: false,
Expand All @@ -239,9 +257,12 @@ export default {
frames: false,
GainNode: false,
Gamepad: false,
GamepadAxisMoveEvent: false,
GamepadButton: false,
GamepadButtonEvent: false,
GamepadEvent: false,
GamepadHapticActuator: false,
GamepadPose: false,
Geolocation: false,
GeolocationCoordinates: false,
GeolocationPosition: false,
Expand Down Expand Up @@ -408,6 +429,7 @@ export default {
Ink: false,
innerHeight: false,
innerWidth: false,
InputDeviceCapabilities: false,
InputDeviceInfo: false,
InputEvent: false,
IntersectionObserver: false,
Expand Down Expand Up @@ -435,11 +457,13 @@ export default {
matchMedia: false,
MathMLElement: false,
MediaCapabilities: false,
MediaCapabilitiesInfo: false,
MediaDeviceInfo: false,
MediaDevices: false,
MediaElementAudioSourceNode: false,
MediaEncryptedEvent: false,
MediaError: false,
MediaKeyError: false,
MediaKeyMessageEvent: false,
MediaKeys: false,
MediaKeySession: false,
Expand All @@ -450,6 +474,7 @@ export default {
MediaQueryList: false,
MediaQueryListEvent: false,
MediaRecorder: false,
MediaRecorderErrorEvent: false,
MediaSession: false,
MediaSettingsRange: false,
MediaSource: false,
Expand All @@ -460,6 +485,7 @@ export default {
MediaStreamConstraints: false,
MediaStreamEvent: false,
MediaStreamTrack: false,
MediaStreamTrackAudioSourceNode: false,
MediaStreamTrackEvent: false,
MediaStreamTrackGenerator: false,
MediaStreamTrackProcessor: false,
Expand Down Expand Up @@ -512,6 +538,7 @@ export default {
OffscreenCanvasRenderingContext2D: false,
onabort: true,
onafterprint: true,
onanimationcancel: true,
onanimationend: true,
onanimationiteration: true,
onanimationstart: true,
Expand All @@ -535,7 +562,9 @@ export default {
oncontextlost: true,
oncontextmenu: true,
oncontextrestored: true,
oncopy: true,
oncuechange: true,
oncut: true,
ondblclick: true,
ondevicemotion: true,
ondeviceorientation: true,
Expand All @@ -553,6 +582,8 @@ export default {
onerror: true,
onfocus: true,
onformdata: true,
ongamepadconnected: true,
ongamepaddisconnected: true,
ongotpointercapture: true,
onhashchange: true,
oninput: true,
Expand Down Expand Up @@ -580,6 +611,7 @@ export default {
ononline: true,
onpagehide: true,
onpageshow: true,
onpaste: true,
onpause: true,
onplay: true,
onplaying: true,
Expand Down Expand Up @@ -668,6 +700,7 @@ export default {
PeriodicWave: false,
Permissions: false,
PermissionStatus: false,
PERSISTENT: false,
personalbar: false,
PhotoCapabilities: false,
PictureInPictureEvent: false,
Expand Down Expand Up @@ -738,6 +771,7 @@ export default {
RTCPeerConnectionIceEvent: false,
RTCRtpContributingSource: false,
RTCRtpReceiver: false,
RTCRtpScriptTransform: false,
RTCRtpSender: false,
RTCRtpTransceiver: false,
RTCSctpTransport: false,
Expand Down Expand Up @@ -904,10 +938,12 @@ export default {
SVGUnitTypes: false,
SVGUseElement: false,
SVGViewElement: false,
SyncManager: false,
TaskAttributionTiming: false,
TaskController: false,
TaskPriorityChangeEvent: false,
TaskSignal: false,
TEMPORARY: false,
Text: false,
TextDecoder: false,
TextDecoderStream: false,
Expand All @@ -922,6 +958,7 @@ export default {
TextTrackCueList: false,
TextTrackList: false,
TextUpdateEvent: false,
TimeEvent: false,
TimeRanges: false,
ToggleEvent: false,
toolbar: false,
Expand All @@ -944,6 +981,19 @@ export default {
URL: false,
URLPattern: false,
URLSearchParams: false,
USB: false,
USBAlternateInterface: false,
USBConfiguration: false,
USBConnectionEvent: false,
USBDevice: false,
USBEndpoint: false,
USBInterface: false,
USBInTransferResult: false,
USBIsochronousInTransferPacket: false,
USBIsochronousInTransferResult: false,
USBIsochronousOutTransferPacket: false,
USBIsochronousOutTransferResult: false,
USBOutTransferResult: false,
UserActivation: false,
ValidityState: false,
VideoColorSpace: false,
Expand All @@ -959,6 +1009,7 @@ export default {
visualViewport: false,
VisualViewport: false,
VTTCue: false,
VTTRegion: false,
WakeLock: false,
WakeLockSentinel: false,
WaveShaperNode: false,
Expand All @@ -985,6 +1036,8 @@ export default {
WebTransportBidirectionalStream: false,
WebTransportDatagramDuplexStream: false,
WebTransportError: false,
WebTransportReceiveStream: false,
WebTransportSendStream: false,
WGSLLanguageFeatures: false,
WheelEvent: false,
window: false,
Expand Down
27 changes: 27 additions & 0 deletions globals.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,13 @@
"CacheStorage": false,
"cancelAnimationFrame": false,
"cancelIdleCallback": false,
"CanvasCaptureMediaStream": false,
"CanvasCaptureMediaStreamTrack": false,
"CanvasGradient": false,
"CanvasPattern": false,
"CanvasRenderingContext2D": false,
"CaptureController": false,
"CaretPosition": false,
"CDATASection": false,
"ChannelMergerNode": false,
"ChannelSplitterNode": false,
Expand Down Expand Up @@ -485,6 +487,7 @@
"CSSContainerRule": false,
"CSSCounterStyleRule": false,
"CSSFontFaceRule": false,
"CSSFontFeatureValuesRule": false,
"CSSFontPaletteValuesRule": false,
"CSSGroupingRule": false,
"CSSImageValue": false,
Expand Down Expand Up @@ -595,7 +598,12 @@
"File": false,
"FileList": false,
"FileReader": false,
"FileSystem": false,
"FileSystemDirectoryEntry": false,
"FileSystemDirectoryHandle": false,
"FileSystemDirectoryReader": false,
"FileSystemEntry": false,
"FileSystemFileEntry": false,
"FileSystemFileHandle": false,
"FileSystemHandle": false,
"FileSystemWritableFileStream": false,
Expand All @@ -604,6 +612,7 @@
"FocusEvent": false,
"FontData": false,
"FontFace": false,
"FontFaceSet": false,
"FontFaceSetLoadEvent": false,
"FormData": false,
"FormDataEvent": false,
Expand All @@ -612,9 +621,12 @@
"frames": false,
"GainNode": false,
"Gamepad": false,
"GamepadAxisMoveEvent": false,
"GamepadButton": false,
"GamepadButtonEvent": false,
"GamepadEvent": false,
"GamepadHapticActuator": false,
"GamepadPose": false,
"Geolocation": false,
"GeolocationCoordinates": false,
"GeolocationPosition": false,
Expand Down Expand Up @@ -809,11 +821,13 @@
"matchMedia": false,
"MathMLElement": false,
"MediaCapabilities": false,
"MediaCapabilitiesInfo": false,
"MediaDeviceInfo": false,
"MediaDevices": false,
"MediaElementAudioSourceNode": false,
"MediaEncryptedEvent": false,
"MediaError": false,
"MediaKeyError": false,
"MediaKeyMessageEvent": false,
"MediaKeys": false,
"MediaKeySession": false,
Expand All @@ -824,6 +838,7 @@
"MediaQueryList": false,
"MediaQueryListEvent": false,
"MediaRecorder": false,
"MediaRecorderErrorEvent": false,
"MediaSession": false,
"MediaSettingsRange": false,
"MediaSource": false,
Expand All @@ -834,6 +849,7 @@
"MediaStreamConstraints": false,
"MediaStreamEvent": false,
"MediaStreamTrack": false,
"MediaStreamTrackAudioSourceNode": false,
"MediaStreamTrackEvent": false,
"MediaStreamTrackGenerator": false,
"MediaStreamTrackProcessor": false,
Expand Down Expand Up @@ -886,6 +902,7 @@
"OffscreenCanvasRenderingContext2D": false,
"onabort": true,
"onafterprint": true,
"onanimationcancel": true,
"onanimationend": true,
"onanimationiteration": true,
"onanimationstart": true,
Expand All @@ -909,7 +926,9 @@
"oncontextlost": true,
"oncontextmenu": true,
"oncontextrestored": true,
"oncopy": true,
"oncuechange": true,
"oncut": true,
"ondblclick": true,
"ondevicemotion": true,
"ondeviceorientation": true,
Expand All @@ -927,6 +946,8 @@
"onerror": true,
"onfocus": true,
"onformdata": true,
"ongamepadconnected": true,
"ongamepaddisconnected": true,
"ongotpointercapture": true,
"onhashchange": true,
"oninput": true,
Expand Down Expand Up @@ -954,6 +975,7 @@
"ononline": true,
"onpagehide": true,
"onpageshow": true,
"onpaste": true,
"onpause": true,
"onplay": true,
"onplaying": true,
Expand Down Expand Up @@ -1113,6 +1135,7 @@
"RTCPeerConnectionIceEvent": false,
"RTCRtpContributingSource": false,
"RTCRtpReceiver": false,
"RTCRtpScriptTransform": false,
"RTCRtpSender": false,
"RTCRtpTransceiver": false,
"RTCSctpTransport": false,
Expand Down Expand Up @@ -1299,6 +1322,7 @@
"TextTrackCueList": false,
"TextTrackList": false,
"TextUpdateEvent": false,
"TimeEvent": false,
"TimeRanges": false,
"ToggleEvent": false,
"toolbar": false,
Expand Down Expand Up @@ -1349,6 +1373,7 @@
"visualViewport": false,
"VisualViewport": false,
"VTTCue": false,
"VTTRegion": false,
"WakeLock": false,
"WakeLockSentinel": false,
"WaveShaperNode": false,
Expand All @@ -1375,6 +1400,8 @@
"WebTransportBidirectionalStream": false,
"WebTransportDatagramDuplexStream": false,
"WebTransportError": false,
"WebTransportReceiveStream": false,
"WebTransportSendStream": false,
"WGSLLanguageFeatures": false,
"WheelEvent": false,
"window": false,
Expand Down
Loading

0 comments on commit d286563

Please sign in to comment.