Title: [148054] trunk/Source/WebKit2
Revision
148054
Author
[email protected]
Date
2013-04-09 14:35:39 -0700 (Tue, 09 Apr 2013)

Log Message

REGRESSION (r147454): Youtube annotation links to new window broken
https://bugs.webkit.org/show_bug.cgi?id=114242
<rdar://problem/13609940>

Reviewed by Beth Dakin.

Set the current user gesture to "DefinitelyProcessingNewUserGesture" if popups are allowed.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::performFrameLoadURLRequest):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (148053 => 148054)


--- trunk/Source/WebKit2/ChangeLog	2013-04-09 21:30:11 UTC (rev 148053)
+++ trunk/Source/WebKit2/ChangeLog	2013-04-09 21:35:39 UTC (rev 148054)
@@ -1,5 +1,18 @@
 2013-04-09  Anders Carlsson  <[email protected]>
 
+        REGRESSION (r147454): Youtube annotation links to new window broken
+        https://bugs.webkit.org/show_bug.cgi?id=114242
+        <rdar://problem/13609940>
+
+        Reviewed by Beth Dakin.
+
+        Set the current user gesture to "DefinitelyProcessingNewUserGesture" if popups are allowed.
+
+        * WebProcess/Plugins/PluginView.cpp:
+        (WebKit::PluginView::performFrameLoadURLRequest):
+
+2013-04-09  Anders Carlsson  <[email protected]>
+
         If we fail to decode a message name, pass the message length as the name
         https://bugs.webkit.org/show_bug.cgi?id=114305
         <rdar://problem/13605703>

Modified: trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp (148053 => 148054)


--- trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp	2013-04-09 21:30:11 UTC (rev 148053)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp	2013-04-09 21:35:39 UTC (rev 148054)
@@ -1079,6 +1079,8 @@
         return;
     }
 
+    UserGestureIndicator gestureIndicator(request->allowPopups() ? DefinitelyProcessingNewUserGesture : PossiblyProcessingUserGesture);
+
     // First, try to find a target frame.
     Frame* targetFrame = frame->loader()->findFrameForNavigation(request->target());
     if (!targetFrame) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to