Skip to content

[BUG] WebKit on Mac crashes when RTCPeerConnection is used. #6009

@mxschmitt

Description

@mxschmitt

Context:

To Reproduce

Execute this script:

// @ts-check
const playwright = require('playwright');

(async () => {
  const browser = await playwright.webkit.launch();
  const context = await browser.newContext();
  const page = await context.newPage();
  await page.goto("https://www.whatismybrowser.com/")
  await page.screenshot({ path: `example.png` });
  await browser.close();
})();

or from the original bug report:

  1. git clone https://github.com/jsjoeio/jest-playwright-repro.git
  2. yarn
  3. yarn test

Describe the bug

Actual: WebKit page crashes with Navigation failed because page crashed
Expected: Test passes

It works for Chromium and Firefox.

It seems like its because https://whatismybrowser.com/ is a redirect -> 301 redirect.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions