-
Notifications
You must be signed in to change notification settings - Fork 109
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
Removes outdated pieces of Speculation Rules logic that are no longer needed as of Chrome 121 #940
Removes outdated pieces of Speculation Rules logic that are no longer needed as of Chrome 121 #940
Conversation
* * https://github.com/whatwg/urlpattern/issues/179 | ||
* * https://chromium-review.googlesource.com/c/chromium/src/+/4975595 | ||
*/ | ||
return $exclude_path . '\\?*#*'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@domenic Can you confirm these wildcard suffixes are no longer useful as of Chrome 121?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed!
@@ -67,7 +57,7 @@ static function ( $exclude_path ) use ( $prefixer ) { | |||
'and' => array( | |||
// Prerender any URLs within the same site. | |||
array( | |||
'href_matches' => $prefixer->prefix_path_pattern( '/*\\?*' ), | |||
'href_matches' => $prefixer->prefix_path_pattern( '/*' ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@domenic Same here, can you confirm this is safe to drop?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
* * https://github.com/whatwg/urlpattern/issues/179 | ||
* * https://chromium-review.googlesource.com/c/chromium/src/+/4975595 | ||
*/ | ||
return $exclude_path . '\\?*#*'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed!
@@ -67,7 +57,7 @@ static function ( $exclude_path ) use ( $prefixer ) { | |||
'and' => array( | |||
// Prerender any URLs within the same site. | |||
array( | |||
'href_matches' => $prefixer->prefix_path_pattern( '/*\\?*' ), | |||
'href_matches' => $prefixer->prefix_path_pattern( '/*' ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed!
Summary
Fixes #909
Relevant technical choices
Checklist
[Focus]
orInfrastructure
label.[Type]
label.no milestone
label.