diff --git a/BackgroundSync/interfaces.https.any.js b/BackgroundSync/interfaces.https.any.js index 325bef8edb..989139e990 100644 --- a/BackgroundSync/interfaces.https.any.js +++ b/BackgroundSync/interfaces.https.any.js @@ -10,6 +10,5 @@ idl_test( ['service-workers', 'html', 'dom'], idlArray => { // TODO: Objects - }, - 'Background Sync interfaces.' + } ); diff --git a/FileAPI/idlharness.html b/FileAPI/idlharness.html index eb55b6550e..db6592e622 100644 --- a/FileAPI/idlharness.html +++ b/FileAPI/idlharness.html @@ -35,8 +35,7 @@

File API automated IDL tests

FileList: ['document.querySelector("#fileChooser").files'], FileReader: ['new FileReader()'] }); - }, - 'Test FileAPI IDL implementation' + } ); diff --git a/FileAPI/idlharness.worker.js b/FileAPI/idlharness.worker.js index e65ee01ff5..5bf82e0b89 100644 --- a/FileAPI/idlharness.worker.js +++ b/FileAPI/idlharness.worker.js @@ -16,7 +16,6 @@ idl_test( FileReader: ['new FileReader()'], FileReaderSync: ['new FileReaderSync()'] }); - }, - 'Test FileAPI IDL implementation' + } ); done(); diff --git a/IndexedDB/idlharness.any.js b/IndexedDB/idlharness.any.js index bf83066ea8..efb84661e8 100644 --- a/IndexedDB/idlharness.any.js +++ b/IndexedDB/idlharness.any.js @@ -20,6 +20,5 @@ idl_test( IDBVersionChangeEvent: ['new IDBVersionChangeEvent("type")'], DOMStringList: [], }); - }, - 'IndexedDB interfaces' + } ); diff --git a/WebCryptoAPI/idlharness.https.any.js b/WebCryptoAPI/idlharness.https.any.js index f5095cba4f..b0ccebd9f4 100644 --- a/WebCryptoAPI/idlharness.https.any.js +++ b/WebCryptoAPI/idlharness.https.any.js @@ -11,6 +11,5 @@ idl_test( Crypto: ['crypto'], SubtleCrypto: ['crypto.subtle'] }); - }, - 'WebCryptoAPI interfaces' + } ); diff --git a/accelerometer/idlharness.https.window.js b/accelerometer/idlharness.https.window.js index f6cbcd960c..1e041e9a23 100644 --- a/accelerometer/idlharness.https.window.js +++ b/accelerometer/idlharness.https.window.js @@ -14,6 +14,5 @@ idl_test( LinearAccelerationSensor: ['new LinearAccelerationSensor();'], GravitySensor: ['new GravitySensor();'] }); - }, - 'Test IDL implementation of Accelerometer Sensor' + } ); diff --git a/ambient-light/idlharness.https.window.js b/ambient-light/idlharness.https.window.js index ea99fc1fc8..211e6aa017 100644 --- a/ambient-light/idlharness.https.window.js +++ b/ambient-light/idlharness.https.window.js @@ -12,6 +12,5 @@ idl_test( idl_array.add_objects({ AmbientLightSensor: ['new AmbientLightSensor()'] }); - }, - 'Test IDL implementation of Ambient Light Sensor' + } ); diff --git a/appmanifest/idlharness.window.js b/appmanifest/idlharness.window.js index a877c76fa3..55e8b9871e 100644 --- a/appmanifest/idlharness.window.js +++ b/appmanifest/idlharness.window.js @@ -13,6 +13,5 @@ idl_test( Window: ['window'], BeforeInstallPromptEvent: ['new BeforeInstallPromptEvent("type")'], }); - }, - 'appmanifest interfaces' + } ); diff --git a/background-fetch/idlharness.https.any.js b/background-fetch/idlharness.https.any.js index ad204771c3..f2c8a56590 100644 --- a/background-fetch/idlharness.https.any.js +++ b/background-fetch/idlharness.https.any.js @@ -20,6 +20,5 @@ idl_test( BackgroundFetchUpdateEvent: ['new BackgroundFetchUpdateEvent("type")'], }); } - }, - 'background-fetch interfaces' + } ); diff --git a/battery-status/battery-interface-idlharness.https.window.js b/battery-status/battery-interface-idlharness.https.window.js index 3db3e16e2e..24bae5d46c 100644 --- a/battery-status/battery-interface-idlharness.https.window.js +++ b/battery-status/battery-interface-idlharness.https.window.js @@ -15,6 +15,5 @@ idl_test( }) self.manager = await navigator.getBattery(); - }, - 'Test IDL implementation of Battery Status API' + } ); diff --git a/bluetooth/idl/idlharness.tentative.https.window.js b/bluetooth/idl/idlharness.tentative.https.window.js index 4bacd5688f..f4e6d95869 100644 --- a/bluetooth/idl/idlharness.tentative.https.window.js +++ b/bluetooth/idl/idlharness.tentative.https.window.js @@ -20,6 +20,5 @@ idl_test( Bluetooth: ['navigator.bluetooth'], BluetoothAdvertisingEvent: ['event'], }); - }, - 'web-bluetooth interfaces.' + } ); diff --git a/content-security-policy/embedded-enforcement/idlharness.window.js b/content-security-policy/embedded-enforcement/idlharness.window.js index 6ac306ca0a..2845f82c95 100644 --- a/content-security-policy/embedded-enforcement/idlharness.window.js +++ b/content-security-policy/embedded-enforcement/idlharness.window.js @@ -12,6 +12,5 @@ idl_test( idl_array.add_objects({ HTMLIFrameElement: ['document.createElement("iframe")'], }); - }, - 'csp-embedded-enforcement IDL' + } ); diff --git a/content-security-policy/securitypolicyviolation/idlharness.window.js b/content-security-policy/securitypolicyviolation/idlharness.window.js index 361282a327..fc5e65d6cf 100644 --- a/content-security-policy/securitypolicyviolation/idlharness.window.js +++ b/content-security-policy/securitypolicyviolation/idlharness.window.js @@ -14,6 +14,5 @@ idl_test( 'new SecurityPolicyViolationEvent("securitypolicyviolation")' ] }) - }, - 'Test Content Security Policy IDL implementation' + } ); diff --git a/cookie-store/idlharness.tentative.https.html b/cookie-store/idlharness.tentative.https.html index 864b6994f0..fafe79ad57 100644 --- a/cookie-store/idlharness.tentative.https.html +++ b/cookie-store/idlharness.tentative.https.html @@ -17,7 +17,6 @@ CookieStore: ['cookieStore'], CookieChangeEvent: ['new CookieChangeEvent("change")'], }); - }, - 'Interface test' + } ); diff --git a/css/css-animations/idlharness.html b/css/css-animations/idlharness.html index b25b97048a..1d3ed2b9b8 100644 --- a/css/css-animations/idlharness.html +++ b/css/css-animations/idlharness.html @@ -39,8 +39,8 @@ CSSKeyframesRule: ['keyframes'], CSSKeyframeRule: ['keyframes.cssRules[0]'], }); - }, - 'Test css-animations IDL implementation'); + } + ); diff --git a/css/css-counter-styles/idlharness.html b/css/css-counter-styles/idlharness.html index b36a5de12f..e914b41b0e 100644 --- a/css/css-counter-styles/idlharness.html +++ b/css/css-counter-styles/idlharness.html @@ -28,7 +28,6 @@ idl_array.add_objects({ CSSCounterStyleRule: ['counter'], }); - }, - 'css-counter-styles interfaces' + } ); diff --git a/css/css-font-loading/idlharness.https.html b/css/css-font-loading/idlharness.https.html index 9e3d45fbe1..61a99e01b5 100644 --- a/css/css-font-loading/idlharness.https.html +++ b/css/css-font-loading/idlharness.https.html @@ -18,7 +18,6 @@ FontFaceSetLoadEvent: ['new FontFaceSetLoadEvent("type")'], FontFaceSet: ['document.fonts'], }); - }, - 'css-font-loading interfaces' + } ); diff --git a/css/css-images/idlharness.html b/css/css-images/idlharness.html index ec9c3584c2..17bccbddce 100644 --- a/css/css-images/idlharness.html +++ b/css/css-images/idlharness.html @@ -13,7 +13,6 @@ ['cssom'], idl_array => { // No objects, - }, - 'Test IDL implementation of css-masking' + } ); diff --git a/css/css-masking/idlharness.html b/css/css-masking/idlharness.html index 41bab663d4..c415eaaa67 100644 --- a/css/css-masking/idlharness.html +++ b/css/css-masking/idlharness.html @@ -17,8 +17,7 @@ SVGClipPathElement: [document.querySelector('#clip1')], SVGMaskElement: [document.querySelector('#mask1')], }); - }, - 'Test IDL implementation of css-masking' + } ); diff --git a/css/css-parser-api/idlharness.html b/css/css-parser-api/idlharness.html index 79b607954d..078a1081ca 100644 --- a/css/css-parser-api/idlharness.html +++ b/css/css-parser-api/idlharness.html @@ -13,7 +13,6 @@ ['cssom'], idl_array => { // No objects - }, - 'CSS-Parser-API interfaces' + } ); diff --git a/css/css-regions/idlharness.html b/css/css-regions/idlharness.html index 7f56e18b37..3d6f55c807 100644 --- a/css/css-regions/idlharness.html +++ b/css/css-regions/idlharness.html @@ -15,7 +15,6 @@ idl_array.add_objects({ Document: ['document'], }) - }, - 'css-regions interfaces' + } ); diff --git a/css/css-transitions/idlharness.html b/css/css-transitions/idlharness.html index 6856952cce..4cc7ee50eb 100644 --- a/css/css-transitions/idlharness.html +++ b/css/css-transitions/idlharness.html @@ -19,7 +19,6 @@ HTMLElement: ['document'], Window: ['window'], }) - }, - 'Test IDL implementation of css-transitions API' + } ); diff --git a/css/css-typed-om/interfaces.html b/css/css-typed-om/interfaces.html index d21f3f4698..976bb32f2f 100644 --- a/css/css-typed-om/interfaces.html +++ b/css/css-typed-om/interfaces.html @@ -72,7 +72,6 @@ CSSPerspective: ['perspective'], CSSMatrixComponent: ['matrix'], }); - }, - 'CSS Typed OM IDL test' + } ); diff --git a/css/cssom-view/interfaces.html b/css/cssom-view/interfaces.html index c545e32c4b..d3de0cfa59 100644 --- a/css/cssom-view/interfaces.html +++ b/css/cssom-view/interfaces.html @@ -40,7 +40,6 @@

CSSOM View IDL tests

}); await waitForLoad; - }, - 'cssom-view interfaces' + } ); diff --git a/css/cssom/interfaces.html b/css/cssom/interfaces.html index d409e48159..3204fb8c7e 100644 --- a/css/cssom/interfaces.html +++ b/css/cssom/interfaces.html @@ -70,8 +70,7 @@

