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

Issue 2497873002: Tidy up ScriptLoader (MIME) type matching. (Closed)

Created:
4 years, 1 month ago by sof
Modified:
4 years, 1 month ago
Reviewers:
tkent, kinuko
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tidy up ScriptLoader (MIME) type matching. MIME is case-insensitively handled within Blink, so remove some unnecessary normalization of MIME type (and "language=") strings in ScriptLoader. R= BUG= Committed: https://crrev.com/688599703941eb149f30815d0968ae0c163c0194 Cr-Commit-Position: refs/heads/master@{#432162}

Patch Set 1 #

Total comments: 11

Patch Set 2 : perform case-insensitive equality checks over ASCII only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -44 lines) Patch
M third_party/WebKit/Source/core/dom/ScriptLoader.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptLoader.cpp View 1 5 chunks +46 lines, -43 lines 0 comments Download
M third_party/WebKit/Source/platform/MIMETypeRegistry.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
sof
please take a look. not a lot in this one, but the explicit "lowering" encountered ...
4 years, 1 month ago (2016-11-14 19:00:13 UTC) #6
tkent
lgtm. I added some comments, but they are not your fault. you may land this ...
4 years, 1 month ago (2016-11-14 23:44:32 UTC) #7
kinuko
lgtm https://codereview.chromium.org/2497873002/diff/1/third_party/WebKit/Source/platform/MIMETypeRegistry.h File third_party/WebKit/Source/platform/MIMETypeRegistry.h (right): https://codereview.chromium.org/2497873002/diff/1/third_party/WebKit/Source/platform/MIMETypeRegistry.h#newcode39 third_party/WebKit/Source/platform/MIMETypeRegistry.h:39: // The MIMETypeRegistry predicates are all case-insensitive. Thanks ...
4 years, 1 month ago (2016-11-15 01:24:35 UTC) #8
sof
https://codereview.chromium.org/2497873002/diff/1/third_party/WebKit/Source/core/dom/ScriptLoader.cpp File third_party/WebKit/Source/core/dom/ScriptLoader.cpp (right): https://codereview.chromium.org/2497873002/diff/1/third_party/WebKit/Source/core/dom/ScriptLoader.cpp#newcode143 third_party/WebKit/Source/core/dom/ScriptLoader.cpp:143: return equalIgnoringCase(language, "javascript") || On 2016/11/14 23:44:32, tkent wrote: ...
4 years, 1 month ago (2016-11-15 08:03:43 UTC) #9
tkent
https://codereview.chromium.org/2497873002/diff/1/third_party/WebKit/Source/core/dom/ScriptLoader.cpp File third_party/WebKit/Source/core/dom/ScriptLoader.cpp (right): https://codereview.chromium.org/2497873002/diff/1/third_party/WebKit/Source/core/dom/ScriptLoader.cpp#newcode143 third_party/WebKit/Source/core/dom/ScriptLoader.cpp:143: return equalIgnoringCase(language, "javascript") || On 2016/11/15 at 08:03:43, sof ...
4 years, 1 month ago (2016-11-15 08:16:49 UTC) #10
sof
https://codereview.chromium.org/2497873002/diff/1/third_party/WebKit/Source/core/dom/ScriptLoader.cpp File third_party/WebKit/Source/core/dom/ScriptLoader.cpp (right): https://codereview.chromium.org/2497873002/diff/1/third_party/WebKit/Source/core/dom/ScriptLoader.cpp#newcode143 third_party/WebKit/Source/core/dom/ScriptLoader.cpp:143: return equalIgnoringCase(language, "javascript") || On 2016/11/15 08:16:49, tkent wrote: ...
4 years, 1 month ago (2016-11-15 08:48:53 UTC) #13
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/2497873002/20001
4 years, 1 month ago (2016-11-15 11:03:26 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-15 11:08:36 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 11:13:34 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/688599703941eb149f30815d0968ae0c163c0194
Cr-Commit-Position: refs/heads/master@{#432162}

Powered by Google App Engine
This is Rietveld 408576698