feat(webkit): roll WebKit to r1898 (#26738)

This commit is contained in:
Max Schmitt 2023-08-28 19:44:52 +02:00 committed by GitHub
parent 39f8f2ed8d
commit 5c72cbdb23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -39,7 +39,7 @@
},
{
"name": "webkit",
"revision": "1893",
"revision": "1898",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1446",

View File

@ -165,9 +165,9 @@ export function source() {
if (isError(value)) {
const error = value;
if ('captureStackTrace' in globalThis.Error) {
if (error.stack?.startsWith(error.name + ': ' + error.message)) {
// v8
return error.stack || '';
return error.stack;
}
return `${error.name}: ${error.message}\n${error.stack}`;
}

View File

@ -53,7 +53,6 @@ it('page.goBack should work with HistoryAPI', async ({ page, server }) => {
});
it('page.goBack should work for file urls', async ({ page, server, asset, browserName, platform, isAndroid, mode }) => {
it.fail(browserName === 'webkit' && platform === 'darwin', 'WebKit embedder fails to go back/forward to the file url.');
it.skip(isAndroid, 'No files on Android');
it.skip(mode.startsWith('service'));