Update web-platform-tests to revision 3bbb55915a04548e70c63b7c143a83e0e9d3c5e7

This commit is contained in:
WPT Sync Bot 2019-04-01 22:33:23 -04:00
parent 3340214a29
commit b55cc798b6
100 changed files with 2036 additions and 3665 deletions

View file

@ -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>