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

Rewrite chrome URLs to compare them. #1777

Merged
merged 2 commits into from
Feb 28, 2017
Merged

Rewrite chrome URLs to compare them. #1777

merged 2 commits into from
Feb 28, 2017

Conversation

paulirish
Copy link
Member

fixes #1776

@paulirish
Copy link
Member Author

@tommycli can you review?

Copy link
Contributor

@tommycli tommycli left a comment

Choose a reason for hiding this comment

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

lgtm. I'm assuming you manually tested this with chrome --disable-features=MaterialDesignSettings to confirm that it fails without this patch and works with this patch?

@tommycli
Copy link
Contributor

Btw, I don't think I'm a valid reviewer.

// As a result, the final document URL doesn't match the URL that network layer surfaces.
function rewriteChromeInternalUrl(url) {
if (!url.startsWith('chrome://')) return url;
return url.replace(/^chrome:\/\/chrome\//, 'chrome://');
Copy link
Contributor

Choose a reason for hiding this comment

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

it't not clear from your description that it uses chrome:chrome urls. Might want to update the summary.

Copy link
Member Author

Choose a reason for hiding this comment

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

good call. you got it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GatherRunner:error timeout reached for chrome://settings
4 participants