2011-01-26 Yury Semikhatsky <yurys@chromium.org>
authoryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Jan 2011 11:43:09 +0000 (11:43 +0000)
committeryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Jan 2011 11:43:09 +0000 (11:43 +0000)
        Reviewed by Pavel Feldman.

        Web Inspector: inspector should start in attached state by default
        https://bugs.webkit.org/show_bug.cgi?id=53165

        * WebCoreSupport/WebInspectorClientCF.cpp:
        (WebInspectorClient::inspectorStartsAttached):

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

Source/WebKit/cf/ChangeLog
Source/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp

index 9812efa..e2c2c83 100644 (file)
@@ -1,3 +1,13 @@
+2011-01-26  Yury Semikhatsky  <yurys@chromium.org>
+
+        Reviewed by Pavel Feldman.
+
+        Web Inspector: inspector should start in attached state by default
+        https://bugs.webkit.org/show_bug.cgi?id=53165
+
+        * WebCoreSupport/WebInspectorClientCF.cpp:
+        (WebInspectorClient::inspectorStartsAttached):
+
 2011-01-25  Yury Semikhatsky  <yurys@chromium.org>
 
         Reviewed by Pavel Feldman.
index cefe544..6bf5dbd 100644 (file)
@@ -109,6 +109,8 @@ bool WebInspectorClient::inspectorStartsAttached()
 {
     String value;
     populateSetting(inspectorStartsAttachedSetting, &value);
+    if (value.isEmpty())
+        return true;
     return value == "true";
 }