mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
094aad9e14
When receiving a console clear message, the webconsole should clear the UI: remove all messages until the clear() message and close the variables view sidebar if opened. Add one integration tests to test console.clear calls from the content page. MozReview-Commit-ID: GnBCBSmN1rk --HG-- extra : rebase_source : 3bb9f99fa4ac8ed6772e325dba978ce3e6a0f202 extra : source : 671011b82100a598dd8368205bd625227bfdc060
17 lines
375 B
HTML
17 lines
375 B
HTML
<!DOCTYPE HTML>
|
|
<html dir="ltr" xml:lang="en-US" lang="en-US"><head>
|
|
<meta charset="utf-8">
|
|
<title>Console.clear() tests</title>
|
|
<script type="text/javascript">
|
|
console.log("log1");
|
|
console.log("log2");
|
|
console.clear();
|
|
|
|
window.objFromPage = { a: 1 };
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<h1 id="header">Clear Demo</h1>
|
|
</body>
|
|
</html>
|