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

Issue 516483002: Stop devtools if socket for http server cannot be instantiated. (Closed)

Created:
6 years, 3 months ago by byungchul
Modified:
6 years, 3 months ago
CC:
chromium-reviews, vsevik, jam, yurys, paulirish+reviews_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Stop devtools if socket for http server cannot be instantiated. Currently, it crashes entire chrome. This CL is to stop devtools gracefully when socket for http server cannot be instantiated because of any reasons including address-already-in-use error. BUG=407999 Committed: https://crrev.com/d0d6d20257baefd4e018d7d2f9273d5357186c8f Cr-Commit-Position: refs/heads/master@{#292341}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Don't release devtools on socket open error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -3 lines) Patch
M content/browser/devtools/devtools_http_handler_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/devtools/devtools_http_handler_impl.cc View 1 2 chunks +21 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
byungchul
byungchul@chromium.org changed reviewers: + mnaganov@chromium.org, pfeldman@chromium.org, yurys@chromium.org
6 years, 3 months ago (2014-08-27 17:23:50 UTC) #1
byungchul
@Yury, could you please review this CL while Pavel is OOO.
6 years, 3 months ago (2014-08-27 17:25:07 UTC) #2
pfeldman
pfeldman@chromium.org changed reviewers: + dgozman@chromium.org, vkuzkokov@chromium.org
6 years, 3 months ago (2014-08-27 18:41:21 UTC) #3
dgozman
https://codereview.chromium.org/516483002/diff/1/content/browser/devtools/devtools_http_handler_impl.cc File content/browser/devtools/devtools_http_handler_impl.cc (right): https://codereview.chromium.org/516483002/diff/1/content/browser/devtools/devtools_http_handler_impl.cc#newcode257 content/browser/devtools/devtools_http_handler_impl.cc:257: if (server_->GetLocalAddress(&ip_address)) Please guard this, since you can have ...
6 years, 3 months ago (2014-08-27 19:32:24 UTC) #4
byungchul
https://codereview.chromium.org/516483002/diff/1/content/browser/devtools/devtools_http_handler_impl.cc File content/browser/devtools/devtools_http_handler_impl.cc (right): https://codereview.chromium.org/516483002/diff/1/content/browser/devtools/devtools_http_handler_impl.cc#newcode257 content/browser/devtools/devtools_http_handler_impl.cc:257: if (server_->GetLocalAddress(&ip_address)) On 2014/08/27 19:32:23, dgozman wrote: > Please ...
6 years, 3 months ago (2014-08-27 20:45:37 UTC) #5
dgozman
lgtm
6 years, 3 months ago (2014-08-28 05:11:28 UTC) #6
byungchul
The CQ bit was checked by byungchul@chromium.org
6 years, 3 months ago (2014-08-28 05:39:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/byungchul@chromium.org/516483002/20001
6 years, 3 months ago (2014-08-28 05:40:36 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_arm64_dbg_recipe on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-28 06:19:37 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 06:23:48 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/7261)
6 years, 3 months ago (2014-08-28 06:23:49 UTC) #11
pfeldman
lgtm
6 years, 3 months ago (2014-08-28 06:56:33 UTC) #12
byungchul
The CQ bit was checked by byungchul@chromium.org
6 years, 3 months ago (2014-08-28 07:21:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/byungchul@chromium.org/516483002/20001
6 years, 3 months ago (2014-08-28 07:22:27 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001) as ba72d8abbe5974ce51b4c0341431429f99819533
6 years, 3 months ago (2014-08-28 07:27:34 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:58:14 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d0d6d20257baefd4e018d7d2f9273d5357186c8f
Cr-Commit-Position: refs/heads/master@{#292341}

Powered by Google App Engine
This is Rietveld 408576698