summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/test-console-output-03.html
blob: 9dcf051a63f32bd119da1c9797e20bd9c0e1c5c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE HTML>
<html dir="ltr" lang="en-US">
<head>
  <meta charset="utf-8">
  <title>Test the web console output - 03</title>
  <!--
  - Any copyright is dedicated to the Public Domain.
  - http://creativecommons.org/publicdomain/zero/1.0/
  -->
</head>
<body>
  <p>hello world!</p>
  <script type="text/javascript">
function testBodyClassName() {
  document.body.className = "test1 tezt2";
  return document.body;
}

function testBodyID() {
  document.body.id = 'foobarid';
  return document.body;
}

function testBodyDataset() {
  document.body.dataset.preview = 'zuzu"<a>foo';
  return document.body;
}
  </script>
</body>
</html>