Skip to content

fix(browser): encode iframeId in tester iframe URL [backport to v4] - #10955

Merged
sheremet-va merged 1 commit into
v4from
backport/v4/fix/iframe-id-encoding
Aug 14, 2026
Merged

fix(browser): encode iframeId in tester iframe URL [backport to v4]#10955
sheremet-va merged 1 commit into
v4from
backport/v4/fix/iframe-id-encoding

Conversation

@sheremet-va

Copy link
Copy Markdown
Member

Backport of #10521 to v4.

createTestIframe builds the tester iframe URL by interpolating the test-file path (iframeId) into the query string without encoding. A + in the path is decoded back as a space, so the spec no longer matches a real file, the iframe never runs the test, and browser mode hangs at 0 passed with no error. Encode the value with encodeURIComponent; it is read back with standard URL decoding (URLSearchParams.get).

Clean cherry-pick of c8bf19f apart from one context-only conflict in orchestrator.ts (const config = getConfig() exists only on main). Includes the regression test from the original PR.

Co-authored-by: Pduhard <Pduhard@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@sheremet-va sheremet-va changed the title fix(browser): encode iframeId in tester iframe URL (fix #10520) fix(browser): encode iframeId in tester iframe URL [backport to v4] Aug 14, 2026
@sheremet-va
sheremet-va merged commit 10b2cd2 into v4 Aug 14, 2026
15 of 17 checks passed
@sheremet-va
sheremet-va deleted the backport/v4/fix/iframe-id-encoding branch August 14, 2026 15:28
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