Chromium detects object leaks in multi-page apps
bug
For some reason, between Puppeteer 21.7.0 and 21.9.0, the new version of Chromium actually detects leaking objects for multi-page apps. The objects are standard global objects like `Document` and `JSON`.
This is very bizarre to me, and potentially confusing for people who might mistakenly point fuite at a multi-page app. I'm not sure what to do about this, if this is a true leak in Chromium or just an issue with how I'm taking snapshots, or what.
https://github.com/nolanlawson/fuite/blob/0a468dacd7b42683eb5ca43620016e248cf700b0/test/spec/errors.test.mjs#L22-L23
关闭于 2024-01-30 3 条评论