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

Issue 2301323003: Add deprecation warning for script fetches with invalid types (Closed)

Created:
4 years, 3 months ago by Charlie Harrison
Modified:
4 years, 3 months ago
CC:
chromium-reviews, blink-reviews-html_chromium.org, sof, eae+blinkwatch, loading-reviews+parser_chromium.org, blink-reviews-dom_chromium.org, dglazkov+blink, asvitkine+watch_chromium.org, blink-reviews, kinuko+watch, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add deprecation warning for script fetches with invalid types BUG=626321 Committed: https://crrev.com/ffe177716cabfc5f8fedd62d14904390fb178a8d Cr-Commit-Position: refs/heads/master@{#418711}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix layout test #

Patch Set 3 : reabse #

Patch Set 4 : Update deprecation message with chromestatus entry #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -32 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/dont-load-unknown-type-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptLoader.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptLoader.cpp View 1 4 chunks +29 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp View 1 5 chunks +12 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp View 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/PreloadRequest.h View 2 chunks +6 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 37 (21 generated)
Charlie Harrison
Hey Yoav, can you take a first pass at this? Low priority.
4 years, 3 months ago (2016-09-02 17:52:19 UTC) #4
Charlie Harrison
Looks like I will have to add the warning to a failing test.
4 years, 3 months ago (2016-09-02 19:01:15 UTC) #7
Yoav Weiss
Looks good. Refresh my memory: Counting at preloadScanner is enough because the regular parser just ...
4 years, 3 months ago (2016-09-05 15:06:25 UTC) #8
Charlie Harrison
I mainly added the counting at the preload scanner level to be sure that we're ...
4 years, 3 months ago (2016-09-05 17:15:06 UTC) #9
Yoav Weiss
LGTM On 2016/09/05 17:15:06, Charlie Harrison wrote: > I mainly added the counting at the ...
4 years, 3 months ago (2016-09-05 18:57:48 UTC) #10
Charlie Harrison
+rbyers, could you take a look at the deprecation warning? I wasn't sure if e.g. ...
4 years, 3 months ago (2016-09-09 20:06:37 UTC) #14
Rick Byers
On 2016/09/09 20:06:37, Charlie Harrison wrote: > +rbyers, could you take a look at the ...
4 years, 3 months ago (2016-09-14 15:26:37 UTC) #21
Charlie Harrison
I updated the deprecation message and added a chromestatus entry. Please let me know if ...
4 years, 3 months ago (2016-09-14 17:28:26 UTC) #24
Rick Byers
On 2016/09/14 17:28:26, Charlie Harrison wrote: > I updated the deprecation message and added a ...
4 years, 3 months ago (2016-09-14 18:15:00 UTC) #25
Charlie Harrison
On 2016/09/14 18:15:00, Rick Byers wrote: > On 2016/09/14 17:28:26, Charlie Harrison wrote: > > ...
4 years, 3 months ago (2016-09-14 18:22:36 UTC) #26
Rick Byers
On 2016/09/14 18:22:36, Charlie Harrison wrote: > On 2016/09/14 18:15:00, Rick Byers wrote: > > ...
4 years, 3 months ago (2016-09-14 18:36:53 UTC) #27
Charlie Harrison
Thanks for the guidance. I will certainly try to be vigilant :) +rkaplow for histograms.xml ...
4 years, 3 months ago (2016-09-14 18:40:54 UTC) #29
rkaplow
lgtm
4 years, 3 months ago (2016-09-14 20:12:36 UTC) #30
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/2301323003/60001
4 years, 3 months ago (2016-09-14 20:15:10 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-14 23:05:51 UTC) #35
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 23:08:40 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ffe177716cabfc5f8fedd62d14904390fb178a8d
Cr-Commit-Position: refs/heads/master@{#418711}

Powered by Google App Engine
This is Rietveld 408576698