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

Issue 240002: Hook up external protocol handler to user gestures to prevent malicious sites... (Closed)

Created:
11 years, 3 months ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
SkyLined
CC:
chromium-reviews_googlegroups.com, brettw, Ben Goodger (Google)
Visibility:
Public.

Description

Hook up external protocol handler to user gestures to prevent malicious sites from popping up a lot of dialogs (or in the case of whitelisted protocols, launching a lot of programs). BUG=3628 TEST=test.html from crbug.com/21049 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27237

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -1 line) Patch
M chrome/browser/external_protocol_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/external_protocol_handler.cc View 6 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/gtk/external_protocol_dialog_gtk.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Evan Stade
11 years, 3 months ago (2009-09-25 02:34:10 UTC) #1
SkyLined
LGTM. Unfortunately, there is an open bug in WebKit that will probably allow bypassing this ...
11 years, 3 months ago (2009-09-25 08:34:31 UTC) #2
Evan Stade
11 years, 3 months ago (2009-09-25 18:30:41 UTC) #3
Well I can't view that bug, but I'd be pretty surprised if user gestures could
be faked for us because we only hook into events being sent to the renderer, and
don't care about anything the renderer sends back to us.

Powered by Google App Engine
This is Rietveld 408576698