[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

pfeldman at chromium.org pfeldman at chromium.org
Thu Apr 8 00:48:37 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 875c5a2f1d952bf416f18c99a4ee592784f19cc7
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