2011-03-11 Andrey Kosyakov <caseq@chromium.org>
authorcaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Mar 2011 10:47:44 +0000 (10:47 +0000)
committercaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Mar 2011 10:47:44 +0000 (10:47 +0000)
        Unreviewied trivial fix. Leave default state of setMonitoringXHREnabled intact so it doesn't affect other tests.

        * inspector/report-API-errors.html:

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

LayoutTests/ChangeLog
LayoutTests/inspector/report-API-errors.html

index e1b6458..650ca53 100644 (file)
@@ -1,3 +1,9 @@
+2011-03-11  Andrey Kosyakov  <caseq@chromium.org>
+
+        Unreviewied trivial fix. Leave default state of setMonitoringXHREnabled intact so it doesn't affect other tests.
+
+        * inspector/report-API-errors.html:
+
 2011-03-11  Yury Semikhatsky  <yurys@chromium.org>
 
         Reviewed by Pavel Feldman.
index 42eb83d..6ca05dd 100644 (file)
@@ -13,8 +13,7 @@ function test()
 
     ConsoleAgent.setMonitoringXHREnabled(1);
     ConsoleAgent.setMonitoringXHREnabled();
-    ConsoleAgent.setMonitoringXHREnabled(true, "not a function");
-    ConsoleAgent.setMonitoringXHREnabled(true, undefined);
+    ConsoleAgent.setMonitoringXHREnabled(false, "not a function");
     ConsoleAgent.setMonitoringXHREnabled(false, undefined);
     InspectorBackend.dispatch('{"type": "event", "domain": "wrongDomain", "event": "something-strange", "data": {}}');
     InspectorBackend.dispatch('{"type": "event", "domain": "Inspector", "event": "something-strange", "data": {}}');