-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URIMismatchError: Failed to construct URL from string "//www.googletagmanager.com/ns.html?id=xxx" relative to URL "about:blank". #1003
Labels
bug
Something isn't working
Comments
i have same issue
error:
|
My temporary solution is to add the full domain name to iframe's src. |
capricorn86
added a commit
that referenced
this issue
Aug 7, 2023
…g an iframe using a relative URL. The URL is now relative to the main document URL instead.
capricorn86
added a commit
that referenced
this issue
Aug 7, 2023
…failed-to-construct-url-from-string-wwwgoogletagmanagercomnshtmlid=xxx-relative-to-url-aboutblank #1003@patch: Fixes an issue where an exception was thrown when loadin…
Thank you for reporting @vjpr and @uovol! 🙂 There is a fix released now: Note that you need to set a URL on the main document in order for the iframe URL to be relative to it. The main document defaults to "about:blank" if no URL has been set (see #868). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
To Reproduce
Create a page with an iframe with a src with no protocol specified.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: