urlmatch: Remove performance FIXME
This commit is contained in:
parent
5f6c8435a4
commit
174dd5dd9e
@ -229,8 +229,6 @@ class UrlPattern:
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
# Match 'google.com' with 'google.com/'
|
# Match 'google.com' with 'google.com/'
|
||||||
# FIXME use the no-copy approach Chromium has in
|
|
||||||
# URLPattern::MatchesPath for performance?
|
|
||||||
if path + '/*' == self._path:
|
if path + '/*' == self._path:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user