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
feat(worker): Allow Workers to emit their network events #2717
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
|
I signed it! |
CLAs look good, thanks! |
Thanks for the PR! Maybe we should have these events fired on the page, like we do for frames. Wdyt @aslushnikov ? Also needs a test. |
yeah I was sure how to make some tests, I'm not familiar with how the coverage tests work, there don't appear to be specific tests for the |
Okay wrote tests :) |
The travis build had a timeout on a different test I didn't touch and AppVeyor succeeded on that test... |
@chad3814 we played with this and found critical issues with nested targets in DevTools protocol:
We'll have to fix these in Chromium as a part of #2548. There's no ETA for OOPIFs since it's unclear what else is broken in puppeteer with multiple subtargets. I'll close this PR for now since there's no way we can move forward here without upstream being fixed. Thank you for the PR! |
small patch that hooks
Worker
s into theNetworkManager
so that they canemit
network events