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

Issue 2648263006: <webview>: Synchronize WebViewFocusInteractiveTest.FocusAndVisibility (Closed)

Created:
3 years, 11 months ago by avallee
Modified:
3 years, 11 months ago
Reviewers:
EhsanK, wjmaclean
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

<webview>: Synchronize WebViewFocusInteractiveTest.FocusAndVisibility Fix flakiness present on mac and re-enable the test for mac. The guest js was drastically simplified to emit only two events to the guest, button was focused and keyup. The embedder then keeps the test in sync with each keypress and then asserts that the guest button was focused or not. There is a difference between oopif and browser plugin webviews that the embedder in browserplugin might see all keyboard events and must suppress those meant for the guest and only reply once the guest has processed the keyboard input. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation BUG=670008, 610819 Review-Url: https://codereview.chromium.org/2648263006 Cr-Commit-Position: refs/heads/master@{#446130} Committed: https://chromium.googlesource.com/chromium/src/+/f34dd22518c310f8b94bc75f4b82292f055a5f6c

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address ehsank's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -54 lines) Patch
M chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc View 1 2 chunks +23 lines, -25 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/focus_visibility/guest.js View 2 chunks +10 lines, -12 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/focus_visibility/window.html View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/focus_visibility/window.js View 1 4 chunks +59 lines, -15 lines 0 comments Download

Messages

Total messages: 25 (18 generated)
avallee
Ehsan: test has changed a lot, let me know if you think this still looks ...
3 years, 11 months ago (2017-01-25 17:13:02 UTC) #7
wjmaclean
lgtm
3 years, 11 months ago (2017-01-25 17:21:39 UTC) #10
EhsanK
Thanks for fixing/cleaning this test! LGTM with nits. https://codereview.chromium.org/2648263006/diff/1/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc File chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc (right): https://codereview.chromium.org/2648263006/diff/1/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc#newcode1374 chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc:1374: // ...
3 years, 11 months ago (2017-01-25 17:57:58 UTC) #11
avallee
Ehsan: fixed the issues. https://codereview.chromium.org/2648263006/diff/1/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc File chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc (right): https://codereview.chromium.org/2648263006/diff/1/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc#newcode1374 chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc:1374: // On mac, the event ...
3 years, 11 months ago (2017-01-25 18:50:18 UTC) #15
EhsanK
Thanks! LGTM. https://codereview.chromium.org/2648263006/diff/1/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc File chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc (right): https://codereview.chromium.org/2648263006/diff/1/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc#newcode1374 chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc:1374: // On mac, the event listener seems ...
3 years, 11 months ago (2017-01-25 19:31:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2648263006/20001
3 years, 11 months ago (2017-01-25 21:47:39 UTC) #22
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 21:53:18 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f34dd22518c310f8b94bc75f4b82...

Powered by Google App Engine
This is Rietveld 408576698