Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Gmail hangs when setRequestInterception(true) #8479

Closed
nodated opened this issue Jun 7, 2022 · 2 comments · Fixed by #8706 or #8729
Closed

[Bug]: Gmail hangs when setRequestInterception(true) #8479

nodated opened this issue Jun 7, 2022 · 2 comments · Fixed by #8706 or #8729

Comments

@nodated
Copy link

nodated commented Jun 7, 2022

Bug description

Steps to reproduce the problem:

  1. Run the code
  2. Chromium opens about:blank page and keep loading until timed out
  3. Works fine if set interception to false

Puppeteer version

14.2.1

Node.js version

16.14.2

npm version

8.5.0

What operating system are you seeing the problem on?

Windows

Relevant log output

const puppeteer = require("puppeteer");

(async() => {
    const browser = await puppeteer.launch({
        headless: false
    })
    const page = await browser.newPage();
    await page.setRequestInterception(true);
    page.on('request', (request) => {
        request.continue();
    });
    await page.goto(`https://mail.google.com/`);
})()
@nodated nodated added the bug label Jun 7, 2022
@nodated nodated changed the title [Bug]: Gmail hangs when setInterception(true) [Bug]: Gmail hangs when setRequestInterception(true) Jun 7, 2022
@OrKoN
Copy link
Collaborator

OrKoN commented Jun 8, 2022

I am able to reproduce on Mac too.

@OrKoN
Copy link
Collaborator

OrKoN commented Jul 28, 2022

it turns out that the AcceptCHFrame feature of Chromium is not properly reporting network events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment