Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

append a base element to force the baseURI of the FakeWindow #40218

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

erwinmombay
Copy link
Member

@erwinmombay erwinmombay commented Jan 7, 2025

This resolves some of the url issues we've been dealing with on the chromdriver 131 upgrade

there seems to have been a change between chrome 119 to chrome 131 on how the baseURI is inherited. We can force the baseURI of the FakeWindow by appending a base element on construction in fake-dom.js

See #40214

@erwinmombay erwinmombay force-pushed the test-another-pr branch 2 times, most recently from 8d35f61 to 1c48092 Compare January 7, 2025 23:05
@erwinmombay erwinmombay requested a review from powerivq January 7, 2025 23:05
testing/fake-dom.js Show resolved Hide resolved
@erwinmombay erwinmombay merged commit 5129866 into ampproject:main Jan 8, 2025
52 checks passed
erwinmombay added a commit to erwinmombay/amphtml that referenced this pull request Jan 8, 2025
erwinmombay added a commit that referenced this pull request Jan 8, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants