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

Issue 2564543002: Add tests for fullscreenchange and fullscreenerror event timing (Closed)

Created:
4 years ago by foolip
Modified:
4 years ago
CC:
blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tests for fullscreenchange and fullscreenerror event timing Although HTML does not yet define animation frame tasks as used by Fullscreen, it does have "run the fullscreen rendering steps". That's the old hook, making the timing of these events relative to resize and animation frame callbacks unambiguous: https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model Spec issue: https://github.com/whatwg/html/issues/707 document-exit-fullscreen-timing-manual.html consistently matches -expected.txt, with (accidentally) correct timing but no resize event. element-request-fullscreen-timing-manual.html usually matches -expected.txt, with incorrect timing, but can accidentally get the timing right and instead fail due to no resize event. Both are marked as flaky to be safe, and will be enabled in a coming CL. Note: This CL is also a test for the WPT export process. Firefox passes both fullscreechange event tests, but fails the fullscreenerror test. (Implementation preceded spec changes.) BUG=402376, 672436 Committed: https://crrev.com/9eef72d72ab21ad9d7513a3bc6a649fd3cc1d685 Cr-Commit-Position: refs/heads/master@{#437283}

Patch Set 1 #

Total comments: 7

Patch Set 2 : assert resize timing #

Messages

Total messages: 31 (15 generated)
foolip
mlamouri@, PTAL. These tests will be enabled by https://codereview.chromium.org/2557943002/ which I hope to also send ...
4 years ago (2016-12-08 11:41:59 UTC) #4
foolip
Found https://github.com/whatwg/html/issues/707 where I just proposed how to sort this out spec-side.
4 years ago (2016-12-08 11:45:57 UTC) #5
mlamouri (slow - plz ping)
lgtm https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html File third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html (right): https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html#newcode23 third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html:23: console.info('resize event timing not tested'); Should that fail? ...
4 years ago (2016-12-08 14:23:25 UTC) #8
foolip
https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html File third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html (right): https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html#newcode23 third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html:23: console.info('resize event timing not tested'); On 2016/12/08 14:23:24, mlamouri ...
4 years ago (2016-12-08 14:33:03 UTC) #9
mlamouri (slow - plz ping)
https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html File third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html (right): https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html#newcode23 third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html:23: console.info('resize event timing not tested'); On 2016/12/08 at 14:33:03, ...
4 years ago (2016-12-08 15:12:10 UTC) #10
foolip
https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html File third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html (right): https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html#newcode23 third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html:23: console.info('resize event timing not tested'); On 2016/12/08 15:12:10, mlamouri ...
4 years ago (2016-12-08 15:16:57 UTC) #11
mlamouri (slow - plz ping)
https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html File third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html (right): https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html#newcode23 third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html:23: console.info('resize event timing not tested'); On 2016/12/08 at 15:16:57, ...
4 years ago (2016-12-08 15:21:56 UTC) #12
foolip
https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html File third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html (right): https://codereview.chromium.org/2564543002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html#newcode23 third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html:23: console.info('resize event timing not tested'); On 2016/12/08 15:21:55, mlamouri ...
4 years ago (2016-12-08 15:57:45 UTC) #13
foolip
The tests are now on a form where the order is tested last, so that ...
4 years ago (2016-12-08 16:39:12 UTC) #18
mlamouri (slow - plz ping)
still lgtm. Thanks! :)
4 years ago (2016-12-08 17:17:53 UTC) #20
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/2564543002/20001
4 years ago (2016-12-08 17:28:19 UTC) #23
jeffcarp
lgtm
4 years ago (2016-12-08 17:40:48 UTC) #24
jeffcarp
On 2016/12/08 at 17:40:48, jeffcarp wrote: > lgtm Just to confirm, you expect only these ...
4 years ago (2016-12-08 17:41:57 UTC) #25
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-08 18:08:21 UTC) #28
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9eef72d72ab21ad9d7513a3bc6a649fd3cc1d685 Cr-Commit-Position: refs/heads/master@{#437283}
4 years ago (2016-12-08 18:11:19 UTC) #30
foolip
4 years ago (2016-12-08 20:39:02 UTC) #31
Message was sent while issue was closed.
On 2016/12/08 17:41:57, jeffcarp wrote:
> On 2016/12/08 at 17:40:48, jeffcarp wrote:
> > lgtm
> 
> Just to confirm, you expect only these files to be exported from this commit,
> right:
> 
>
third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-exit-fullscreen-timing-manual.html
>
third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-timing-manual.html

Yes, exactly :)

Powered by Google App Engine
This is Rietveld 408576698