[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

pfeldman at chromium.org pfeldman at chromium.org
Wed Dec 22 12:03:43 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 675ae0f450908c28007f6890ade068ce7efa5be9
Author: pfeldman at chromium.org <pfeldman at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Aug 13 08:42:50 2010 +0000

    2010-08-13  Pavel Feldman  <pfeldman at chromium.org>
    
            Reviewed by Yury Semikhatsky.
    
            Chromium DevTools: [CRASH] Autocomplete on arrays causes crashes.
            https://bugs.webkit.org/show_bug.cgi?id=43955
    
            * bindings/v8/ScriptValue.cpp:
            (WebCore::v8ToInspectorValue):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65307 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 1047162..14afdb1 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2010-08-13  Pavel Feldman  <pfeldman at chromium.org>
+
+        Reviewed by Yury Semikhatsky.
+
+        Chromium DevTools: [CRASH] Autocomplete on arrays causes crashes.
+        https://bugs.webkit.org/show_bug.cgi?id=43955
+
+        * bindings/v8/ScriptValue.cpp:
+        (WebCore::v8ToInspectorValue):
+
 2010-08-13  Gavin Barraclough  <barraclough at apple.com>
 
         Reviewed by Sam Weinig
diff --git a/WebCore/bindings/v8/ScriptValue.cpp b/WebCore/bindings/v8/ScriptValue.cpp
index 6d3fe20..842a124 100755
--- a/WebCore/bindings/v8/ScriptValue.cpp
+++ b/WebCore/bindings/v8/ScriptValue.cpp
@@ -105,7 +105,7 @@ static PassRefPtr<InspectorValue> v8ToInspectorValue(v8::Handle<v8::Value> value
         for (uint32_t i = 0; i < length; i++) {
             v8::Local<v8::Value> name = propertyNames->Get(v8::Int32::New(i));
             // FIXME(yurys): v8::Object should support GetOwnPropertyNames
-            if (!object->HasRealNamedProperty(v8::Handle<v8::String>::Cast(name)))
+            if (name->IsString() && !object->HasRealNamedProperty(v8::Handle<v8::String>::Cast(name)))
                 continue;
             RefPtr<InspectorValue> propertyValue = v8ToInspectorValue(object->Get(name));
             if (!propertyValue) {

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list