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

Issue 2716543002: Fix PendingScript::errorOccurred() to be consistent with getSource() (Closed)

Created:
3 years, 10 months ago by hiroshige
Modified:
3 years, 10 months ago
Reviewers:
sof, kouhei (in TOK)
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix PendingScript::errorOccurred() to be consistent with getSource() Previously, PendingScript::errorOccurred() didn't take |m_integrityFailure| into consideration while getSource()'s |errorOccurred| did. This CL merges these two implementations and thus makes PendingScript::errorOccurred() to take |m_integrityFailure| into consideration. BUG=686281 Review-Url: https://codereview.chromium.org/2716543002 Cr-Commit-Position: refs/heads/master@{#452518} Committed: https://chromium.googlesource.com/chromium/src/+/ac80ac8e76ab5e54af045fe844ebbef4c7e1c325

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M third_party/WebKit/Source/core/dom/PendingScript.cpp View 2 chunks +2 lines, -3 lines 2 comments Download

Depends on Patchset:

Messages

Total messages: 14 (9 generated)
hiroshige
PTAL (if bots are happy). It looks trivial to - remove getSource()'s |errorOccurred| parameter and ...
3 years, 10 months ago (2017-02-23 02:04:19 UTC) #4
sof
lgtm, i'm not convinced (yet) that changing getSource()'s signature adds real value here. https://codereview.chromium.org/2716543002/diff/1/third_party/WebKit/Source/core/dom/PendingScript.cpp File ...
3 years, 10 months ago (2017-02-23 08:10:48 UTC) #7
hiroshige
https://codereview.chromium.org/2716543002/diff/1/third_party/WebKit/Source/core/dom/PendingScript.cpp File third_party/WebKit/Source/core/dom/PendingScript.cpp (right): https://codereview.chromium.org/2716543002/diff/1/third_party/WebKit/Source/core/dom/PendingScript.cpp#newcode259 third_party/WebKit/Source/core/dom/PendingScript.cpp:259: return resource()->errorOccurred() || m_integrityFailure; On 2017/02/23 08:10:48, sof wrote: ...
3 years, 10 months ago (2017-02-23 16:41:25 UTC) #8
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/2716543002/1
3 years, 10 months ago (2017-02-23 16:42:37 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 16:48:17 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/ac80ac8e76ab5e54af045fe844eb...

Powered by Google App Engine
This is Rietveld 408576698