summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator_user_agent.tentative.html
blob: dd4c531070c8a21328a14709fd0357c6fba15001 (plain)
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
  test(t => {
    assert_false("getUserAgent" in navigator);
  }, "navigator.getUserAgent() is not available in non-secure contexts.");
</script>