[Webkit-unassigned] [Bug 182326] Should chose the best match during 'route' if there are multiple matches.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 31 11:34:40 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=182326
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #332750|review? |review-
Flags| |
--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 332750
--> https://bugs.webkit.org/attachment.cgi?id=332750
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=332750&action=review
r- due to the lack of testing.
> Websites/perf.webkit.org/public/v3/pages/page-router.js:43
> + } else if (hashUrl.startsWith(routeName) && hashUrl.charAt(routeName.length) == '/' && bestMatchingRouteName.length < routeName.length) {
What's hashUrl.charAt(routeName.length) == '/' about?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180131/25785cfa/attachment.html>
More information about the webkit-unassigned
mailing list