nit
This commit is contained in:
parent
b1c886a9ec
commit
b4423745b3
|
|
@ -20,7 +20,7 @@ import { contextTest as it, expect } from '../config/browserTest';
|
||||||
import { hostPlatform } from '../../packages/playwright-core/src/utils/hostPlatform';
|
import { hostPlatform } from '../../packages/playwright-core/src/utils/hostPlatform';
|
||||||
|
|
||||||
it('SharedArrayBuffer should work @smoke', async function({ contextFactory, httpsServer, isMac, browserName }) {
|
it('SharedArrayBuffer should work @smoke', async function({ contextFactory, httpsServer, isMac, browserName }) {
|
||||||
it.skip(browserName === 'webkit' && isMac && parseInt(os.release().split('.')[0], 10) <= 21, 'WebKit on macOS 12 is frozen and does not support orientation.type override');
|
it.skip(browserName === 'webkit' && isMac && parseInt(os.release().split('.')[0], 10) <= 21, 'WebKit on macOS 12 is frozen and does not support SharedArrayBuffer');
|
||||||
const context = await contextFactory({ ignoreHTTPSErrors: true });
|
const context = await contextFactory({ ignoreHTTPSErrors: true });
|
||||||
const page = await context.newPage();
|
const page = await context.newPage();
|
||||||
httpsServer.setRoute('/sharedarraybuffer', (req, res) => {
|
httpsServer.setRoute('/sharedarraybuffer', (req, res) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue