Title: [108992] trunk/LayoutTests
Revision
108992
Author
[email protected]
Date
2012-02-27 07:13:12 -0800 (Mon, 27 Feb 2012)

Log Message

Web Inspector: drop protocol-level tests
https://bugs.webkit.org/show_bug.cgi?id=79671

Reviewed by Vsevolod Vlasov.

* inspector/protocol/console-agent-expected.txt: Removed.
* inspector/protocol/console-agent.html: Removed.
* inspector/protocol/runtime-agent-expected.txt: Removed.
* inspector/protocol/runtime-agent.html: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (108991 => 108992)


--- trunk/LayoutTests/ChangeLog	2012-02-27 15:07:23 UTC (rev 108991)
+++ trunk/LayoutTests/ChangeLog	2012-02-27 15:13:12 UTC (rev 108992)
@@ -1,3 +1,15 @@
+2012-02-27  Pavel Feldman  <[email protected]>
+
+        Web Inspector: drop protocol-level tests
+        https://bugs.webkit.org/show_bug.cgi?id=79671
+
+        Reviewed by Vsevolod Vlasov.
+
+        * inspector/protocol/console-agent-expected.txt: Removed.
+        * inspector/protocol/console-agent.html: Removed.
+        * inspector/protocol/runtime-agent-expected.txt: Removed.
+        * inspector/protocol/runtime-agent.html: Removed.
+
 2012-02-27  Csaba Osztrogonác  <[email protected]>
 
         [Qt][WK2] Skip one more crashing test.

Deleted: trunk/LayoutTests/inspector/protocol/console-agent-expected.txt (108991 => 108992)


