Skip to content

Release 1.1.2: drop launch switches pages can notice (25.14.101 / 1.64.101) - #135

Merged
rebrowsernet merged 3 commits into
mainfrom
release/1.1.2
Oct 19, 2026
Merged

rebrowsernet merged 3 commits into
mainfrom
release/1.1.2

Conversation

@rebrowsernet

@rebrowsernet rebrowsernet commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

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 a page.click() / page.evaluate() still opens, as for a real user.
  • --disable-ipc-flooding-protection: a page saw all of 300 rapid history.replaceState() calls applied; Chrome stops at 200 in 10 s.
  • Playwright: ThirdPartyStoragePartitioning is no longer in --disable-features, so an A→B→A iframe can no longer read the top page's localStorage.

REBROWSER_PATCHES_WEBDRIVER_FIX=0 keeps the upstream switches; passing --disable-popup-blocking / --disable-ipc-flooding-protection in args restores one switch. The README documents the partitioning trade-off (microsoft/playwright#32230) and its opt-out.

Tests

  • New leaks gates: popup / history / partition, each with the unpatched upstream and WEBDRIVER_FIX=0 as positive controls.
  • Local run (linux arm64, Chrome 155) on the 1.1.2 artifacts: 96/96 gates.
  • Reviewed the src.patch delta: code correct; README caveats added from the findings.

Commits

  • Drop launch switches that pages can notice (popups, history flooding, storage partitioning)
  • README: opt-outs and caveats for the dropped launch switches
  • Release 1.1.2 version bump

… 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.
@rebrowsernet
rebrowsernet merged commit 4d76bef into main Oct 19, 2026
1 check passed
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.

2 participants