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

Issue 2398733003: Cache SubResourceIntegrity checks at Resource (Closed)

Created:
4 years, 2 months ago by kouhei (in TOK)
Modified:
4 years, 2 months ago
Reviewers:
jww, Charlie Harrison
CC:
chromium-reviews, tyoshino+watch_chromium.org, sof, eae+blinkwatch, Yoav Weiss, blink-reviews-dom_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, Nate Chapin, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cache SubResourceIntegrity checks at Resource Move SubResourceIntegrity check caches from ScriptResource -> Resource. This also renames ScriptIntegrityDisposition to generic name ResourceIntegrityDisposition This is to prepare for CSSStyleSheetResource to use the same logic. Split from https://codereview.chromium.org/2290983003/. BUG=642722 Committed: https://crrev.com/6e09a67eb013cde927f50ac7931018a15bfdb2ba Cr-Commit-Position: refs/heads/master@{#423792}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -48 lines) Patch
M third_party/WebKit/Source/core/dom/PendingScript.cpp View 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/IntegrityMetadata.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.h View 1 4 chunks +18 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.cpp View 1 3 chunks +19 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ScriptResource.h View 2 chunks +0 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ScriptResource.cpp View 2 chunks +1 line, -16 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
kouhei (in TOK)
4 years, 2 months ago (2016-10-06 09:24:33 UTC) #5
Charlie Harrison
non-owner LGTM
4 years, 2 months ago (2016-10-06 12:15:39 UTC) #8
jww
lgtm w/nit https://codereview.chromium.org/2398733003/diff/1/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2398733003/diff/1/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode465 third_party/WebKit/Source/core/fetch/Resource.cpp:465: return !IntegrityMetadata::setsEqual(m_integrityMetadata, nit: Please #include IntegrityMetadata.h
4 years, 2 months ago (2016-10-06 20:42:45 UTC) #9
kouhei (in TOK)
https://codereview.chromium.org/2398733003/diff/1/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2398733003/diff/1/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode465 third_party/WebKit/Source/core/fetch/Resource.cpp:465: return !IntegrityMetadata::setsEqual(m_integrityMetadata, On 2016/10/06 20:42:45, jww wrote: > nit: ...
4 years, 2 months ago (2016-10-07 01:49:16 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/2398733003/20001
4 years, 2 months ago (2016-10-07 01:49:17 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/156078)
4 years, 2 months ago (2016-10-07 03:12:31 UTC) #16
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/2398733003/20001
4 years, 2 months ago (2016-10-07 03:16:53 UTC) #18
commit-bot: I haz the power
Failed to apply the patch. On branch working_branch Your branch is up-to-date with 'origin/refs/pending/heads/master'. nothing ...
4 years, 2 months ago (2016-10-07 04:02:29 UTC) #20
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/6e09a67eb013cde927f50ac7931018a15bfdb2ba Cr-Commit-Position: refs/heads/master@{#423792}
4 years, 2 months ago (2016-10-07 04:04:33 UTC) #22
nasko
4 years, 2 months ago (2016-10-07 17:41:53 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2397423003/ by nasko@chromium.org.

The reason for reverting is: Reverting due to failing
PageLoadMetricsBrowserTest.IgnoreDownloads test starting with this CL.

https://build.chromium.org/p/chromium.win/builders/Win7%20%2832%29%20Tests/bu....

Powered by Google App Engine
This is Rietveld 408576698