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

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 18:28:37 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit d2275f1d8bc54d41dd3ccc3a06f1152cce28ef06
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Dec 11 18:20:52 2010 +0000

    2010-12-11  Joone Hur  <joone at kldp.org>
    
            Reviewed by Alexey Proskuryakov.
    
            enumeration value ‘ResponseTypeArrayBuffer’ not handled in switch
            https://bugs.webkit.org/show_bug.cgi?id=50871
    
            Fix the warning which occurs when enumeration value is not handled in switch.
    
            No new tests, no change in behavior.
    
            * bindings/js/JSXMLHttpRequestCustom.cpp:
            (WebCore::JSXMLHttpRequest::response):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73860 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 7575d85..7bf42b3 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,17 @@
+2010-12-11  Joone Hur  <joone at kldp.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        enumeration value ‘ResponseTypeArrayBuffer’ not handled in switch
+        https://bugs.webkit.org/show_bug.cgi?id=50871
+
+        Fix the warning which occurs when enumeration value is not handled in switch.
+
+        No new tests, no change in behavior.
+
+        * bindings/js/JSXMLHttpRequestCustom.cpp:
+        (WebCore::JSXMLHttpRequest::response):
+
 2010-12-11  Patrick Gansterer  <paroga at webkit.org>
 
         Reviewed by Darin Adler.
diff --git a/WebCore/bindings/js/JSXMLHttpRequestCustom.cpp b/WebCore/bindings/js/JSXMLHttpRequestCustom.cpp
index 7cf8207..a93db11 100644
--- a/WebCore/bindings/js/JSXMLHttpRequestCustom.cpp
+++ b/WebCore/bindings/js/JSXMLHttpRequestCustom.cpp
@@ -188,8 +188,8 @@ JSValue JSXMLHttpRequest::response(ExecState* exec) const
         return jsUndefined();
 #endif
 
-#if ENABLE(3D_CANVAS) || ENABLE(BLOB)
     case XMLHttpRequest::ResponseTypeArrayBuffer:
+#if ENABLE(3D_CANVAS) || ENABLE(BLOB)
         {
             ExceptionCode ec = 0;
             ArrayBuffer* arrayBuffer = impl()->responseArrayBuffer(ec);
@@ -199,6 +199,8 @@ JSValue JSXMLHttpRequest::response(ExecState* exec) const
             }
             return toJS(exec, globalObject(), arrayBuffer);
         }
+#else
+        return jsUndefined();
 #endif
     }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list