test: add modernizr gtk/wpe diff (#7454)
This commit is contained in:
parent
41a63a8825
commit
f40611306e
|
|
@ -32,32 +32,74 @@ async function checkFeatures(name: string, context: any, server: any) {
|
||||||
it('safari-14-1', async ({ browser, browserName, platform, server }) => {
|
it('safari-14-1', async ({ browser, browserName, platform, server }) => {
|
||||||
it.fixme();
|
it.fixme();
|
||||||
|
|
||||||
/*
|
/* macOS
|
||||||
+ "atRule": undefined,
|
+ "atRule": undefined,
|
||||||
"atob-btoa": true,
|
"atob-btoa": true,
|
||||||
"atobbtoa": true,
|
"atobbtoa": true,
|
||||||
- "audio": true,
|
- "audio": true,
|
||||||
+ "audio": Object {
|
+ "audio": Object {
|
||||||
+ "m4a": "maybe",
|
+ "m4a": "maybe",
|
||||||
+ "mp3": "probably",
|
+ "mp3": "probably",
|
||||||
+ "ogg": "",
|
+ "ogg": "",
|
||||||
+ "opus": "",
|
+ "opus": "",
|
||||||
+ "wav": "",
|
+ "wav": "",
|
||||||
+ },
|
+ },
|
||||||
- "hairline": true,
|
- "hairline": true,
|
||||||
+ "hairline": false,
|
+ "hairline": false,
|
||||||
+ "hasEvent": undefined,
|
+ "hasEvent": undefined,
|
||||||
+ "mq": undefined,
|
+ "mq": undefined,
|
||||||
+ "testStyles": undefined,
|
+ "testStyles": undefined,
|
||||||
- "video": true,
|
- "video": true,
|
||||||
+ "video": Object {
|
+ "video": Object {
|
||||||
+ "h264": "probably",
|
+ "h264": "probably",
|
||||||
+ "hls": "probably",
|
+ "hls": "probably",
|
||||||
+ "ogg": "",
|
+ "ogg": "",
|
||||||
+ "vp9": "",
|
+ "vp9": "",
|
||||||
+ "webm": "",
|
+ "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');
|
it.skip(browserName !== 'webkit' || platform !== 'darwin');
|
||||||
const context = await browser.newContext();
|
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('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, server }) => {
|
||||||
it.fixme();
|
it.fixme();
|
||||||
|
|
||||||
/*
|
/* macOS
|
||||||
+ "atRule": undefined,
|
+ "atRule": undefined,
|
||||||
"atob-btoa": true,
|
"atob-btoa": true,
|
||||||
"atobbtoa": true,
|
"atobbtoa": true,
|
||||||
- "audio": true,
|
- "audio": true,
|
||||||
+ "audio": Object {
|
+ "audio": Object {
|
||||||
+ "m4a": "maybe",
|
+ "m4a": "maybe",
|
||||||
+ "mp3": "probably",
|
+ "mp3": "probably",
|
||||||
+ "ogg": "",
|
+ "ogg": "",
|
||||||
+ "opus": "",
|
+ "opus": "",
|
||||||
+ "wav": "",
|
+ "wav": "",
|
||||||
+ },
|
+ },
|
||||||
- "capture": true,
|
- "capture": true,
|
||||||
+ "capture": false,
|
+ "capture": false,
|
||||||
- "cssscrollbar": false,
|
- "cssscrollbar": false,
|
||||||
+ "cssscrollbar": true,
|
+ "cssscrollbar": true,
|
||||||
- "cssvhunit": false,
|
- "cssvhunit": false,
|
||||||
- "cssvmaxunit": false,
|
- "cssvmaxunit": false,
|
||||||
+ "cssvhunit": true,
|
+ "cssvhunit": true,
|
||||||
+ "cssvmaxunit": true,
|
+ "cssvmaxunit": true,
|
||||||
- "devicemotion": true,
|
- "devicemotion": true,
|
||||||
- "deviceorientation": true,
|
- "deviceorientation": true,
|
||||||
+ "devicemotion": false,
|
+ "devicemotion": false,
|
||||||
+ "deviceorientation": false,
|
+ "deviceorientation": falsef,
|
||||||
- "fullscreen": false,
|
- "fullscreen": false,
|
||||||
+ "fullscreen": true,
|
+ "fullscreen": true,
|
||||||
- "hairline": true,
|
- "hairline": true,
|
||||||
+ "hairline": false,
|
+ "hairline": false,
|
||||||
+ "hasEvent": undefined,
|
+ "hasEvent": undefined,
|
||||||
"inputtypes": Object {
|
"inputtypes": Object {
|
||||||
- "month": true,
|
- "month": true,
|
||||||
+ "month": false,
|
+ "month": false,
|
||||||
- "week": true,
|
- "week": true,
|
||||||
+ "week": false,
|
+ "week": false,
|
||||||
},
|
},
|
||||||
+ "mq": undefined,
|
+ "mq": undefined,
|
||||||
- "notification": false,
|
- "notification": false,
|
||||||
+ "notification": true,
|
+ "notification": true,
|
||||||
- "overflowscrolling": true,
|
- "overflowscrolling": true,
|
||||||
+ "overflowscrolling": false,
|
+ "overflowscrolling": false,
|
||||||
- "pointerlock": false,
|
- "pointerlock": false,
|
||||||
+ "pointerlock": true,
|
+ "pointerlock": true,
|
||||||
+ "testStyles": undefined,
|
+ "testStyles": undefined,
|
||||||
- "video": true,
|
- "video": true,
|
||||||
+ "video": Object {
|
+ "video": Object {
|
||||||
+ "h264": "probably",
|
+ "h264": "probably",
|
||||||
+ "hls": "probably",
|
+ "hls": "probably",
|
||||||
+ "ogg": "",
|
+ "ogg": "",
|
||||||
+ "vp9": "",
|
+ "vp9": "",
|
||||||
+ "webm": "",
|
+ "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');
|
it.skip(browserName !== 'webkit' || platform !== 'darwin');
|
||||||
const iPhone = playwright.devices['iPhone 12'];
|
const iPhone = playwright.devices['iPhone 12'];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue