mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add reftests for fullscreen mode
This commit is contained in:
parent
871fe9306f
commit
d2862094ec
7 changed files with 123 additions and 2 deletions
|
@ -3164,8 +3164,20 @@ impl Document {
|
|||
if !pending.fullscreen_element_ready_check() {
|
||||
error = true;
|
||||
}
|
||||
// TODO fullscreen is supported
|
||||
// TODO This algorithm is allowed to request fullscreen.
|
||||
|
||||
if PREFS
|
||||
.get("dom.fullscreen.test")
|
||||
.as_boolean()
|
||||
.unwrap_or(false)
|
||||
{
|
||||
// For reftests we just take over the current window,
|
||||
// and don't try to really enter fullscreen.
|
||||
info!("Tests don't really enter fullscreen.");
|
||||
} else {
|
||||
// TODO fullscreen is supported
|
||||
// TODO This algorithm is allowed to request fullscreen.
|
||||
warn!("Fullscreen not supported yet");
|
||||
}
|
||||
|
||||
// Step 5 Parallel start
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue