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

Issue 2265823002: DevTools: fix instances where asParsedURL is null (Closed)

Created:
4 years, 4 months ago by luoe
Modified:
4 years, 4 months ago
Reviewers:
dgozman, pfeldman, allada
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: fix instances where asParsedURL is null BUG=639540 Committed: https://crrev.com/8bb0fdf8b67c2671d9c2282e40d0502108c5c12a Cr-Commit-Position: refs/heads/master@{#413591}

Patch Set 1 #

Patch Set 2 : Fix instances with parsedURL #

Total comments: 9

Patch Set 3 : Fix instances with parsedURL #

Total comments: 2

Patch Set 4 : Fix instances with parsedURL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -7 lines) Patch
M third_party/WebKit/LayoutTests/inspector/elements/elements-panel-rewrite-href.html View 1 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js View 1 3 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
luoe
Since asParsedURL() can return null, we should always check that it's truthy before using it. ...
4 years, 4 months ago (2016-08-22 16:58:06 UTC) #3
dgozman
https://codereview.chromium.org/2265823002/diff/20001/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js File third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js (right): https://codereview.chromium.org/2265823002/diff/20001/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js#newcode621 third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js:621: var filename = String.sprintf("%s-%d.log", parsedURL ? parsedURL.host : WebInspector.UIString("log"), ...
4 years, 4 months ago (2016-08-22 17:05:43 UTC) #4
luoe
https://codereview.chromium.org/2265823002/diff/20001/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js File third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js (right): https://codereview.chromium.org/2265823002/diff/20001/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js#newcode621 third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js:621: var filename = String.sprintf("%s-%d.log", parsedURL ? parsedURL.host : WebInspector.UIString("log"), ...
4 years, 4 months ago (2016-08-22 17:40:40 UTC) #5
dgozman
lgtm https://codereview.chromium.org/2265823002/diff/20001/third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js File third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js (right): https://codereview.chromium.org/2265823002/diff/20001/third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js#newcode683 third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js:683: this.securityOrigin = parsedURL.securityOrigin(); On 2016/08/22 17:40:40, luoe wrote: ...
4 years, 4 months ago (2016-08-22 19:38:24 UTC) #6
luoe
https://codereview.chromium.org/2265823002/diff/20001/third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js File third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js (right): https://codereview.chromium.org/2265823002/diff/20001/third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js#newcode683 third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js:683: this.securityOrigin = parsedURL.securityOrigin(); On 2016/08/22 19:38:24, dgozman wrote: > ...
4 years, 4 months ago (2016-08-22 19:40:51 UTC) #7
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/2265823002/60001
4 years, 4 months ago (2016-08-22 23:59:57 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-23 00:09:21 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 00:10:54 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8bb0fdf8b67c2671d9c2282e40d0502108c5c12a
Cr-Commit-Position: refs/heads/master@{#413591}

Powered by Google App Engine
This is Rietveld 408576698