mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision 3bbb55915a04548e70c63b7c143a83e0e9d3c5e7
This commit is contained in:
parent
3340214a29
commit
b55cc798b6
100 changed files with 2036 additions and 3665 deletions
|
@ -8,11 +8,14 @@
|
|||
// no normative requirements on what navigationUI should do, just test for
|
||||
// basic support. (One could also check that the three allowed enum valid are
|
||||
// supported and no others, but that would overlap with UA-specific tests.)
|
||||
test(() => {
|
||||
promise_test(() => {
|
||||
let invoked = false;
|
||||
document.body.requestFullscreen({
|
||||
return document.body.requestFullscreen({
|
||||
get navigationUI() { invoked = true; return "irrelevant-value"; }
|
||||
}).then(() => {
|
||||
assert_unreached("promise should be rejected due to invalid navigationUI value");
|
||||
}, () => {
|
||||
assert_true(invoked, "navigationUI getter invoked");
|
||||
});
|
||||
assert_true(invoked, "navigationUI getter invoked");
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue