Repository navigation
Release 1.1.2: drop launch switches pages can notice (25.14.101 / 1.64.101) - #135
Merged
Merged
Conversation
… storage partitioning) Under REBROWSER_PATCHES_WEBDRIVER_FIX (on by default) both libraries now also drop: - --disable-popup-blocking: a page could open popups without a click. Popups from page.click() and page.evaluate() still open (both run with a user gesture). - --disable-ipc-flooding-protection: a page saw all of 300 rapid history updates applied; Chrome stops at 200 in 10 s. - Playwright: ThirdPartyStoragePartitioning in --disable-features, which let an A->B->A iframe read the top page's localStorage. REBROWSER_PATCHES_WEBDRIVER_FIX=0 keeps the upstream switches. The leaks suite gains popup/history/partition gates (unpatched upstream and WEBDRIVER_FIX=0 as positive controls). README: describe the dropped switches and stop suggesting a bare-file-name sourceURL.
Popups: only the first popup per click/evaluate opens (as for a real user); pass --disable-popup-blocking in args to restore. Same for --disable-ipc-flooding-protection. Partitioning: explain why Playwright disabled it (microsoft/playwright#32230) and the opt-out that keeps navigator.webdriver hidden. Note the Android/Electron launchers are unchanged.
…01 / 1.64.101 / 1.64.101 Ships the dropped launch switches (popup blocking, IPC flooding protection, Playwright's storage partitioning) as the next X.Y.100+n re-release: - versions.json: publishVersion 25.14.101 / 1.64.101 / 1.64.101, cliVersion 1.1.2; v1.1.1 recorded in the released history. - package.json 1.1.2; README and release/README version lines; RELEASING env-var note.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re-release of the same upstream versions as 25.14.101 / 1.64.101 / PyPI 1.64.101 (CLI 1.1.2).
What changes
Under
REBROWSER_PATCHES_WEBDRIVER_FIX(on by default) both libraries stop passing launch switches that a page can notice:--disable-popup-blocking: a page could open popups without a click. The first popup from apage.click()/page.evaluate()still opens, as for a real user.--disable-ipc-flooding-protection: a page saw all of 300 rapidhistory.replaceState()calls applied; Chrome stops at 200 in 10 s.ThirdPartyStoragePartitioningis no longer in--disable-features, so an A→B→A iframe can no longer read the top page'slocalStorage.REBROWSER_PATCHES_WEBDRIVER_FIX=0keeps the upstream switches; passing--disable-popup-blocking/--disable-ipc-flooding-protectioninargsrestores one switch. The README documents the partitioning trade-off (microsoft/playwright#32230) and its opt-out.Tests
leaksgates: popup / history / partition, each with the unpatched upstream andWEBDRIVER_FIX=0as positive controls.Commits