Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<title>navigator.install() is defined</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
test(function() {
assert_true(isSecureContext, 'The test must run in a secure context');
assert_true('install' in navigator, 'navigator.install should be present');
assert_equals(typeof navigator.install, 'function',
'navigator.install should be a function');
}, 'navigator.install() is defined.');
</script>
</body>