mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
501b078b36
--HG-- rename : dom/base/Console.cpp => dom/console/Console.cpp rename : dom/base/Console.h => dom/console/Console.h rename : dom/base/ConsoleAPI.manifest => dom/console/ConsoleAPI.manifest rename : dom/base/ConsoleAPIStorage.js => dom/console/ConsoleAPIStorage.js rename : dom/base/ConsoleReportCollector.cpp => dom/console/ConsoleReportCollector.cpp rename : dom/base/ConsoleReportCollector.h => dom/console/ConsoleReportCollector.h rename : dom/base/nsIConsoleAPIStorage.idl => dom/console/nsIConsoleAPIStorage.idl rename : dom/base/nsIConsoleReportCollector.h => dom/console/nsIConsoleReportCollector.h rename : dom/base/test/test_bug659625.html => dom/console/tests/test_bug659625.html rename : dom/base/test/test_bug978522.html => dom/console/tests/test_bug978522.html rename : dom/base/test/test_bug979109.html => dom/console/tests/test_bug979109.html rename : dom/base/test/test_bug989665.html => dom/console/tests/test_bug989665.html rename : dom/base/test/test_console.xul => dom/console/tests/test_console.xul rename : dom/base/test/test_consoleEmptyStack.html => dom/console/tests/test_consoleEmptyStack.html rename : dom/base/test/test_console_binding.html => dom/console/tests/test_console_binding.html rename : dom/base/test/test_console_proto.html => dom/console/tests/test_console_proto.html
33 lines
797 B
HTML
33 lines
797 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=978522
|
|
-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Test for Bug 978522 - basic support</title>
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
</head>
|
|
<body>
|
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=978522">Mozilla Bug 978522</a>
|
|
<script type="application/javascript">
|
|
|
|
console.log('%s', {
|
|
toString: function() {
|
|
console.log('%s', {
|
|
toString: function() {
|
|
ok(true, "Still alive \\o/");
|
|
SimpleTest.finish();
|
|
return "hello world";
|
|
}
|
|
});
|
|
}
|
|
});
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|