Chromium Code Reviews
DescriptionDevTools: do not search in anonymous scripts unless specifically asked for.
Today, the "search across all files" searches not only all sources
of the website, but also all ever-evaluated scripts.
This helps in certain kind of investigations, e.g. to find
anonymously-evaluated script which did some page modifications.
Most of the time, however, the "search across all files" is used to search
across the resources of the application. In this case, searching across all
scripts might become slow, especially since certain websites generate
a lot of scripts via eval().
This patch removes old "search in content scripts" setting and adds a new one:
"Search in dynamic scripts and extensions". With this setting on,
the "Search across all files" will search in both content scripts and
dynamically-added anonymous scripts. Otherwise, only named resources
will be searched.
BUG=680205
R=pfeldman, dgozman
Review-Url: https://codereview.chromium.org/2692923013
Cr-Commit-Position: refs/heads/master@{#452253}
Committed: https://chromium.googlesource.com/chromium/src/+/ceabef6794ee9885b0a3f52f5c948a8bee079a2c
Patch Set 1 #
Total comments: 6
Patch Set 2 : address comments #
Messages
Total messages: 16 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||