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

Issue 2649593002: DevTools: add missing check for null script in SourceMapNamesResolver (Closed)

Created:
3 years, 11 months ago by luoe
Modified:
3 years, 11 months ago
Reviewers:
dgozman, lushnikov
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: add missing check for null script in SourceMapNamesResolver SourceMapNamesResolver.js was missing a check due to the possibility for SDK.DebuggerModel.Location.script() to return null. BUG=681419 Review-Url: https://codereview.chromium.org/2649593002 Cr-Commit-Position: refs/heads/master@{#445212} Committed: https://chromium.googlesource.com/chromium/src/+/9889b14fb43fb5faba6df832065a5d3373e76df3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
luoe
Please take a look
3 years, 11 months ago (2017-01-20 18:39:14 UTC) #4
dgozman
lgtm. Nice fix!
3 years, 11 months ago (2017-01-20 23:46:02 UTC) #9
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/2649593002/1
3 years, 11 months ago (2017-01-20 23:47:01 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/9889b14fb43fb5faba6df832065a5d3373e76df3
3 years, 11 months ago (2017-01-20 23:52:32 UTC) #14
lushnikov
Thank you for the fix! Still, how come this was resulting in target page crash?
3 years, 11 months ago (2017-01-23 05:23:46 UTC) #15
luoe
3 years, 11 months ago (2017-01-23 19:01:18 UTC) #16
Message was sent while issue was closed.
That part is not yet clear to me.  I'm only able to reproduce the bug on my
personal computer at home, which has a slower HDD.  Let's continue this
discussion in the bug!

Powered by Google App Engine
This is Rietveld 408576698