Giter Site home page Giter Site logo

Comments (7)

github-actions avatar github-actions commented on June 14, 2024

This issue was not reproducible. Please check that your example runs locally and the following:

  • Ensure the script does not rely on dependencies outside of puppeteer and puppeteer-core.
  • Ensure the error string is just the error message.
    • Bad:

      Error: something went wrong
        at Object.<anonymous> (/Users/username/repository/script.js:2:1)
        at Module._compile (node:internal/modules/cjs/loader:1159:14)
        at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
        at Module.load (node:internal/modules/cjs/loader:1037:32)
        at Module._load (node:internal/modules/cjs/loader:878:12)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
        at node:internal/main/run_main_module:23:47
    • Good: Error: something went wrong.

  • Ensure your configuration file (if applicable) is valid.
  • If the issue is flaky (does not reproduce all the time), make sure 'Flaky' is checked.
  • If the issue is not expected to error, make sure to write 'no error'.

Once the above checks are satisfied, please edit your issue with the changes and we will
try to reproduce the bug again.


Analyzer run

from puppeteer.

OrKoN avatar OrKoN commented on June 14, 2024

could you obtain the crash id from chrome://crashes (you might need to re-user the userDataDir for that)?

from puppeteer.

OrKoN avatar OrKoN commented on June 14, 2024

Is it reproducible with the bundled Chrome for Testing version?

from puppeteer.

OrKoN avatar OrKoN commented on June 14, 2024

Able to reproduce with stable and canary versions.

from puppeteer.

alpgul avatar alpgul commented on June 14, 2024

Chrome: crash id:b180583f32e07283
I tried "Google Chrome for Testing" and got the same error.

from puppeteer.

OrKoN avatar OrKoN commented on June 14, 2024
const puppeteer = require("puppeteer");

async function main() {
  const browser = await puppeteer.launch({
    headless: false
  });
  console.log("Browser is created.");
  const pages = await browser.pages();
  const page = pages[0];
  page.on('popup', async (popup) => {
    console.log(popup.url());
    await popup.close();
  });
  await page.evaluate(() => {
    const f = document.createElement("iframe");
    f.src = "data:text/html;charset=utf-8,<p></p>",
    document.body.appendChild(f),
    console.log("fire"),
    f.contentWindow.open("", "", "top=9999,left=9999,width=100,height=100")
  });
}

main();

one-script repro

from puppeteer.

OrKoN avatar OrKoN commented on June 14, 2024

Filed https://crbug.com/340836884

from puppeteer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.