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

Issue 2527093003: Improve Fullscreen unit tests (Closed)

Created:
4 years ago by foolip
Modified:
4 years ago
Reviewers:
chrishtr, esprehn, eae
CC:
blink-reviews, chromium-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve Fullscreen unit tests Test for difference between fullscreenElementFrom and currentFullScreenElementFrom, weird as it is. The latter should go away, but that is blocked on refactoring which will affect the timing. The tests will help catch regressions. There were previously no (unit) tests for the overlay fullscreen video mode currently handled in FullscreenController::didEnterFullscreen and ::didExitFullscreen. This will also have to be refactored, so add a test that failes if either of the setHasTransparentBackground calls are commented out. BUG=402376, 402421 Committed: https://crrev.com/40d1eb7898a35f3eb9d6b6abae7accc4a8a70d10 Cr-Commit-Position: refs/heads/master@{#435142}

Patch Set 1 #

Total comments: 3

Patch Set 2 : avoid ugly cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -20 lines) Patch
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 6 chunks +79 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 7 chunks +17 lines, -16 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (17 generated)
foolip
eae@, esprehn@, can either of you help review or delegate if this isn't your thing? ...
4 years ago (2016-11-24 17:07:01 UTC) #5
foolip
https://codereview.chromium.org/2527093003/diff/1/third_party/WebKit/Source/web/tests/WebFrameTest.cpp File third_party/WebKit/Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/2527093003/diff/1/third_party/WebKit/Source/web/tests/WebFrameTest.cpp#newcode7991 third_party/WebKit/Source/web/tests/WebFrameTest.cpp:7991: static_cast<WebLayerTreeViewImplForTesting*>( I can only assume this isn't cool? Is ...
4 years ago (2016-11-24 17:08:53 UTC) #6
eae
https://codereview.chromium.org/2527093003/diff/1/third_party/WebKit/Source/web/tests/WebFrameTest.cpp File third_party/WebKit/Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/2527093003/diff/1/third_party/WebKit/Source/web/tests/WebFrameTest.cpp#newcode7991 third_party/WebKit/Source/web/tests/WebFrameTest.cpp:7991: static_cast<WebLayerTreeViewImplForTesting*>( On 2016/11/24 17:08:53, foolip wrote: > I can ...
4 years ago (2016-11-24 21:45:31 UTC) #9
foolip
https://codereview.chromium.org/2527093003/diff/1/third_party/WebKit/Source/web/tests/WebFrameTest.cpp File third_party/WebKit/Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/2527093003/diff/1/third_party/WebKit/Source/web/tests/WebFrameTest.cpp#newcode7991 third_party/WebKit/Source/web/tests/WebFrameTest.cpp:7991: static_cast<WebLayerTreeViewImplForTesting*>( On 2016/11/24 21:45:31, eae wrote: > On 2016/11/24 ...
4 years ago (2016-11-28 14:23:38 UTC) #12
foolip
Friendly ping :)
4 years ago (2016-11-29 13:07:32 UTC) #15
chrishtr
lgtm
4 years ago (2016-11-29 23:41:58 UTC) #18
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/2527093003/20001
4 years ago (2016-11-29 23:43:03 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) cast_shell_linux on ...
4 years ago (2016-11-30 01:46:33 UTC) #21
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/2527093003/20001
4 years ago (2016-11-30 07:14:07 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-30 07:52:54 UTC) #26
commit-bot: I haz the power
4 years ago (2016-11-30 07:56:20 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/40d1eb7898a35f3eb9d6b6abae7accc4a8a70d10
Cr-Commit-Position: refs/heads/master@{#435142}

Powered by Google App Engine
This is Rietveld 408576698