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

[ChromeDriver] Workaround DevTools fullscreen issue #20573

Merged
merged 1 commit into from Dec 3, 2019

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Dec 3, 2019

Add some workaround code while setting browser window to fullscreen
mode, to work around an issue in DevTools fullscreen command. In
particular, call document.documentElement.requestFullscreen() to ensure
that document.webkitIsFullScreen returns the correct values. All WPT
tests related to fullscreen now pass.

Also made an adjustment to WPT set_window_rect/set.py
test_fully_exit_fullscreen, which was using a width below the minimum
supported by Chrome.

Bug: 982071
Change-Id: I0e50883c3f67a566df1bc4ffd331aeac0b0ef1e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1947816
Reviewed-by: Lan Wei <lanwei@chromium.org>
Commit-Queue: John Chen <johnchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#721019}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

Add some workaround code while setting browser window to fullscreen
mode, to work around an issue in DevTools fullscreen command. In
particular, call document.documentElement.requestFullscreen() to ensure
that document.webkitIsFullScreen returns the correct values. All WPT
tests related to fullscreen now pass.

Also made an adjustment to WPT set_window_rect/set.py
test_fully_exit_fullscreen, which was using a width below the minimum
supported by Chrome.

Bug: 982071
Change-Id: I0e50883c3f67a566df1bc4ffd331aeac0b0ef1e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1947816
Reviewed-by: Lan Wei <lanwei@chromium.org>
Commit-Queue: John Chen <johnchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#721019}
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

3 participants