Bug 1854640 - Remove redundant InstrumentedProps items r=webidl,smaug

Automated with https://github.com/saschanaz/gecko-webidl-frustrated.

Differential Revision: https://phabricator.services.mozilla.com/D188987
This commit is contained in:
Kagami Sascha Rosylight 2023-09-22 18:17:08 +00:00
Родитель 0998501805
Коммит c823551f90
3 изменённых файлов: 2 добавлений и 56 удалений

Просмотреть файл

@ -148,9 +148,7 @@ custom PercentageStrokeWidthInSVGText whether percentage stroke-width is used in
// Missing-property use counters. We claim these are "method" use
// counters, because we don't need a separate description string for
// them and we only need one use counter, not a getter/setter pair.
method HTMLDocument.adoptedStyleSheets
method HTMLDocument.caretRangeFromPoint
method HTMLDocument.clear
method HTMLDocument.exitPictureInPicture
method HTMLDocument.featurePolicy
method HTMLDocument.onbeforecopy
@ -161,7 +159,6 @@ method HTMLDocument.onfreeze
method HTMLDocument.onmousewheel
method HTMLDocument.onresume
method HTMLDocument.onsearch
method HTMLDocument.onsecuritypolicyviolation
method HTMLDocument.onwebkitfullscreenchange
method HTMLDocument.onwebkitfullscreenerror
method HTMLDocument.pictureInPictureElement
@ -183,10 +180,6 @@ method Window.AbsoluteOrientationSensor
method Window.Accelerometer
method Window.ApplicationCache
method Window.ApplicationCacheErrorEvent
method Window.Atomics
method Window.AudioParamMap
method Window.AudioWorklet
method Window.AudioWorkletNode
method Window.BackgroundFetchManager
method Window.BackgroundFetchRecord
method Window.BackgroundFetchRegistration
@ -201,7 +194,6 @@ method Window.BluetoothRemoteGATTService
method Window.BluetoothUUID
method Window.CanvasCaptureMediaStreamTrack
method Window.chrome
method Window.clientInformation
method Window.ClipboardItem
method Window.CSSImageValue
method Window.CSSKeywordValue
@ -240,7 +232,6 @@ method Window.External
method Window.FederatedCredential
method Window.Gyroscope
method Window.HTMLContentElement
method Window.HTMLDialogElement
method Window.HTMLShadowElement
method Window.ImageCapture
method Window.InputDeviceCapabilities
@ -248,10 +239,6 @@ method Window.InputDeviceInfo
method Window.Keyboard
method Window.KeyboardLayoutMap
method Window.LinearAccelerationSensor
method Window.Lock
method Window.LockManager
method Window.MediaMetadata
method Window.MediaSession
method Window.MediaSettingsRange
method Window.MIDIAccess
method Window.MIDIConnectionEvent
@ -261,11 +248,8 @@ method Window.MIDIMessageEvent
method Window.MIDIOutput
method Window.MIDIOutputMap
method Window.MIDIPort
method Window.NavigationPreloadManager
method Window.NetworkInformation
method Window.offscreenBuffering
method Window.OffscreenCanvas
method Window.OffscreenCanvasRenderingContext2D
method Window.onbeforeinstallprompt
method Window.oncancel
method Window.onmousewheel
@ -282,9 +266,7 @@ method Window.PaymentMethodChangeEvent
method Window.PaymentRequest
method Window.PaymentRequestUpdateEvent
method Window.PaymentResponse
method Window.PerformanceEventTiming
method Window.PerformanceLongTaskTiming
method Window.PerformancePaintTiming
method Window.PhotoCapabilities
method Window.PictureInPictureWindow
method Window.Presentation
@ -298,27 +280,21 @@ method Window.PresentationRequest
method Window.RelativeOrientationSensor
method Window.RemotePlayback
method Window.ReportingObserver
method Window.RTCDtlsTransport
method Window.RTCError
method Window.RTCErrorEvent
method Window.RTCIceTransport
method Window.RTCSctpTransport
method Window.Sensor
method Window.SensorErrorEvent
method Window.SharedArrayBuffer
method Window.styleMedia
method Window.StylePropertyMap
method Window.StylePropertyMapReadOnly
method Window.SVGDiscardElement
method Window.SyncManager
method Window.TaskAttributionTiming
method Window.TextDecoderStream
method Window.TextEncoderStream
method Window.TextEvent
method Window.Touch
method Window.TouchEvent
method Window.TouchList
method Window.TransformStream
method Window.USB
method Window.USBAlternateInterface
method Window.USBConfiguration
@ -333,7 +309,6 @@ method Window.USBIsochronousOutTransferPacket
method Window.USBIsochronousOutTransferResult
method Window.USBOutTransferResult
method Window.UserActivation
method Window.visualViewport
method Window.webkitCancelAnimationFrame
method Window.webkitMediaStream
method Window.WebKitMutationObserver
@ -347,8 +322,6 @@ method Window.webkitSpeechRecognition
method Window.webkitSpeechRecognitionError
method Window.webkitSpeechRecognitionEvent
method Window.webkitStorageInfo
method Window.Worklet
method Window.WritableStream
// Gecko-specific command usage of `Document.execCommand`
custom DocumentExecCommandContentReadOnly calls execCommand with contentReadOnly

Просмотреть файл

@ -6,9 +6,7 @@
[LegacyOverrideBuiltIns,
Exposed=Window,
InstrumentedProps=(adoptedStyleSheets,
caretRangeFromPoint,
clear,
InstrumentedProps=(caretRangeFromPoint,
exitPictureInPicture,
featurePolicy,
onbeforecopy,
@ -19,7 +17,6 @@
onmousewheel,
onresume,
onsearch,
onsecuritypolicyviolation,
onwebkitfullscreenchange,
onwebkitfullscreenerror,
pictureInPictureElement,

Просмотреть файл

@ -30,10 +30,6 @@ interface nsIPrintSettings;
Exposed=Window,
InstrumentedProps=(AbsoluteOrientationSensor,
Accelerometer,
Atomics,
AudioParamMap,
AudioWorklet,
AudioWorkletNode,
BackgroundFetchManager,
BackgroundFetchRecord,
BackgroundFetchRegistration,
@ -48,7 +44,6 @@ interface nsIPrintSettings;
BluetoothUUID,
CanvasCaptureMediaStreamTrack,
chrome,
clientInformation,
ClipboardItem,
CSSImageValue,
CSSKeywordValue,
@ -90,7 +85,6 @@ interface nsIPrintSettings;
FederatedCredential,
Gyroscope,
HTMLContentElement,
HTMLDialogElement,
HTMLShadowElement,
ImageCapture,
InputDeviceCapabilities,
@ -98,10 +92,6 @@ interface nsIPrintSettings;
Keyboard,
KeyboardLayoutMap,
LinearAccelerationSensor,
Lock,
LockManager,
MediaMetadata,
MediaSession,
MediaSettingsRange,
MIDIAccess,
MIDIConnectionEvent,
@ -111,11 +101,8 @@ interface nsIPrintSettings;
MIDIOutput,
MIDIOutputMap,
MIDIPort,
NavigationPreloadManager,
NetworkInformation,
offscreenBuffering,
OffscreenCanvas,
OffscreenCanvasRenderingContext2D,
onbeforeinstallprompt,
oncancel,
onmousewheel,
@ -132,9 +119,7 @@ interface nsIPrintSettings;
PaymentRequest,
PaymentRequestUpdateEvent,
PaymentResponse,
PerformanceEventTiming,
PerformanceLongTaskTiming,
PerformancePaintTiming,
PhotoCapabilities,
PictureInPictureWindow,
Presentation,
@ -148,27 +133,21 @@ interface nsIPrintSettings;
RelativeOrientationSensor,
RemotePlayback,
ReportingObserver,
RTCDtlsTransport,
RTCError,
RTCErrorEvent,
RTCIceTransport,
RTCSctpTransport,
Sensor,
SensorErrorEvent,
SharedArrayBuffer,
styleMedia,
StylePropertyMap,
StylePropertyMapReadOnly,
SVGDiscardElement,
SyncManager,
TaskAttributionTiming,
TextDecoderStream,
TextEncoderStream,
TextEvent,
Touch,
TouchEvent,
TouchList,
TransformStream,
USB,
USBAlternateInterface,
USBConfiguration,
@ -183,7 +162,6 @@ interface nsIPrintSettings;
USBIsochronousOutTransferResult,
USBOutTransferResult,
UserActivation,
visualViewport,
webkitCancelAnimationFrame,
webkitMediaStream,
WebKitMutationObserver,
@ -196,9 +174,7 @@ interface nsIPrintSettings;
webkitSpeechRecognition,
webkitSpeechRecognitionError,
webkitSpeechRecognitionEvent,
webkitStorageInfo,
Worklet,
WritableStream)]
webkitStorageInfo)]
/*sealed*/ interface Window : EventTarget {
// the current browsing context
[LegacyUnforgeable, Constant, StoreInSlot,