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

Issue 2847803007: [selectors4] :focus-within test when iframe loses focus (Closed)

Created:
3 years, 7 months ago by Manuel Rego
Modified:
3 years, 7 months ago
Reviewers:
rune
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[selectors4] :focus-within test when iframe loses focus This test should be part of https://codereview.chromium.org/2821303005 but at that time I didn't find the way to focus/unfocus an iframe. The solution was to use internals.setFocused() for that purpose. This patch adds a new test pretty similar to the one for windows (fast/selectors/focus-within-window-inactive.html), but checking what happens when an iframe loses and regains focus. BUG=617371 TEST=fast/selectors/focus-within-iframe.html Review-Url: https://codereview.chromium.org/2847803007 Cr-Commit-Position: refs/heads/master@{#468601} Committed: https://chromium.googlesource.com/chromium/src/+/004ddc7b1a8b2c907f31179020ed17186b6639eb

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use "srcdoc" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/fast/selectors/focus-within-iframe.html View 1 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
Manuel Rego
We talked about this in the common ancestor patch, and today I found how to ...
3 years, 7 months ago (2017-04-28 09:37:41 UTC) #2
rune
lgtm https://codereview.chromium.org/2847803007/diff/1/third_party/WebKit/LayoutTests/fast/selectors/focus-within-iframe.html File third_party/WebKit/LayoutTests/fast/selectors/focus-within-iframe.html (right): https://codereview.chromium.org/2847803007/diff/1/third_party/WebKit/LayoutTests/fast/selectors/focus-within-iframe.html#newcode24 third_party/WebKit/LayoutTests/fast/selectors/focus-within-iframe.html:24: frame.contentDocument.close(); You could probably just use the srcdoc ...
3 years, 7 months ago (2017-04-28 13:00:03 UTC) #3
Manuel Rego
Thanks for the review. https://codereview.chromium.org/2847803007/diff/1/third_party/WebKit/LayoutTests/fast/selectors/focus-within-iframe.html File third_party/WebKit/LayoutTests/fast/selectors/focus-within-iframe.html (right): https://codereview.chromium.org/2847803007/diff/1/third_party/WebKit/LayoutTests/fast/selectors/focus-within-iframe.html#newcode24 third_party/WebKit/LayoutTests/fast/selectors/focus-within-iframe.html:24: frame.contentDocument.close(); On 2017/04/28 13:00:03, rune ...
3 years, 7 months ago (2017-05-02 07:53:35 UTC) #4
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/2847803007/20001
3 years, 7 months ago (2017-05-02 07:53:55 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/443111)
3 years, 7 months ago (2017-05-02 09:50:24 UTC) #9
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/2847803007/20001
3 years, 7 months ago (2017-05-02 09:59:31 UTC) #11
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 11:41:08 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/004ddc7b1a8b2c907f31179020ed...

Powered by Google App Engine
This is Rietveld 408576698