Title: [104229] trunk/Source/WebKit2
Revision
104229
Author
[email protected]
Date
2012-01-05 15:04:25 -0800 (Thu, 05 Jan 2012)

Log Message

REGRESSION (r98912-r99538): Crash in WebKit::WebFrameLoaderClient::didDetectXSS
https://bugs.webkit.org/show_bug.cgi?id=75578

Reviewed by Daniel Bates.

* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
(WebKit::InjectedBundlePageLoaderClient::didDetectXSSForFrame):
Check for a correct struct member existence.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (104228 => 104229)


--- trunk/Source/WebKit2/ChangeLog	2012-01-05 22:58:30 UTC (rev 104228)
+++ trunk/Source/WebKit2/ChangeLog	2012-01-05 23:04:25 UTC (rev 104229)
@@ -1,5 +1,16 @@
 2012-01-05  Alexey Proskuryakov  <[email protected]>
 
+        REGRESSION (r98912-r99538): Crash in WebKit::WebFrameLoaderClient::didDetectXSS
+        https://bugs.webkit.org/show_bug.cgi?id=75578
+
+        Reviewed by Daniel Bates.
+
+        * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
+        (WebKit::InjectedBundlePageLoaderClient::didDetectXSSForFrame):
+        Check for a correct struct member existence.
+
+2012-01-05  Alexey Proskuryakov  <[email protected]>
+
         WK2: Safari fails to open a PostScript file in Preview from context menu
         https://bugs.webkit.org/show_bug.cgi?id=75643
         <rdar://problem/9823430>

Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp (104228 => 104229)


--- trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp	2012-01-05 22:58:30 UTC (rev 104228)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp	2012-01-05 23:04:25 UTC (rev 104229)
@@ -158,7 +158,7 @@
 
 void InjectedBundlePageLoaderClient::didDetectXSSForFrame(WebPage* page, WebFrame* frame, RefPtr<APIObject>& userData)
 {
-    if (!m_client.didRunInsecureContentForFrame)
+    if (!m_client.didDetectXSSForFrame)
         return;
 
     WKTypeRef userDataToPass = 0;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to