Skip to content

[py] Handle Data URLs when doing .continue_request()#17583

Merged
AutomatedTester merged 3 commits into
trunkfrom
worktree-fix-bidi-16279
May 28, 2026
Merged

[py] Handle Data URLs when doing .continue_request()#17583
AutomatedTester merged 3 commits into
trunkfrom
worktree-fix-bidi-16279

Conversation

@AutomatedTester
Copy link
Copy Markdown
Member

@AutomatedTester AutomatedTester commented May 27, 2026

🔗 Related Issues

Fixes #16279

💥 What does this PR do?

🔧 Implementation Notes

🤖 AI assistance

  • No substantial AI assistance used
  • AI assisted (complete below)
    • Tool(s):
    • What was generated:
    • I reviewed all AI output and can explain the change

💡 Additional Considerations

🔄 Types of changes

  • Cleanup (formatting, renaming)
  • Bug fix (backwards compatible)
  • New feature (non-breaking change which adds functionality and tests!)
  • Breaking change (fix or feature that would cause existing functionality to change)

@selenium-ci selenium-ci added the C-py Python Bindings label May 27, 2026
@cgoldberg cgoldberg changed the title [py] Handle Data URLs when doing .continue_request(). Fixes #16279 [py] Handle Data URLs when doing .continue_request() May 27, 2026
@cgoldberg
Copy link
Copy Markdown
Member

@AutomatedTester there is also an integration test for this that you can update (see #16281)

The xfail marks were added when continue_request() would throw for
data: URLs. Now that continue_request() silently skips data: URLs,
the test should pass in all browsers that fire network.beforeRequestSent
for data URL sub-resources.
@AutomatedTester
Copy link
Copy Markdown
Member Author

@AutomatedTester there is also an integration test for this that you can update (see #16281)

I removed the xfail and made it pass 👯

@AutomatedTester AutomatedTester merged commit 3c94e5c into trunk May 28, 2026
39 checks passed
@AutomatedTester AutomatedTester deleted the worktree-fix-bidi-16279 branch May 28, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-py Python Bindings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🐛 Bug]: [py] BiDi Network handlers fail on data URLs

3 participants