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

Issue 10832196: [extensions] Don't let clicks on <a href="#"> links escape un-prevented. (Closed)

Created:
8 years, 4 months ago by Dan Beam
Modified:
8 years, 4 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews, Aaron Boodman, arv (Not doing code reviews), mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

[extensions] Don't let clicks on <a href="#"> links escape un-prevented. Also adds the utility to stop clicks on any page to util.js and makes the NTP a user of this function. BUG=136338 TEST=Inspect a background view, options, or reload an extension while scrolled without being forced to the top of the page. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151127

Patch Set 1 #

Patch Set 2 : more global fix #

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : . #

Patch Set 5 : rebase #

Patch Set 6 : . #

Patch Set 7 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M chrome/browser/resources/extensions/extensions.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/extensions/extensions.js View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.js View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/shared/js/util.js View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Dan Beam
8 years, 4 months ago (2012-08-08 05:05:05 UTC) #1
Evan Stade
https://chromiumcodereview.appspot.com/10832196/diff/5001/chrome/browser/resources/shared/js/util.js File chrome/browser/resources/shared/js/util.js (right): https://chromiumcodereview.appspot.com/10832196/diff/5001/chrome/browser/resources/shared/js/util.js#newcode135 chrome/browser/resources/shared/js/util.js:135: function preventPoundLinkClicks() { I think this function name could ...
8 years, 4 months ago (2012-08-08 20:03:07 UTC) #2
Dan Beam
https://chromiumcodereview.appspot.com/10832196/diff/5001/chrome/browser/resources/shared/js/util.js File chrome/browser/resources/shared/js/util.js (right): https://chromiumcodereview.appspot.com/10832196/diff/5001/chrome/browser/resources/shared/js/util.js#newcode135 chrome/browser/resources/shared/js/util.js:135: function preventPoundLinkClicks() { On 2012/08/08 20:03:07, Evan Stade wrote: ...
8 years, 4 months ago (2012-08-08 20:28:11 UTC) #3
Evan Stade
yea
8 years, 4 months ago (2012-08-08 22:16:42 UTC) #4
Evan Stade
lgtm
8 years, 4 months ago (2012-08-08 22:24:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/10832196/10001
8 years, 4 months ago (2012-08-08 23:01:05 UTC) #6
commit-bot: I haz the power
8 years, 4 months ago (2012-08-08 23:30:31 UTC) #7
Try job failure for 10832196-10001 (retry) on android for steps "compile, build"
(clobber build).
It's a second try, previously, steps "compile, build" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android&nu...

Powered by Google App Engine
This is Rietveld 408576698