--- trunk/LayoutTests/inspector/protocol/console-agent-expected.txt	2012-02-27 15:07:23 UTC (rev 108991)
+++ trunk/LayoutTests/inspector/protocol/console-agent-expected.txt	2012-02-27 15:13:12 UTC (rev 108992)
@@ -1,202 +0,0 @@
-CONSOLE MESSAGE: line 1: test
-CONSOLE MESSAGE: line 1: test
-Protocol stability test. It is dumping request/response pairs of ConsoleAgent functions.
-
------------------------------------------------------------
-ConsoleAgent.disable()
-
-request:
-{
-    method : "Console.disable"
-    id : <number>
-}
-
-response:
-{
-    result : {
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-ConsoleAgent.enable()
-
-request:
-{
-    method : "Console.enable"
-    id : <number>
-}
-
-response:
-{
-    result : {
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-RuntimeAgent.evaluate("console.info('test'); console.info('test')","test-group",false)
-
-request:
-{
-    method : "Runtime.evaluate"
-    params : {
-        _expression_ : "console.info('test'); console.info('test')"
-        objectGroup : "test-group"
-        includeCommandLineAPI : false
-    }
-    id : <number>
-}
-
-event ConsoleAgent.messageAdded
-{
-    method : "Console.messageAdded"
-    params : {
-        message : {
-            source : "console-api"
-            level : "log"
-            text : "test"
-            type : "log"
-            line : 1
-            url : ""
-            repeatCount : 1
-            parameters : [
-                {
-                    type : "string"
-                    value : "test"
-                }
-            ]
-            stackTrace : <object>
-        }
-    }
-}
-
-event ConsoleAgent.messageRepeatCountUpdated
-{
-    method : "Console.messageRepeatCountUpdated"
-    params : {
-        count : 2
-    }
-}
-
-response:
-{
-    result : {
-        result : {
-            type : "undefined"
-        }
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-ConsoleAgent.clearMessages()
-
-request:
-{
-    method : "Console.clearMessages"
-    id : <number>
-}
-
-event ConsoleAgent.messagesCleared
-{
-    method : "Console.messagesCleared"
-}
-
-response:
-{
-    result : {
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-ConsoleAgent.setMonitoringXHREnabled(true)
-
-request:
-{
-    method : "Console.setMonitoringXHREnabled"
-    params : {
-        enabled : true
-    }
-    id : <number>
-}
-
-response:
-{
-    result : {
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-ConsoleAgent.setMonitoringXHREnabled(false)
-
-request:
-{
-    method : "Console.setMonitoringXHREnabled"
-    params : {
-        enabled : false
-    }
-    id : <number>
-}
-
-response:
-{
-    result : {
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-ConsoleAgent.addInspectedNode(<number>)
-
-request:
-{
-    method : "Console.addInspectedNode"
-    params : {
-        nodeId : 1
-    }
-    id : <number>
-}
-
-response:
-{
-    result : {
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-ConsoleAgent.addInspectedHeapObject(<number>)
-
-request:
-{
-    method : "Console.addInspectedHeapObject"
-    params : {
-        heapObjectId : 1
-    }
-    id : <number>
-}
-
-response:
-{
-    result : {
-    }
-    id : <number>
-}
-
-===========================================================
-Coverage for ConsoleAgent
-{
-    enable : "checked"
-    disable : "checked"
-    clearMessages : "checked"
-    setMonitoringXHREnabled : "checked"
-    addInspectedNode : "checked"
-    addInspectedHeapObject : "checked"
-    messageAdded : "checked"
-    messageRepeatCountUpdated : "checked"
-    messagesCleared : "checked"
-}
-

Deleted: trunk/LayoutTests/inspector/protocol/console-agent.html (108991 => 108992)


--- trunk/LayoutTests/inspector/protocol/console-agent.html	2012-02-27 15:07:23 UTC (rev 108991)
+++ trunk/LayoutTests/inspector/protocol/console-agent.html	2012-02-27 15:13:12 UTC (rev 108992)
@@ -1,32 +0,0 @@
-<html>
-<head>
-<script src=""
-<script src=""
-<script>
-
-function test()
-{
-    var testSuite = [
-        ["ConsoleAgent", "disable"],
-        ["ConsoleAgent", "enable"],
-        ["RuntimeAgent", "evaluate", "console.info('test'); console.info('test')", "test-group", false],
-        ["ConsoleAgent", "clearMessages"],
-        ["ConsoleAgent", "setMonitoringXHREnabled", true],
-        ["ConsoleAgent", "setMonitoringXHREnabled", false],
-        ["ConsoleAgent", "addInspectedNode", 1],
-        ["ConsoleAgent", "addInspectedHeapObject", 1]
-    ];
-
-    InspectorTest.runProtocolTestSuite("ConsoleAgent", testSuite, ['id', 'requestId', 'injectedScriptId', 'stackTrace']);
-}
-
-</script>
-</head>
-
-<body _onload_="runTest()">
-<p>
-Protocol stability test. It is dumping request/response pairs of ConsoleAgent functions.
-</p>
-
-</body>
-</html>

Deleted: trunk/LayoutTests/inspector/protocol/runtime-agent-expected.txt (108991 => 108992)


--- trunk/LayoutTests/inspector/protocol/runtime-agent-expected.txt	2012-02-27 15:07:23 UTC (rev 108991)
+++ trunk/LayoutTests/inspector/protocol/runtime-agent-expected.txt	2012-02-27 15:13:12 UTC (rev 108992)
@@ -1,282 +0,0 @@
-Protocol stability test. It is dumping request/response pairs of RuntimeAgent functions.
-
------------------------------------------------------------
-RuntimeAgent.evaluate("testObject","test",false)
-
-request:
-{
-    method : "Runtime.evaluate"
-    params : {
-        _expression_ : "testObject"
-        objectGroup : "test"
-        includeCommandLineAPI : false
-    }
-    id : <number>
-}
-
-response:
-{
-    result : {
-        result : {
-            type : "object"
-            objectId : <string>
-            className : <string>
-            description : "TestObject"
-        }
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-RuntimeAgent.evaluate("testObject","test")
-
-request:
-{
-    method : "Runtime.evaluate"
-    params : {
-        _expression_ : "testObject"
-        objectGroup : "test"
-    }
-    id : <number>
-}
-
-response:
-{
-    result : {
-        result : {
-            type : "object"
-            objectId : <string>
-            className : <string>
-            description : "TestObject"
-        }
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-RuntimeAgent.callFunctionOn(<string>,"function() { this.assignedByCallFunctionOn = \"callFunctionOn function works fine\"; return this.assignedByCallFunctionOn; }")
-
-request:
-{
-    method : "Runtime.callFunctionOn"
-    params : {
-        objectId : <string>
-        functionDeclaration : "function() { this.assignedByCallFunctionOn = "callFunctionOn function works fine"; return this.assignedByCallFunctionOn; }"
-    }
-    id : <number>
-}
-
-response:
-{
-    result : {
-        result : {
-            type : "string"
-            value : "callFunctionOn function works fine"
-        }
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-RuntimeAgent.evaluate("var o = {n:2011, b:true, s:\"a string\", o:{n:2011}}; o","test",false,true,null,true)
-
-request:
-{
-    method : "Runtime.evaluate"
-    params : {
-        _expression_ : "var o = {n:2011, b:true, s:"a string", o:{n:2011}}; o"
-        objectGroup : "test"
-        includeCommandLineAPI : false
-        doNotPauseOnExceptions : true
-        returnByValue : true
-    }
-    id : <number>
-}
-
-response:
-{
-    result : {
-        result : {
-            type : "object"
-            value : {
-                n : 2011
-                b : true
-                s : "a string"
-                o : {
-                    n : 2011
-                }
-            }
-        }
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-RuntimeAgent.evaluate("var x = {}; x.self = x; x","test",false,true,null,true)
-
-request:
-{
-    method : "Runtime.evaluate"
-    params : {
-        _expression_ : "var x = {}; x.self = x; x"
-        objectGroup : "test"
-        includeCommandLineAPI : false
-        doNotPauseOnExceptions : true
-        returnByValue : true
-    }
-    id : <number>
-}
-
-response:
-{
-    error : {
-        code : -32000
-        message : "Object has too long reference chain(must not be longer than 1000)"
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-RuntimeAgent.callFunctionOn(<string>,"function() { this.self = this; return this; }",null,true)
-
-request:
-{
-    method : "Runtime.callFunctionOn"
-    params : {
-        objectId : <string>
-        functionDeclaration : "function() { this.self = this; return this; }"
-        returnByValue : true
-    }
-    id : <number>
-}
-
-response:
-{
-    error : {
-        code : -32000
-        message : "Object has too long reference chain(must not be longer than 1000)"
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-RuntimeAgent.getProperties(<string>,true)
-
-request:
-{
-    method : "Runtime.getProperties"
-    params : {
-        objectId : <string>
-        ownProperties : true
-    }
-    id : <number>
-}
-
-response:
-{
-    result : {
-        result : [
-            {
-                value : {
-                    type : "string"
-                    value : "callFunctionOn function works fine"
-                }
-                writable : true
-                enumerable : true
-                configurable : true
-                name : "assignedByCallFunctionOn"
-            }
-            {
-                value : {
-                    type : "object"
-                    objectId : <string>
-                    className : <string>
-                    description : "TestObject"
-                }
-                writable : true
-                enumerable : true
-                configurable : true
-                name : "self"
-            }
-            {
-                name : "__proto__"
-                value : {
-                    type : "object"
-                    objectId : <string>
-                    className : <string>
-                    description : "TestObject"
-                }
-                writable : true
-                configurable : true
-                enumerable : false
-            }
-        ]
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-RuntimeAgent.releaseObject(<string>)
-
-request:
-{
-    method : "Runtime.releaseObject"
-    params : {
-        objectId : <string>
-    }
-    id : <number>
-}
-
-response:
-{
-    result : {
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-RuntimeAgent.releaseObjectGroup("test")
-
-request:
-{
-    method : "Runtime.releaseObjectGroup"
-    params : {
-        objectGroup : "test"
-    }
-    id : <number>
-}
-
-response:
-{
-    result : {
-    }
-    id : <number>
-}
-
------------------------------------------------------------
-RuntimeAgent.run()
-
-request:
-{
-    method : "Runtime.run"
-    id : <number>
-}
-
-response:
-{
-    result : {
-    }
-    id : <number>
-}
-
-===========================================================
-Coverage for RuntimeAgent
-{
-    evaluate : "checked"
-    callFunctionOn : "checked"
-    getProperties : "checked"
-    releaseObject : "checked"
-    releaseObjectGroup : "checked"
-    run : "checked"
-}
-

Deleted: trunk/LayoutTests/inspector/protocol/runtime-agent.html (108991 => 108992)


--- trunk/LayoutTests/inspector/protocol/runtime-agent.html	2012-02-27 15:07:23 UTC (rev 108991)
+++ trunk/LayoutTests/inspector/protocol/runtime-agent.html	2012-02-27 15:13:12 UTC (rev 108992)
@@ -1,49 +0,0 @@
-<html>
-<head>
-<script src=""
-<script src=""
-<script>
-
-function TestObject()
-{
-}
-
-testObject = new TestObject();
-testProperty = true;
-
-function test()
-{
-    function callback(error, result)
-    {
-        var invalidObjectId = {id: -1, injectedScriptId: result.objectId.injectedScriptId};
-        var testSuite = [
-            ["RuntimeAgent", "evaluate", 'testObject', 'test', false],
-            ["RuntimeAgent", "evaluate", 'testObject', 'test'],
-            ["RuntimeAgent", "callFunctionOn", result.objectId, 'function() { this.assignedByCallFunctionOn = "callFunctionOn function works fine"; return this.assignedByCallFunctionOn; }'],
-
-            // test returnByValue:
-            ["RuntimeAgent", "evaluate", 'var o = {n:2011, b:true, s:"a string", o:{n:2011}}; o', 'test', false, true, undefined, true],
-            ["RuntimeAgent", "evaluate", 'var x = {}; x.self = x; x', 'test', false, true, undefined, true],
-            ["RuntimeAgent", "callFunctionOn", result.objectId, 'function() { this.self = this; return this; }', undefined, true],
-
-            ["RuntimeAgent", "getProperties", result.objectId, true],
-            ["RuntimeAgent", "releaseObject", result.objectId],
-            ["RuntimeAgent", "releaseObjectGroup", 'test'],
-            ["RuntimeAgent", "run"]];
-
-        InspectorTest.runProtocolTestSuite("RuntimeAgent", testSuite, ['id', 'requestId', 'objectId', 'className']);
-    }
-
-    RuntimeAgent.evaluate('window.testObject', 'test', false, callback);
-}
-
-</script>
-</head>
-
-<body _onload_="runTest()">
-<p>
-Protocol stability test. It is dumping request/response pairs of RuntimeAgent functions.
-</p>
-
-</body>
-</html>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to