summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/fetch/test_request_context.html
blob: db8b8bdc6e1ec9704a82dd0dd41cd096b13238b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!--
  Any copyright is dedicated to the Public Domain.
  http://creativecommons.org/publicdomain/zero/1.0/
-->
<!DOCTYPE HTML>
<html>
<head>
  <title>Make sure that Request.context is not exposed by default</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<script>
var req = new Request("");
ok(!("context" in req), "Request.context should not be exposed by default");
</script>
</body>
</html>