CSSOM IDL tests

self.sheet = style_element.sheet; self.svg_element = document.getElementById('svgElement'); self.xmlss_pi = document.getElementById('xmlssPiIframe').contentDocument.firstChild; - }, - 'Test driver' + } ); diff --git a/css/filter-effects/interfaces.any.js b/css/filter-effects/interfaces.any.js index 88fab2fb86..e7de16e8d6 100644 --- a/css/filter-effects/interfaces.any.js +++ b/css/filter-effects/interfaces.any.js @@ -10,6 +10,5 @@ idl_test( ['SVG', 'html', 'dom'], idl_array => { // TODO: objects - }, - 'Filter effects interfaces.' + } ); diff --git a/domparsing/interfaces.any.js b/domparsing/interfaces.any.js index f01aff013e..870c165b21 100644 --- a/domparsing/interfaces.any.js +++ b/domparsing/interfaces.any.js @@ -15,5 +15,5 @@ idl_test( Range: ['new Range()'], XMLSerializer: ['new XMLSerializer()'], }) - }, - 'DOM-Parsing interfaces'); + } +); diff --git a/fetch/api/idl.any.js b/fetch/api/idl.any.js index a3dec79794..ccd4d2c0b4 100644 --- a/fetch/api/idl.any.js +++ b/fetch/api/idl.any.js @@ -16,6 +16,5 @@ idl_test( } else if (self.GLOBAL.isWorker()) { idl_array.add_objects({ WorkerGlobalScope: ['self'] }); } - }, - 'Fetch Standard IDL' + } ); diff --git a/fetch/cors-rfc1918/idlharness.tentative.any.js b/fetch/cors-rfc1918/idlharness.tentative.any.js index b3b6f2bb2f..88468dc19a 100644 --- a/fetch/cors-rfc1918/idlharness.tentative.any.js +++ b/fetch/cors-rfc1918/idlharness.tentative.any.js @@ -19,6 +19,5 @@ idl_test( Document: ['document'], }); } - }, - 'Test CORS RFC1918 interfaces' + } ); diff --git a/gamepad/idlharness-manual.html b/gamepad/idlharness-manual.html index c04b911cf2..2964ee550d 100644 --- a/gamepad/idlharness-manual.html +++ b/gamepad/idlharness-manual.html @@ -32,7 +32,6 @@ t.step_timeout(() => { reject('Timed out waiting for gamepad'); }, 5000); }); return Promise.race([gamepadConnected, timeout]); - }, - 'Test IDL implementation of Gamepad API' + } ); diff --git a/gamepad/idlharness.window.js b/gamepad/idlharness.window.js index e2c0e2b63e..7943520b5b 100644 --- a/gamepad/idlharness.window.js +++ b/gamepad/idlharness.window.js @@ -13,6 +13,5 @@ idl_test( GamepadEvent: ['new GamepadEvent("gamepad")'], Navigator: ['navigator'] }); - }, - 'Test IDL implementation of Gamepad API' + } ); diff --git a/generic-sensor/idlharness.https.window.js b/generic-sensor/idlharness.https.window.js index 8da0307cf6..f591d75520 100644 --- a/generic-sensor/idlharness.https.window.js +++ b/generic-sensor/idlharness.https.window.js @@ -19,5 +19,5 @@ idl_test( 'new SensorErrorEvent("error", { error: new DOMException });' ], }); - }, - 'Test IDL implementation of Generic Sensor'); + } +); diff --git a/geolocation-sensor/idlharness.https.window.js b/geolocation-sensor/idlharness.https.window.js index eb3da34f67..d843dc67dd 100644 --- a/geolocation-sensor/idlharness.https.window.js +++ b/geolocation-sensor/idlharness.https.window.js @@ -12,6 +12,5 @@ idl_test( idl_array.add_objects({ GeolocationSensor: ['new GeolocationSensor'], }); - }, - 'Test IDL implementation of Geolocation Sensor' + } ); diff --git a/gyroscope/idlharness.https.window.js b/gyroscope/idlharness.https.window.js index dfdac4e1f3..00f6696d79 100644 --- a/gyroscope/idlharness.https.window.js +++ b/gyroscope/idlharness.https.window.js @@ -12,6 +12,5 @@ idl_test( idl_array.add_objects({ Gyroscope: ['new Gyroscope();'] }); - }, - 'Test IDL implementation of Gyroscope Sensor' + } ); diff --git a/html-media-capture/idlharness.window.js b/html-media-capture/idlharness.window.js index 5382f53b48..50faf83514 100644 --- a/html-media-capture/idlharness.window.js +++ b/html-media-capture/idlharness.window.js @@ -14,5 +14,5 @@ idl_test( }); self.input = document.createElement('input'); - }, - 'html-media-capture interfaces.'); + } +); diff --git a/html/dom/interfaces.https.html b/html/dom/interfaces.https.html index 78f7d13d1a..6b7e37bf1f 100644 --- a/html/dom/interfaces.https.html +++ b/html/dom/interfaces.https.html @@ -216,8 +216,7 @@

HTML IDL tests

}); idlArray.prevent_multiple_testing('HTMLElement'); await waitForLoad; - }, - 'html interfaces' + } ); diff --git a/keyboard-lock/idlharness.https.window.js b/keyboard-lock/idlharness.https.window.js index 27573bd877..7a20d8b544 100644 --- a/keyboard-lock/idlharness.https.window.js +++ b/keyboard-lock/idlharness.https.window.js @@ -13,6 +13,5 @@ idl_test( Navigator: ['navigator'], Keyboard: ['navigator.keyboard'], }); - }, - 'keyboard-lock interfaces' + } ); diff --git a/keyboard-map/idlharness.https.window.js b/keyboard-map/idlharness.https.window.js index d80016677b..18421368f3 100644 --- a/keyboard-map/idlharness.https.window.js +++ b/keyboard-map/idlharness.https.window.js @@ -16,6 +16,5 @@ idl_test( }); self.layout_map = await navigator.keyboard.getLayoutMap(); - }, - 'Test IDL implementation of Keyboard Map API' + } ); diff --git a/magnetometer/idlharness.https.window.js b/magnetometer/idlharness.https.window.js index 97a3c85e39..e6b8f7d238 100644 --- a/magnetometer/idlharness.https.window.js +++ b/magnetometer/idlharness.https.window.js @@ -13,6 +13,5 @@ idl_test( Magnetometer: ['new Magnetometer();'], UncalibratedMagnetometer: ['new UncalibratedMagnetometer();'] }); - }, - 'Test IDL implementation of Magnetometer Sensor' + } ); diff --git a/media-capabilities/idlharness.any.js b/media-capabilities/idlharness.any.js index 0be4674f59..bd20d5b4b4 100644 --- a/media-capabilities/idlharness.any.js +++ b/media-capabilities/idlharness.any.js @@ -41,7 +41,6 @@ promise_test(async () => { Screen: ['screen'], ScreenLuminance: ['screen.luminance'], }); - }, - 'Test IDL implementation of Media Capabilities' + } ); }); diff --git a/mediacapture-fromelement/idlharness.window.js b/mediacapture-fromelement/idlharness.window.js index 25c8233f14..c58e63ff12 100644 --- a/mediacapture-fromelement/idlharness.window.js +++ b/mediacapture-fromelement/idlharness.window.js @@ -28,6 +28,5 @@ idl_test( HTMLCanvasElement: ['canvas'], CanvasCaptureMediaStreamTrack: ['track'], }); - }, - 'Test mediacapture-fromelement IDL interfaces' + } ); diff --git a/mediacapture-image/idlharness.window.js b/mediacapture-image/idlharness.window.js index 0c06405aba..9d8f7eefb8 100644 --- a/mediacapture-image/idlharness.window.js +++ b/mediacapture-image/idlharness.window.js @@ -22,6 +22,5 @@ idl_test( const track = canvas.captureStream().getVideoTracks()[0]; self.capture = new ImageCapture(track); self.capabilities = await capture.getPhotoCapabilities(); - }, - 'Test mediacapture-image IDL interfaces' + } ); diff --git a/mediacapture-record/idlharness.window.js b/mediacapture-record/idlharness.window.js index 3b7947430f..86f5a15882 100644 --- a/mediacapture-record/idlharness.window.js +++ b/mediacapture-record/idlharness.window.js @@ -34,6 +34,5 @@ idl_test( error = new MediaRecorderErrorEvent("type", {}); } catch(e) {} idl_array.add_objects({ MediaRecorderErrorEvent: [error] }); - }, - 'mediastream-recording interfaces' + } ); diff --git a/mediasession/idlharness.window.js b/mediasession/idlharness.window.js index f9ac62d1e9..5fa0d22c10 100644 --- a/mediasession/idlharness.window.js +++ b/mediasession/idlharness.window.js @@ -14,6 +14,5 @@ idl_test( MediaSession: ['navigator.mediaSession'], Navigator: ['navigator'] }); - }, - 'Test IDL implementation of Media Session' + } ); diff --git a/navigation-timing/idlharness.window.js b/navigation-timing/idlharness.window.js index a782773e59..8cc3546b3c 100644 --- a/navigation-timing/idlharness.window.js +++ b/navigation-timing/idlharness.window.js @@ -17,6 +17,5 @@ idl_test( 'performance.getEntriesByType("navigation")[0]' ] }); - }, - 'navigation-timing interfaces' + } ); diff --git a/netinfo/idlharness.any.js b/netinfo/idlharness.any.js index d8e1561081..4610508b69 100644 --- a/netinfo/idlharness.any.js +++ b/netinfo/idlharness.any.js @@ -15,5 +15,5 @@ idl_test( } else { idl_array.add_objects({ Navigator: ['navigator'] }); } - }, - 'netinfo interfaces.'); + } +); diff --git a/orientation-sensor/idlharness.https.window.js b/orientation-sensor/idlharness.https.window.js index 39217fcc62..86f277487a 100644 --- a/orientation-sensor/idlharness.https.window.js +++ b/orientation-sensor/idlharness.https.window.js @@ -14,6 +14,5 @@ idl_test( RelativeOrientationSensor: ['new RelativeOrientationSensor();'] }); idl_array.prevent_multiple_testing('OrientationSensor'); - }, - 'Test IDL implementation of Orientation Sensor' + } ); diff --git a/page-visibility/idlharness.window.js b/page-visibility/idlharness.window.js index 8ef2561b9f..8cc2f83095 100644 --- a/page-visibility/idlharness.window.js +++ b/page-visibility/idlharness.window.js @@ -12,6 +12,5 @@ idl_test( idl_array.add_objects({ Document: ['document'], }); - }, - 'page-visibility interfaces' + } ); diff --git a/paint-timing/idlharness.window.js b/paint-timing/idlharness.window.js index f108cc4ed1..115af73dfc 100644 --- a/paint-timing/idlharness.window.js +++ b/paint-timing/idlharness.window.js @@ -24,5 +24,5 @@ idl_test( t.step_timeout(() => reject('Timed out waiting for paint event'), 3000); }); return Promise.race([awaitPaint, timeout]); - }, - 'paint-timing interfaces.'); + } +); diff --git a/payment-method-basic-card/idlharness.window.js b/payment-method-basic-card/idlharness.window.js index a1078c642e..cd158a6297 100644 --- a/payment-method-basic-card/idlharness.window.js +++ b/payment-method-basic-card/idlharness.window.js @@ -9,4 +9,4 @@ idl_test( ['payment-method-basic-card'], [], // No deps null, // No objects - 'payment-method-basic-card interfaces.'); +); diff --git a/payment-request/idlharness.https.window.js b/payment-request/idlharness.https.window.js index 57a2c942fb..9a068c6d27 100644 --- a/payment-request/idlharness.https.window.js +++ b/payment-request/idlharness.https.window.js @@ -26,6 +26,5 @@ idl_test( PaymentMethodChangeEvent: ['new PaymentMethodChangeEvent("paymentmethodchange")'], PaymentRequestUpdateEvent: ['new PaymentRequestUpdateEvent("paymentrequestupdate")'], }); - }, - 'Setup for Payment Request API IDL tests.' + } ); diff --git a/performance-timeline/idlharness.any.js b/performance-timeline/idlharness.any.js index a1a6343b4c..585bda92dc 100644 --- a/performance-timeline/idlharness.any.js +++ b/performance-timeline/idlharness.any.js @@ -37,8 +37,7 @@ promise_test(async t => { PerformanceObserver: ['observer'], PerformanceObserverEntryList: ['entryList'], }); - }, - 'Test IDL implementation of performance-timeline API' + } ); }; diff --git a/picture-in-picture/idlharness.window.js b/picture-in-picture/idlharness.window.js index ac4c0bfe01..a7f25e3be5 100644 --- a/picture-in-picture/idlharness.window.js +++ b/picture-in-picture/idlharness.window.js @@ -21,6 +21,5 @@ idl_test( self.video = await loadVideo(); self.pipw = await requestPictureInPictureWithTrustedClick(video); - }, - 'picture-in-picture interfaces.' + } ); diff --git a/pointerevents/extension/idlharness.window.js b/pointerevents/extension/idlharness.window.js index 703e1c455a..895a89109c 100644 --- a/pointerevents/extension/idlharness.window.js +++ b/pointerevents/extension/idlharness.window.js @@ -10,6 +10,5 @@ idl_test( idl_array.add_objects({ PointerEvent: ['new PointerEvent("pointer")'], }) - }, - 'pointerevents extension interfaces' + } ); diff --git a/pointerevents/idlharness.window.js b/pointerevents/idlharness.window.js index aa9b11c2c8..89a994af30 100644 --- a/pointerevents/idlharness.window.js +++ b/pointerevents/idlharness.window.js @@ -15,6 +15,5 @@ idl_test( Navigator: ['navigator'], PointerEvent: ['new PointerEvent("type")'] }); - }, - 'pointerevents interfaces' + } ); diff --git a/pointerlock/interfaces.window.js b/pointerlock/interfaces.window.js index 99e2b44327..f176343a48 100644 --- a/pointerlock/interfaces.window.js +++ b/pointerlock/interfaces.window.js @@ -14,5 +14,5 @@ idl_test( Element: ["window.document.documentElement"], MouseEvent: ["new MouseEvent('foo')"] }); - }, - 'pointerlock interfaces.'); + } +); diff --git a/proximity/idlharness.https.window.js b/proximity/idlharness.https.window.js index 08270650c5..bf27f278ce 100644 --- a/proximity/idlharness.https.window.js +++ b/proximity/idlharness.https.window.js @@ -12,6 +12,5 @@ idl_test( idl_array.add_objects({ ProximitySensor: ['new ProximitySensor();'] }); - }, - 'Test IDL implementation of Proximity Sensor' + } ); diff --git a/remote-playback/idlharness.window.js b/remote-playback/idlharness.window.js index 7309f8cc47..73bc998f74 100644 --- a/remote-playback/idlharness.window.js +++ b/remote-playback/idlharness.window.js @@ -24,6 +24,5 @@ idl_test( HTMLVideoElement: ['media'], RemotePlayback: ['media.remote'] }); - }, - 'remote-playback interfaces' + } ); diff --git a/resize-observer/idlharness.window.js b/resize-observer/idlharness.window.js index 240f5ecd10..592af2e0c0 100644 --- a/resize-observer/idlharness.window.js +++ b/resize-observer/idlharness.window.js @@ -33,6 +33,5 @@ idl_test( } ]); await helper.start(); - }, - 'Test IDL implementation of ResizeObserver' + } ); diff --git a/resource-timing/idlharness.any.js b/resource-timing/idlharness.any.js index 6dff5e85e0..a7542f191c 100644 --- a/resource-timing/idlharness.any.js +++ b/resource-timing/idlharness.any.js @@ -19,6 +19,5 @@ idl_test( Performance: ['performance'], PerformanceResourceTiming: ['resource'] }); - }, - 'Test server-timing IDL implementation' + } ); diff --git a/resources/idlharness.js b/resources/idlharness.js index 91818ef590..e6477e6a1f 100644 --- a/resources/idlharness.js +++ b/resources/idlharness.js @@ -3197,7 +3197,7 @@ IdlNamespace.prototype.test = function () * as adding objects. Do not call idl_array.test() in the setup; it is * called by this function (idl_test). */ -function idl_test(srcs, deps, idl_setup_func, test_name) { +function idl_test(srcs, deps, idl_setup_func) { return promise_test(function (t) { var idl_array = new IdlArray(); srcs = (srcs instanceof Array) ? srcs : [srcs] || []; @@ -3234,7 +3234,7 @@ function idl_test(srcs, deps, idl_setup_func, test_name) { throw error; } }); - }, test_name || 'idl_test setup'); + }, 'idl_test setup'); } /** diff --git a/screen-orientation/idlharness.window.js b/screen-orientation/idlharness.window.js index d4b80de3b2..115f6ccb1e 100644 --- a/screen-orientation/idlharness.window.js +++ b/screen-orientation/idlharness.window.js @@ -13,6 +13,5 @@ idl_test( Screen: ['screen'], ScreenOrientation: ['screen.orientation'] }); - }, - 'Test IDL implementation of Screen Orientation API' + } ); diff --git a/selection/idlharness.window.js b/selection/idlharness.window.js index 7322a77121..b211797777 100644 --- a/selection/idlharness.window.js +++ b/selection/idlharness.window.js @@ -14,6 +14,5 @@ idl_test( Document: ['document'], Selection: ['getSelection()'], }); - }, - 'selection-api interfaces' + } ); diff --git a/subresource-integrity/idlharness.window.js b/subresource-integrity/idlharness.window.js index d4a6efda47..c82b00a903 100644 --- a/subresource-integrity/idlharness.window.js +++ b/subresource-integrity/idlharness.window.js @@ -13,5 +13,5 @@ idl_test( HTMLScriptElement: ['document.createElement("script")'], HTMLLinkElement: ['document.createElement("link")'], }); - }, - 'webappsec-subresource-integrity interfaces'); + } +); diff --git a/svg/idlharness.window.js b/svg/idlharness.window.js index d71807aba4..e08adf8978 100644 --- a/svg/idlharness.window.js +++ b/svg/idlharness.window.js @@ -232,6 +232,5 @@ idl_test( SVGFETileElement: ['objects.feTile'], SVGFETurbulenceElement: ['objects.feTurbulence'] }); - }, - 'SVG interfaces' + } ); diff --git a/touch-events/idlharness.window.js b/touch-events/idlharness.window.js index dbea07ac77..f88c9aab27 100644 --- a/touch-events/idlharness.window.js +++ b/touch-events/idlharness.window.js @@ -15,6 +15,5 @@ idl_test( Touch: ['new Touch({identifier: 1, target: document})'], TouchEvent: ['new TouchEvent("name")'], }); - }, - 'Test IDL implementation of touch-events API' + } ); diff --git a/user-timing/idlharness.any.js b/user-timing/idlharness.any.js index 6c60cb555b..d1cb9b57a7 100644 --- a/user-timing/idlharness.any.js +++ b/user-timing/idlharness.any.js @@ -28,5 +28,5 @@ idl_test( PerformanceMark: ['mark'], PerformanceMeasure: ['measure'], }); - }, - 'Test IDL implementation of user-timing API'); + } +); diff --git a/web-nfc/idlharness.https.window.js b/web-nfc/idlharness.https.window.js index 1d6457b226..0b3b099b77 100644 --- a/web-nfc/idlharness.https.window.js +++ b/web-nfc/idlharness.https.window.js @@ -13,5 +13,5 @@ idl_test( Navigator: ['navigator'], NFC: ['navigator.nfc'], }); - }, - 'Test IDL implementation of Web NFC API'); + } +); diff --git a/web-share/idlharness.https.window.js b/web-share/idlharness.https.window.js index 6a69c8d1bf..cbaf9d72c5 100644 --- a/web-share/idlharness.https.window.js +++ b/web-share/idlharness.https.window.js @@ -12,6 +12,5 @@ idl_test( idl_array.add_objects({ Navigator: ['navigator'] }); - }, - 'Test driver' + } ); diff --git a/webaudio/idlharness.https.window.js b/webaudio/idlharness.https.window.js index eb4734b0d6..c2bae34510 100644 --- a/webaudio/idlharness.https.window.js +++ b/webaudio/idlharness.https.window.js @@ -70,6 +70,5 @@ idl_test( await context.audioWorklet.addModule( 'the-audio-api/the-audioworklet-interface/processors/dummy-processor.js'); self.worklet_node = new AudioWorkletNode(context, 'dummy'); - }, - 'Test driver' + } ); diff --git a/webauthn/idlharness.https.window.js b/webauthn/idlharness.https.window.js index 8ca5b99c86..060b0c11c5 100644 --- a/webauthn/idlharness.https.window.js +++ b/webauthn/idlharness.https.window.js @@ -17,8 +17,7 @@ promise_test(() => { PublicKeyCredential: ['cred'], AuthenticatorAssertionResponse: ['assertionResponse'] }); - }, - 'WebAuthn interfaces.' + } ); let challengeBytes = new Uint8Array(16); diff --git a/webgl/webgl1-idlharness.window.js b/webgl/webgl1-idlharness.window.js index 263fd812e2..884def896c 100644 --- a/webgl/webgl1-idlharness.window.js +++ b/webgl/webgl1-idlharness.window.js @@ -10,6 +10,5 @@ idl_test( ['dom'], idl_array => { // TODO: objects - }, - 'webgl1 interfaces' + } ); diff --git a/webgl/webgl2-idlharness.window.js b/webgl/webgl2-idlharness.window.js index ed2c2f61a1..97edfa1828 100644 --- a/webgl/webgl2-idlharness.window.js +++ b/webgl/webgl2-idlharness.window.js @@ -10,6 +10,5 @@ idl_test( ['webgl1', 'dom'], idl_array => { // TODO: objects - }, - 'webgl2 interfaces' + } ); diff --git a/webrtc-stats/idlharness.window.js b/webrtc-stats/idlharness.window.js index ead85cb87a..23741201b6 100644 --- a/webrtc-stats/idlharness.window.js +++ b/webrtc-stats/idlharness.window.js @@ -10,5 +10,5 @@ idl_test( [], // No deps idl_array => { // No interfaces to test - }, - 'webrtc-stats interfaces.'); + } +); diff --git a/webstorage/idlharness.window.js b/webstorage/idlharness.window.js index 7a6f16a094..177eb607f7 100644 --- a/webstorage/idlharness.window.js +++ b/webstorage/idlharness.window.js @@ -25,6 +25,5 @@ idl_test( ], StorageEvent: ['new StorageEvent("storage")'] }); - }, - 'webstorage interfaces' + } ); diff --git a/webusb/idlharness.https.any.js b/webusb/idlharness.https.any.js index 9ba0198a5b..0260be2bbc 100644 --- a/webusb/idlharness.https.any.js +++ b/webusb/idlharness.https.any.js @@ -41,6 +41,5 @@ idl_test( self.usbConnectionEvent = new USBConnectionEvent('connect', { device: usbDevice }); }, 'USB device setup'); - }, - 'WebUSB IDL test' + } ); diff --git a/webxr/idlharness.https.window.js b/webxr/idlharness.https.window.js index 6ec963df6d..9576379f30 100644 --- a/webxr/idlharness.https.window.js +++ b/webxr/idlharness.https.window.js @@ -17,6 +17,5 @@ idl_test( }); self.device = await navigator.XR.requestDevice(); self.session = await device.requestSession(); - }, - 'Test IDL implementation of WebXR API' + } );