diff --git a/tests/modernizr.spec.ts b/tests/modernizr.spec.ts index efc0458ddc..809e4c434c 100644 --- a/tests/modernizr.spec.ts +++ b/tests/modernizr.spec.ts @@ -32,32 +32,74 @@ async function checkFeatures(name: string, context: any, server: any) { it('safari-14-1', async ({ browser, browserName, platform, server }) => { it.fixme(); - /* - + "atRule": undefined, - "atob-btoa": true, - "atobbtoa": true, - - "audio": true, - + "audio": Object { - + "m4a": "maybe", - + "mp3": "probably", - + "ogg": "", - + "opus": "", - + "wav": "", - + }, - - "hairline": true, - + "hairline": false, - + "hasEvent": undefined, - + "mq": undefined, - + "testStyles": undefined, - - "video": true, - + "video": Object { - + "h264": "probably", - + "hls": "probably", - + "ogg": "", - + "vp9": "", - + "webm": "", - + }, - */ + /* macOS + + "atRule": undefined, + "atob-btoa": true, + "atobbtoa": true, + - "audio": true, + + "audio": Object { + + "m4a": "maybe", + + "mp3": "probably", + + "ogg": "", + + "opus": "", + + "wav": "", + + }, + - "hairline": true, + + "hairline": false, + + "hasEvent": undefined, + + "mq": undefined, + + "testStyles": undefined, + - "video": true, + + "video": Object { + + "h264": "probably", + + "hls": "probably", + + "ogg": "", + + "vp9": "", + + "webm": "", + + }, + */ + + /* GTK + - "gamepads": true, + + "gamepads": false, + - "getusermedia": true, + - "hairline": true, + + "getusermedia": false, + + "hairline": false, + + "hasEvent": undefined, + + "input": Object { + - "list": true, + + "list": false, + }, + "inputtypes": Object { + - "color": true, + - "date": true, + + "color": false, + + "date": false, + - "datetime-local": true, + + "datetime-local": false, + - "time": true, + + "time": false, + }, + - "peerconnection": true, + + "peerconnection": false, + - "pointerlock": true, + + "pointerlock": false, + - "speechrecognition": true, + - "speechsynthesis": true, + + "speechrecognition": false, + + "speechsynthesis": false, + - "subpixelfont": true, + + "subpixelfont": false, + - "todataurljpeg": true, + + "todataurljpeg": false, + */ + + /* WPE + - "datalistelem": true, + + "datalistelem": false, + */ it.skip(browserName !== 'webkit' || platform !== 'darwin'); const context = await browser.newContext(); @@ -67,58 +109,102 @@ it('safari-14-1', async ({ browser, browserName, platform, server }) => { it('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, server }) => { it.fixme(); - /* - + "atRule": undefined, - "atob-btoa": true, - "atobbtoa": true, - - "audio": true, - + "audio": Object { - + "m4a": "maybe", - + "mp3": "probably", - + "ogg": "", - + "opus": "", - + "wav": "", - + }, - - "capture": true, - + "capture": false, - - "cssscrollbar": false, - + "cssscrollbar": true, - - "cssvhunit": false, - - "cssvmaxunit": false, - + "cssvhunit": true, - + "cssvmaxunit": true, - - "devicemotion": true, - - "deviceorientation": true, - + "devicemotion": false, - + "deviceorientation": false, - - "fullscreen": false, - + "fullscreen": true, - - "hairline": true, - + "hairline": false, - + "hasEvent": undefined, - "inputtypes": Object { - - "month": true, - + "month": false, - - "week": true, - + "week": false, - }, - + "mq": undefined, - - "notification": false, - + "notification": true, - - "overflowscrolling": true, - + "overflowscrolling": false, - - "pointerlock": false, - + "pointerlock": true, - + "testStyles": undefined, - - "video": true, - + "video": Object { - + "h264": "probably", - + "hls": "probably", - + "ogg": "", - + "vp9": "", - + "webm": "", - + }, - */ + /* macOS + + "atRule": undefined, + "atob-btoa": true, + "atobbtoa": true, + - "audio": true, + + "audio": Object { + + "m4a": "maybe", + + "mp3": "probably", + + "ogg": "", + + "opus": "", + + "wav": "", + + }, + - "capture": true, + + "capture": false, + - "cssscrollbar": false, + + "cssscrollbar": true, + - "cssvhunit": false, + - "cssvmaxunit": false, + + "cssvhunit": true, + + "cssvmaxunit": true, + - "devicemotion": true, + - "deviceorientation": true, + + "devicemotion": false, + + "deviceorientation": falsef, + - "fullscreen": false, + + "fullscreen": true, + - "hairline": true, + + "hairline": false, + + "hasEvent": undefined, + "inputtypes": Object { + - "month": true, + + "month": false, + - "week": true, + + "week": false, + }, + + "mq": undefined, + - "notification": false, + + "notification": true, + - "overflowscrolling": true, + + "overflowscrolling": false, + - "pointerlock": false, + + "pointerlock": true, + + "testStyles": undefined, + - "video": true, + + "video": Object { + + "h264": "probably", + + "hls": "probably", + + "ogg": "", + + "vp9": "", + + "webm": "", + + }, + */ + + /* GTK + - "datalistelem": true, + + "datalistelem": false, + - "gamepads": true, + + "gamepads": false, + - "getusermedia": true, + - "hairline": true, + + "getusermedia": false, + + "hairline": false, + + "hasEvent": undefined, + + "input": Object { + - "list": true, + + "list": false, + }, + "inputtypes": Object { + - "color": true, + - "date": true, + + "color": false, + + "date": false, + - "datetime-local": true, + + "datetime-local": false, + - "time": true, + + "time": false, + }, + - "peerconnection": true, + + "peerconnection": false, + - "pointerlock": true, + + "pointerlock": false, + - "speechrecognition": true, + - "speechsynthesis": true, + + "speechrecognition": false, + + "speechsynthesis": false, + - "subpixelfont": true, + + "subpixelfont": false, + - "todataurljpeg": true, + + "todataurljpeg": false, + */ + + /* WPE + - "datalistelem": true, + + "datalistelem": false, + */ it.skip(browserName !== 'webkit' || platform !== 'darwin'); const iPhone = playwright.devices['iPhone 12'];