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

weinig at apple.com weinig at apple.com
Wed Dec 22 11:38:10 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 3adcc01b2d4628e71c627420a5da00ed074d81f3
Author: weinig at apple.com <weinig at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Aug 1 21:11:46 2010 +0000

    Don't send user messages to the injected bundle if the process is not active
    https://bugs.webkit.org/show_bug.cgi?id=43317
    
    Reviewed by Anders Carlsson.
    
    * UIProcess/WebContext.cpp:
    (WebKit::WebContext::postMessageToInjectedBundle):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64446 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit2/ChangeLog b/WebKit2/ChangeLog
index 07c2fce..20aafc3 100644
--- a/WebKit2/ChangeLog
+++ b/WebKit2/ChangeLog
@@ -2,6 +2,16 @@
 
         Reviewed by Anders Carlsson.
 
+        Don't send user messages to the injected bundle if the process is not active
+        https://bugs.webkit.org/show_bug.cgi?id=43317
+
+        * UIProcess/WebContext.cpp:
+        (WebKit::WebContext::postMessageToInjectedBundle):
+
+2010-08-01  Sam Weinig  <sam at webkit.org>
+
+        Reviewed by Anders Carlsson.
+
         Add ability to reset frame names for WebKitTestRunner
         https://bugs.webkit.org/show_bug.cgi?id=43316
 
diff --git a/WebKit2/UIProcess/WebContext.cpp b/WebKit2/UIProcess/WebContext.cpp
index 6c5f15d..94b60b4 100644
--- a/WebKit2/UIProcess/WebContext.cpp
+++ b/WebKit2/UIProcess/WebContext.cpp
@@ -290,7 +290,7 @@ void WebContext::preferencesDidChange()
 
 void WebContext::postMessageToInjectedBundle(const String& messageName, APIObject* messageBody)
 {
-    if (!m_process)
+    if (!hasValidProcess())
         return;
 
     // FIXME: We should consider returning false from this function if the messageBody cannot

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list