✨RUM-16635 Add wildcard host pattern matching to WebView event bridge#4703
Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 8 commits intoJun 9, 2026
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: 3e2ecdd | Docs | Datadog PR Page | Give us feedback! |
Bundles Sizes Evolution
|
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
5 tasks
barboraplasovska
force-pushed
the
bplasovska/RUM-15826/webview-wildcard-matching
branch
from
June 4, 2026 11:37
3884f98 to
6a7e913
Compare
barboraplasovska
marked this pull request as ready for review
June 4, 2026 11:37
barboraplasovska
force-pushed
the
bplasovska/RUM-15826/webview-wildcard-matching
branch
from
June 4, 2026 13:01
6a7e913 to
5f724c9
Compare
mormubis
requested changes
Jun 4, 2026
mormubis
approved these changes
Jun 5, 2026
gogusarov
reviewed
Jun 5, 2026
…a separate method
Co-authored-by: Adrian de la Rosa <[email protected]>
barboraplasovska
force-pushed
the
bplasovska/RUM-15826/webview-wildcard-matching
branch
from
June 8, 2026 11:52
7a9cd64 to
257b49e
Compare
barboraplasovska
force-pushed
the
bplasovska/RUM-15826/webview-wildcard-matching
branch
from
June 8, 2026 12:07
257b49e to
3e2ecdd
Compare
gogusarov
approved these changes
Jun 8, 2026
gh-worker-dd-mergequeue-cf854d
Bot
deleted the
bplasovska/RUM-15826/webview-wildcard-matching
branch
June 9, 2026 14:30
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Motivation
Part of RUM-15826. iOS SDK counterpart DataDog/dd-sdk-ios#2963.
Changes
Adds a new optional
getAllowedWebViewHostPatterns?()method to theDatadogEventBridgeinterface. When present,canUseEventBridge()uses wildcard pattern matching via plain string operations instead of the legacy exact + subdomain-suffix path.Invalid patterns (more than one
*) produce adisplay.errorconsole warning so customers see an actionable signal. Old Browser SDK versions receiving wildcard entries from a new mobile SDK will silently ignore them (literal match fails) while plain host entries continue to bridge normally.Test instructions
CI should pass.
Checklist