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

Issue 1418293002: Devtools: Extensible mime typing, mime typing by file name (Closed)

Created:
5 years, 1 month ago by wes
Modified:
5 years, 1 month ago
Reviewers:
paulirish, alph, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, yurys+blink_chromium.org, yurys, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, lushnikov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extensible mime typing, mime typing by file name Migrated from https://codereview.chromium.org/1360943002/ This work was split from https://codereview.chromium.org/1264133002/ BUG=484261 Committed: https://crrev.com/de465d949baa19843653ac320d1f2a7b608e35cd Cr-Commit-Position: refs/heads/master@{#360498}

Patch Set 1 #

Total comments: 3

Patch Set 2 : remove mostly unneeded function #

Total comments: 5

Patch Set 3 : add url function to mock project #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -8 lines) Patch
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/ui-source-code.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/common/ResourceType.js View 1 1 chunk +20 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/common/TextUtils.js View 1 chunk +33 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js View 1 chunk +1 line, -6 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
wes
5 years, 1 month ago (2015-10-23 19:05:15 UTC) #3
pfeldman
https://codereview.chromium.org/1418293002/diff/1/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js File third_party/WebKit/Source/devtools/front_end/common/ResourceType.js (right): https://codereview.chromium.org/1418293002/diff/1/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js#newcode163 third_party/WebKit/Source/devtools/front_end/common/ResourceType.js:163: WebInspector.ResourceType.newMimeType = function(extensionOrName, mime, byName) Copying my review comments ...
5 years, 1 month ago (2015-10-26 18:21:18 UTC) #4
wes
https://codereview.chromium.org/1418293002/diff/1/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js File third_party/WebKit/Source/devtools/front_end/common/ResourceType.js (right): https://codereview.chromium.org/1418293002/diff/1/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js#newcode163 third_party/WebKit/Source/devtools/front_end/common/ResourceType.js:163: WebInspector.ResourceType.newMimeType = function(extensionOrName, mime, byName) On 2015/10/26 18:21:18, pfeldman ...
5 years, 1 month ago (2015-10-26 21:11:46 UTC) #5
pfeldman
https://codereview.chromium.org/1418293002/diff/1/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js File third_party/WebKit/Source/devtools/front_end/common/ResourceType.js (right): https://codereview.chromium.org/1418293002/diff/1/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js#newcode163 third_party/WebKit/Source/devtools/front_end/common/ResourceType.js:163: WebInspector.ResourceType.newMimeType = function(extensionOrName, mime, byName) > You're correct about ...
5 years, 1 month ago (2015-10-26 21:23:21 UTC) #6
wes
On 2015/10/26 21:23:21, pfeldman wrote: > https://codereview.chromium.org/1418293002/diff/1/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js > File third_party/WebKit/Source/devtools/front_end/common/ResourceType.js > (right): > > https://codereview.chromium.org/1418293002/diff/1/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js#newcode163 ...
5 years, 1 month ago (2015-10-26 21:27:05 UTC) #7
pfeldman
lgtm
5 years, 1 month ago (2015-10-26 21:27:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418293002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418293002/20001
5 years, 1 month ago (2015-10-26 22:26:10 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/131445)
5 years, 1 month ago (2015-10-26 23:28:17 UTC) #12
alph
https://codereview.chromium.org/1418293002/diff/20001/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js File third_party/WebKit/Source/devtools/front_end/common/ResourceType.js (right): https://codereview.chromium.org/1418293002/diff/20001/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js#newcode150 third_party/WebKit/Source/devtools/front_end/common/ResourceType.js:150: var name = WebInspector.TextUtils.fileName(url); Can't you use ParsedURL functionality? ...
5 years, 1 month ago (2015-10-26 23:43:05 UTC) #14
wes
https://codereview.chromium.org/1418293002/diff/20001/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js File third_party/WebKit/Source/devtools/front_end/common/ResourceType.js (right): https://codereview.chromium.org/1418293002/diff/20001/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js#newcode150 third_party/WebKit/Source/devtools/front_end/common/ResourceType.js:150: var name = WebInspector.TextUtils.fileName(url); On 2015/10/26 23:43:04, alph wrote: ...
5 years, 1 month ago (2015-11-02 23:25:22 UTC) #15
paulirish
On 2015/10/26 at 23:28:17, commit-bot wrote: > Try jobs failed on following builders: > mac_chromium_rel_ng ...
5 years, 1 month ago (2015-11-07 00:31:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418293002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418293002/40001
5 years, 1 month ago (2015-11-18 22:22:14 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/142809)
5 years, 1 month ago (2015-11-19 00:54:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418293002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418293002/40001
5 years, 1 month ago (2015-11-19 01:36:42 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-19 02:35:23 UTC) #24
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 02:36:07 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/de465d949baa19843653ac320d1f2a7b608e35cd
Cr-Commit-Position: refs/heads/master@{#360498}

Powered by Google App Engine
This is Rietveld 408576698