зеркало из https://github.com/mozilla/gecko-dev.git
18 строки
449 B
HTML
18 строки
449 B
HTML
<!DOCTYPE html>
|
|
<title>Promises#reject</title>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<div id="log"></div>
|
|
<script>
|
|
async_test(function(t)
|
|
{
|
|
var e = document.createElement('span');
|
|
e.requestFullscreen().catch(t.step_func_done());
|
|
});
|
|
async_test(function(t)
|
|
{
|
|
var e = document.createElement('span');
|
|
document.exitFullscreen().catch(t.step_func_done());
|
|
});
|
|
</script>
|