Skip to content
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

core: remove context.url #13806

Merged
merged 2 commits into from
Mar 31, 2022
Merged

core: remove context.url #13806

merged 2 commits into from
Mar 31, 2022

Conversation

adamraine
Copy link
Member

Part 3 of #13706

@adamraine adamraine requested a review from a team as a code owner March 31, 2022 21:51
@adamraine adamraine requested review from connorjclark and removed request for a team March 31, 2022 21:51

return WebAppManifest.getWebAppManifest(driver.defaultSession, context.url);
const {finalUrl} = context.baseArtifacts.URL;
return WebAppManifest.getWebAppManifest(driver.defaultSession, finalUrl);
Copy link
Member Author

@adamraine adamraine Mar 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was looking at the old web app spec, and it looks like "document URL" refers to document.URL which is affected by history.pushState() and such. I think we can safely use finalUrl in this case.

Should work for #13805 as well

@adamraine adamraine merged commit 2f07300 into master Mar 31, 2022
@adamraine adamraine deleted the remove-context-url branch March 31, 2022 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants