New issue
Advanced search Search tips

Issue 803402 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

searches match wrong string

Reported by davidmax...@gmail.com, Jan 18 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Steps to reproduce the problem:
1. open dev tools elements pane
2. search for 'Back"' - note double-quote at the end of the string

What is the expected behavior?
It should match any occurrences of 'Back"'

What went wrong?
It seems to match some other lines too - for example on this page[1], it does match expected attribute patterns, but it also matched the *whole* of this line:

"
<script type="text/javascript" src="https://omahaproxy.appspot.com/guess?version=63.0.3239.132&amp;os=linux&amp;callback=guessChannel">
</script>
"

I see it does include 'back' (in 'callback'), but there is no quote, so it should not match that line at all.

Similarly for '"Back' - that matches the script tag above, and also the *whole* of this line:

"
<a href="https://bugs.chromium.org/p/monorail/" class="feedback">Report a problem with this wizard</a>
"

[1] https://chromiumbugs.appspot.com/?token=H3ySwjSq6v2z6aU0hzobDzoxNTE2MjcxMTg2&role=&continue=https%3A//bugs.chromium.org/p/chromium/issues/entry.do

Did this work before? N/A 

Chrome version: 63.0.3239.132  Channel: stable
OS Version: 
Flash Version:
 
Labels: Needs-Triage-M63

Comment 2 by kozy@chromium.org, Jan 18 2018

Owner: einbinder@chromium.org
Status: Assigned (was: Unconfirmed)

Sign in to add a comment