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

Add a reftest that entering fullscreen mode takes over the window #22809

Merged

Conversation

@asajeffrey
Copy link
Member

asajeffrey commented Feb 1, 2019

Add a baseline reftest for fullscreen that ensures that going fullscreen actually uses the whole window. This uses a pref that requests that fullscreen mode takes over the window rather than the whole screen. The pref doesn't do anything right now, but is a bit of future-proofing for when we do have proper fullscreen.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #22804.
  • There are tests for these changes

This change is Reviewable

@highfive
Copy link

highfive commented Feb 1, 2019

Heads up! This PR modifies the following files:

  • @KiChjang: components/script/dom/document.rs
@servo-wpt-sync
Copy link
Collaborator

servo-wpt-sync commented Feb 1, 2019

Opened new PR for upstreamable changes.

Completed upstream sync of web-platform-test changes at web-platform-tests/wpt#15218.

@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 1, 2019

cc @jdm and @jgraham

@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 1, 2019

This is a dry run for reftests for WebVR/XR which look a lot like putting a canvas into fullscreen mode.

@jugglinmike
Copy link

jugglinmike commented Feb 2, 2019

@jdm
Copy link
Member

jdm commented Feb 2, 2019

No, it's how our system works. It gets merged upstream after it merges in this repository.

@jugglinmike
Copy link

jugglinmike commented Feb 2, 2019

Ah, got it. Maybe we should change @wpt-pr-bot's message a bit and/or delay approval.

@jdm
Copy link
Member

jdm commented Feb 2, 2019

I'll point out that the Chromium upstreaming system behaves the exact same way. The presence of the 'do not merge' label acts as an indicator of the status.

@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 2, 2019

Should I add a README about what's needed to pass this test?

@jdm
Copy link
Member

jdm commented Feb 2, 2019

No. We shouldn't add upstream tests that other browsers can't pass.

@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 2, 2019

Okay, I'll move the reftest into the wpt/mozilla directory then. At some point the other browsers might like some reftests for fullscreen, but we can deal with that when there's an agreed way to do the testing.

@servo-wpt-sync
Copy link
Collaborator

servo-wpt-sync commented Feb 4, 2019

No upstreamable changes; closed existing PR.

Completed upstream sync of web-platform-test changes at web-platform-tests/wpt#15218.

@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 4, 2019

Okay, test moved to the wpt/mozilla directory.

@asajeffrey asajeffrey force-pushed the asajeffrey:wpt-add-fullscreen-baseline-reftest branch from bd73cab to f1d0f73 Feb 5, 2019
asajeffrey added a commit to asajeffrey/servo that referenced this pull request Feb 5, 2019
@asajeffrey asajeffrey mentioned this pull request Feb 5, 2019
3 of 3 tasks complete
@jdm
jdm approved these changes Feb 5, 2019
@jdm
Copy link
Member

jdm commented Feb 5, 2019

This looks ready to merge as soon as the conflict is gone.

@asajeffrey asajeffrey force-pushed the asajeffrey:wpt-add-fullscreen-baseline-reftest branch from f1d0f73 to d286209 Feb 5, 2019
@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 5, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Feb 5, 2019

📌 Commit d286209 has been approved by asajeffrey

@highfive highfive assigned asajeffrey and unassigned emilio Feb 5, 2019
@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 5, 2019

Argh I meant r=jdm, oops.

@bors-servo
Copy link
Contributor

bors-servo commented Feb 5, 2019

Testing commit d286209 with merge 0cf9bcd...

bors-servo added a commit that referenced this pull request Feb 5, 2019
…, r=asajeffrey

Add a reftest that entering fullscreen mode takes over the window

<!-- Please describe your changes on the following line: -->

Add a baseline reftest for fullscreen that ensures that going fullscreen actually uses the whole window. This uses a pref that requests that fullscreen mode takes over the window rather than the whole screen. The pref doesn't do anything right now, but is a bit of future-proofing for when we do have proper fullscreen.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #22804.
- [X] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22809)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 5, 2019

💔 Test failed - mac-rel-wpt3

@jdm
Copy link
Member

jdm commented Feb 5, 2019

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Feb 5, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Feb 5, 2019

@bors-servo bors-servo merged commit d286209 into servo:master Feb 5, 2019
3 of 4 checks passed
3 of 4 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
Taskcluster (pull_request) TaskGroup: success
Details
Travis CI - Pull Request Build Passed
Details
homu Test successful
Details
jugglinmike added a commit to bocoup/wpt-pr-bot that referenced this pull request Feb 6, 2019
Some downstream projects create a pull request before code review has
been completed [1]. Update the generated comment to avoid suggesting
otherwise, and extend with the name of the downstream project where
review is under way.

[1] servo/servo#22809 (comment)
jugglinmike added a commit to bocoup/wpt-pr-bot that referenced this pull request Oct 23, 2019
Some downstream projects create a pull request before code review has
been completed [1]. Update the generated comment to avoid suggesting
otherwise, and extend with the name of the downstream project where
review is under way.

[1] servo/servo#22809 (comment)
jugglinmike added a commit to web-platform-tests/wpt-pr-bot that referenced this pull request Oct 23, 2019
Some downstream projects create a pull request before code review has
been completed [1]. Update the generated comment to avoid suggesting
otherwise, and extend with the name of the downstream project where
review is under way.

[1] servo/servo#22809 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

7 participants
You can’t perform that action at this time.