blob: f35279b53ec5ed4be6d721ae3e6a358e8ab14728 [file] [log] [blame]
<!DOCTYPE html>
<body>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
// navigator.webdriver property is a runtime enabled feature
// that should not exist if not excplicitly enabled
test(function() {
assert_false("webdriver" in window.navigator);
assert_true(navigator.webdriver === undefined);
}, "Test if webdriver property is not in the prototype chain");
</script>
</body>
</html>