2011-01-20 Pavel Feldman <pfeldman@chromium.org>
authorpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Jan 2011 13:46:13 +0000 (13:46 +0000)
committerpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Jan 2011 13:46:13 +0000 (13:46 +0000)
        Not reviewed: rebaselined inspector tests.

        * http/tests/inspector/console-xhr-logging.html:
        * inspector/report-API-errors-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@76234 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/inspector/console-xhr-logging.html
LayoutTests/inspector/report-API-errors-expected.txt

index b545e53..a523b6f 100644 (file)
@@ -1,3 +1,10 @@
+2011-01-20  Pavel Feldman  <pfeldman@chromium.org>
+
+        Not reviewed: rebaselined inspector tests.
+
+        * http/tests/inspector/console-xhr-logging.html:
+        * inspector/report-API-errors-expected.txt:
+
 2011-01-20  Jeremy Orlow  <jorlow@chromium.org>
 
         [Chromium] Update baselines and add exception.
index 533dcf0..5b5aa7b 100755 (executable)
@@ -45,12 +45,12 @@ function requestHelper(method, url)
 
 function frontend_enableXMLHttpRequestLogging(testController)
 {
-    InspectorBackend.setMonitoringXHREnabled(true, function(newStatus) {
-         if (newStatus)
+    InspectorBackend.setMonitoringXHREnabled(true, function() {
+         if (WebInspector.console._monitoringXHREnabled)
             testController.notifyDone("enabled");
     });
 
-    if (WebInspector.monitoringXHREnabled)
+    if (WebInspector.console._monitoringXHREnabled)
         return "enabled";
 
     testController.waitUntilDone();
@@ -58,12 +58,12 @@ function frontend_enableXMLHttpRequestLogging(testController)
 
 function frontend_disableXMLHttpRequestLogging(testController)
 {
-    InspectorBackend.setMonitoringXHREnabled(false, function(newStatus) {
-        if (!newStatus)
+    InspectorBackend.setMonitoringXHREnabled(false, function() {
+        if (!WebInspector.console._monitoringXHREnabled)
             testController.notifyDone("disabled");
     });
 
-    if (!WebInspector.monitoringXHREnabled)
+    if (!WebInspector.console._monitoringXHREnabled)
         return "disabled";
 
     testController.waitUntilDone();
index 263f80e..124c29e 100644 (file)
@@ -1,7 +1,7 @@
 Tests that InspectorBackendStub is catching incorrect arguments.
 
-Protocol Error: Invalid type of argument 'enable' for 'InspectorBackend.setMonitoringXHREnabled' call. It should be 'boolean' but it is 'number'.
-Protocol Error: Invalid number of arguments for 'InspectorBackend.setMonitoringXHREnabled' call. It should have the next arguments '{"enable":"boolean"}'.
+Protocol Error: Invalid type of argument 'enabled' for 'InspectorBackend.setMonitoringXHREnabled' call. It should be 'boolean' but it is 'number'.
+Protocol Error: Invalid number of arguments for 'InspectorBackend.setMonitoringXHREnabled' call. It should have the next arguments '{"enabled":"boolean"}'.
 Protocol Error: Optional callback argument for 'InspectorBackend.setMonitoringXHREnabled' call should be a function but its type is 'string'.
 Protocol Error: the message is for non-existing domain 'wrongDomain'
 Protocol Error: Attempted to dispatch an unimplemented method 'Inspector.something-strange'