mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
34
devtools/client/webconsole/test/test-console.html
Normal file
34
devtools/client/webconsole/test/test-console.html
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html dir="ltr" xml:lang="en-US" lang="en-US"><head>
|
||||
<meta charset="utf-8">
|
||||
<title>Console test</title>
|
||||
<script type="text/javascript">
|
||||
var fooObj = {
|
||||
testProp: "testValue"
|
||||
};
|
||||
|
||||
function test() {
|
||||
var str = "Dolske Digs Bacon, Now and Forevermore."
|
||||
for (var i=0; i < 5; i++) {
|
||||
console.log(str);
|
||||
}
|
||||
}
|
||||
|
||||
function testTrace() {
|
||||
console.log("bug 1100562");
|
||||
console.trace();
|
||||
}
|
||||
|
||||
console.info("INLINE SCRIPT:");
|
||||
test();
|
||||
console.warn("I'm warning you, he will eat up all yr bacon.");
|
||||
console.error("Error Message");
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="header">Heads Up Display Demo</h1>
|
||||
<button onclick="test();">Log stuff about Dolske</button>
|
||||
<button id="testTrace" onclick="testTrace();">Log stuff with stacktrace</button>
|
||||
<div id="myDiv"></div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue