Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(984)

Issue 2603913002: DevTools: [Persistence] start searching in JSON/MarkDown files (Closed)

Created:
3 years, 12 months ago by lushnikov
Modified:
3 years, 11 months ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: [Persistence] start searching in JSON/MarkDown files Every UISourceCode coming from filesystem is attributed with a resource type. "search all files" relies on this resourceType to skip non-text resources. In order to search in as many text files as possible, we should blacklist binary files instead of whitelisting text files. This patch introduces a set of common binary extensions. A file with binary extension is attributed with ResourceType.Other type, and a file with text extension is attributed with ReosurceType.Document. BUG=none R=dgozman Review-Url: https://codereview.chromium.org/2603913002 Cr-Commit-Position: refs/heads/master@{#445333} Committed: https://chromium.googlesource.com/chromium/src/+/0a70ea39525afdde25c161e54c100aadca530e0c

Patch Set 1 #

Patch Set 2 : add executable extensions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M third_party/WebKit/Source/devtools/front_end/persistence/FileSystemWorkspaceBinding.js View 1 2 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 16 (8 generated)
lushnikov
please, take a look!
3 years, 12 months ago (2016-12-28 04:25:28 UTC) #1
dgozman
I'm not sure about this patch. What about .a, .exe, .bin, .dll, .pyc or something ...
3 years, 11 months ago (2016-12-28 18:42:26 UTC) #6
lushnikov
On 2016/12/28 18:42:26, dgozman wrote: > I'm not sure about this patch. What about .a, ...
3 years, 11 months ago (2016-12-28 21:15:07 UTC) #7
lushnikov
should we land this for now? Are there any major concerns with this approach?
3 years, 11 months ago (2017-01-06 21:00:19 UTC) #8
dgozman
lgtm, but please add more binary ones (at least, executables, which are huge and will ...
3 years, 11 months ago (2017-01-06 21:49:07 UTC) #9
lushnikov
thanks, added executables
3 years, 11 months ago (2017-01-23 06:29:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2603913002/20001
3 years, 11 months ago (2017-01-23 06:30:01 UTC) #13
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 08:14:49 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0a70ea39525afdde25c161e54c10...

Powered by Google App Engine
This is Rietveld 408576698