Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fullscreen: give trusted_click and trusted_click the test for step_func #4507

Merged
merged 1 commit into from Jan 4, 2017

Conversation

foolip
Copy link
Member

@foolip foolip commented Jan 4, 2017

The element.requestFullscreen() is wrapped in an arrow function, which
together with the other changes should make failures more obvious.

The element.requestFullscreen() is wrapped in an arrow function, which
together with the other changes should make failures more obvious.
@wpt-pr-bot
Copy link
Collaborator

Notifying @aliams, @foolip, @jernoble, and @upsuper. (Learn how reviewing works.)

@foolip
Copy link
Member Author

foolip commented Jan 4, 2017

This seems to have worked better, can you review, @aliams?

@wpt-stability-bot
Copy link

Firefox

Testing revision dea4673
Starting 10 test iterations
No tests run.

@wpt-stability-bot
Copy link

Chrome

Testing revision dea4673
Starting 10 test iterations
No tests run.

@aliams
Copy link
Contributor

aliams commented Jan 4, 2017

LGTM. The error messages are much clearer now.

As an aside, I was wondering if there are any best practices when it comes to using the new JS operators considering that you may want to run these tests on older browsers.

@foolip
Copy link
Member Author

foolip commented Jan 4, 2017

I don't think there's an established easy-to-follow rule for what new features are OK and not. At the very least things that don't work in the stable versions of all major browsers shouldn't be used, and for older versions I'd say it depends on the value of actually running the tests. In this case, there aren't any older browsers where these tests will work.

@foolip foolip merged commit 5e1a3b8 into master Jan 4, 2017
@foolip foolip deleted the fullscreen-step-func branch January 4, 2017 21:04
MXEBot pushed a commit to mirror/chromium that referenced this pull request Jun 1, 2017
See web-platform-tests/wpt#4507

This is to make it easier to fork and unfork the tests as needed while
moving towards alignment between spec and implementation.

For fast/media/mq-display-mode-fullscreen.html, use runWithKeyDown
instead, which doesn't assume testharness.js.

BUG=402376

Change-Id: I64e44356e2efa537384987aca509cff58170c04d
Reviewed-on: https://chromium-review.googlesource.com/519403
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#475904}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants