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

Issue 27693002: DevTools: Display a warning when trying to open untrusted frontend (Closed)

Created:
7 years, 2 months ago by Vladislav Kaznacheev
Modified:
7 years, 2 months ago
CC:
chromium-reviews, vsevik, yurys, paulirish+reviews_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, pfeldman
Visibility:
Public.

Description

DevTools: Display a warning when trying to open untrusted frontend. When Chrome is trying to inspect a page on a connected Android device the DevTools frontend is fetched from a URL supplied by the remote browser. Currently Chrome would crash if this URL is not pointing to a trusted source. For instance, this happens when trying to inspect a page in ContentShell. This patch removes the CHECKs and displays a text warning instead. BUG=295979 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229371

Patch Set 1 #

Patch Set 2 : Removed the other CHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M chrome/browser/devtools/devtools_window.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/devtools_ui.cc View 1 2 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Vladislav Kaznacheev
7 years, 2 months ago (2013-10-17 11:31:33 UTC) #1
pfeldman
lgtm
7 years, 2 months ago (2013-10-17 11:35:06 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaznacheev@chromium.org/27693002/1
7 years, 2 months ago (2013-10-17 12:10:17 UTC) #3
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=30980
7 years, 2 months ago (2013-10-17 12:45:56 UTC) #4
Vladislav Kaznacheev
Hello Bernhard, Please review this change to devtools_ui.cc Thanks, Vlad
7 years, 2 months ago (2013-10-17 13:10:22 UTC) #5
Bernhard Bauer
LGTM, but a better description would be nice. That this CL is about a crash ...
7 years, 2 months ago (2013-10-17 13:36:34 UTC) #6
Vladislav Kaznacheev
On 2013/10/17 13:36:34, Bernhard Bauer wrote: > LGTM, but a better description would be nice. ...
7 years, 2 months ago (2013-10-17 14:40:40 UTC) #7
Bernhard Bauer
Thanks! That's a lot nicer.
7 years, 2 months ago (2013-10-17 14:44:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaznacheev@chromium.org/27693002/12001
7 years, 2 months ago (2013-10-17 14:53:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaznacheev@chromium.org/27693002/12001
7 years, 2 months ago (2013-10-18 01:53:34 UTC) #10
commit-bot: I haz the power
7 years, 2 months ago (2013-10-18 12:12:04 UTC) #11
Message was sent while issue was closed.
Change committed as 229371

Powered by Google App Engine
This is Rietveld 408576698