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

refactor: remove unused QueuedEventGroup.promise #7830

Merged

Conversation

benallfree
Copy link
Contributor

@benallfree benallfree commented Dec 9, 2021

Did you add tests for your changes?

N/A

Summary

Referring back to discussion on https://github.com/puppeteer/puppeteer/pull/7826/files#diff-bc1ce23addce6e88bde0b9802379569654d1f1aa5ce76aa8883068604181ec31L7, I believe it is safe to remove all this. NetworkManager.responseWaitingForExtraInfoPromise, while public, is not referenced in any code or docs.

Does this PR introduce a breaking change?

Not sure. What is Puppeteer's policy on unpublished API changes? NetworkManager.responseWaitingForExtraInfoPromise is public but it is relatively new and I suspect was just a refactoring oversight. I see no purpose for it.

@benallfree benallfree marked this pull request as ready for review December 9, 2021 14:13
@benallfree
Copy link
Contributor Author

@OrKoN

@OrKoN
Copy link
Collaborator

OrKoN commented Dec 9, 2021

Ah, thanks, I didn't check if responseWaitingForExtraInfoPromise was actually used.

@OrKoN OrKoN enabled auto-merge (squash) December 9, 2021 14:35
@OrKoN OrKoN merged commit 71cc1b9 into puppeteer:main Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants