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

Issue 877513002: Add a test for a simulated click on a link. (Closed)

Created:
5 years, 11 months ago by Miyoung Shin
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a test for a simulated click on a link. When the Ctrl+Enter are pressed, the click is simulated. The test checks if the new tab is opened on the background. BUG=450069 R=jochen@chromium.org Committed: https://crrev.com/12ac7fa80a561b19ac68a471cfca410591dc7164 Cr-Commit-Position: refs/heads/master@{#314313}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -0 lines) Patch
M chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc View 1 2 3 4 3 chunks +87 lines, -0 lines 0 comments Download
A chrome/test/data/popup_blocker/popup-simulated-click-on-anchor.html View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (9 generated)
Miyoung Shin
jochen@, I couldn't add the test in popup_blocker_browsertest.cc you suggested because browser_tests doesn't include SendKeyPress ...
5 years, 11 months ago (2015-01-25 11:39:04 UTC) #1
jochen (gone - plz use gerrit)
you can use RenderViewHost::ForwardKeyboardEvent to send a simulated key event to the renderer. interactive ui ...
5 years, 11 months ago (2015-01-26 15:49:39 UTC) #2
Miyoung Shin
On 2015/01/26 15:49:39, jochen (slow) wrote: > you can use RenderViewHost::ForwardKeyboardEvent to send a simulated ...
5 years, 11 months ago (2015-01-27 07:45:11 UTC) #3
Miyoung Shin
jochen@, I've uploaded the new patch. PTAL.
5 years, 11 months ago (2015-01-27 14:05:36 UTC) #5
jochen (gone - plz use gerrit)
lgtm
5 years, 11 months ago (2015-01-27 14:55:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877513002/40001
5 years, 10 months ago (2015-01-29 01:21:27 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/28314)
5 years, 10 months ago (2015-01-29 02:56:07 UTC) #10
Miyoung Shin
On 2015/01/29 02:56:07, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 10 months ago (2015-01-29 16:50:17 UTC) #12
jochen (gone - plz use gerrit)
it's kinda of odd that this fails on mac. Can you verify that the behavior ...
5 years, 10 months ago (2015-01-29 16:52:57 UTC) #13
Miyoung Shin
On 2015/01/29 16:52:57, jochen (slow) wrote: > it's kinda of odd that this fails on ...
5 years, 10 months ago (2015-01-30 05:17:21 UTC) #14
jochen (gone - plz use gerrit)
I verified that in M40, Cmd-Enter doesn't work on mac either. So the test is ...
5 years, 10 months ago (2015-02-01 19:07:39 UTC) #15
Miyoung Shin
On 2015/02/01 19:07:39, jochen (slow) wrote: > I verified that in M40, Cmd-Enter doesn't work ...
5 years, 10 months ago (2015-02-02 16:12:05 UTC) #16
jochen (gone - plz use gerrit)
even better, lgtm!
5 years, 10 months ago (2015-02-02 16:13:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877513002/160001
5 years, 10 months ago (2015-02-03 03:43:29 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (None)
5 years, 10 months ago (2015-02-03 05:44:43 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877513002/160001
5 years, 10 months ago (2015-02-03 12:05:21 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:160001)
5 years, 10 months ago (2015-02-03 12:06:34 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 12:07:38 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/12ac7fa80a561b19ac68a471cfca410591dc7164
Cr-Commit-Position: refs/heads/master@{#314313}

Powered by Google App Engine
This is Rietveld 408576698