1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/webconsole/test/test-console-output-03.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html dir="ltr" lang="en-US"> 1.6 +<head> 1.7 + <meta charset="utf-8"> 1.8 + <title>Test the web console output - 03</title> 1.9 + <!-- 1.10 + - Any copyright is dedicated to the Public Domain. 1.11 + - http://creativecommons.org/publicdomain/zero/1.0/ 1.12 + --> 1.13 +</head> 1.14 +<body> 1.15 + <p>hello world!</p> 1.16 + <script type="text/javascript"> 1.17 +function testBodyClassName() { 1.18 + document.body.className = "test1 tezt2"; 1.19 + return document.body; 1.20 +} 1.21 + 1.22 +function testBodyID() { 1.23 + document.body.id = 'foobarid'; 1.24 + return document.body; 1.25 +} 1.26 + 1.27 +function testBodyDataset() { 1.28 + document.body.dataset.preview = 'zuzu"<a>foo'; 1.29 + return document.body; 1.30 +} 1.31 + </script> 1.32 +</body> 1.33 +</html>