[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.17-1283-gcf603cf
pfeldman at chromium.org
pfeldman at chromium.org
Tue Jan 5 23:59:49 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit 3b1f08a17836064fb3edcf132c492e283dc36f33
Author: pfeldman at chromium.org <pfeldman at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Dec 24 11:12:45 2009 +0000
2009-12-24 Pavel Feldman <pfeldman at chromium.org>
Not reviewed: follow up to r52545, adding missing tests.
* inspector/console-clear-expected.txt: Added.
* inspector/console-clear.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 4d71931..27b9507 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,10 @@
+2009-12-24 Pavel Feldman <pfeldman at chromium.org>
+
+ Not reviewed: follow up to r52545, adding missing tests.
+
+ * inspector/console-clear-expected.txt: Added.
+ * inspector/console-clear.html: Added.
+
2009-12-23 Pavel Feldman <pfeldman at chromium.org>
Reviewed by Timothy Hatcher.
diff --git a/LayoutTests/inspector/console-clear-expected.txt b/LayoutTests/inspector/console-clear-expected.txt
new file mode 100644
index 0000000..eb313ce
--- /dev/null
+++ b/LayoutTests/inspector/console-clear-expected.txt
@@ -0,0 +1,11 @@
+CONSOLE MESSAGE: line 9: one
+CONSOLE MESSAGE: line 10: two
+CONSOLE MESSAGE: line 11: three
+Tests that console is cleared upon requestClearMessages call.
+
+=== Before clear ===
+console-clear.html:9one
+console-clear.html:10two
+console-clear.html:11three
+=== After clear ===
+
diff --git a/LayoutTests/inspector/console-clear.html b/LayoutTests/inspector/console-clear.html
new file mode 100644
index 0000000..46fc140
--- /dev/null
+++ b/LayoutTests/inspector/console-clear.html
@@ -0,0 +1,32 @@
+<html>
+<head>
+<script src="inspector-test.js"></script>
+<script src="console-tests.js"></script>
+<script>
+
+function doit()
+{
+ console.log("one");
+ console.log("two");
+ console.log("three");
+
+ output("=== Before clear ===");
+ dumpConsoleMessages(true);
+ function callback()
+ {
+ output("=== After clear ===");
+ dumpConsoleMessages();
+ }
+ evaluateInWebInspector("WebInspector.console.requestClearMessages()", callback);
+}
+
+</script>
+</head>
+
+<body onload="onload()">
+<p>
+Tests that console is cleared upon requestClearMessages call.
+</p>
+
+</body>
+</html>
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list