Bug 146513

Summary: Check shouldOpenExternalURLs instead of isProcessingUserGesture before passing URL to LaunchServices
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebKit2Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch v1 darin: review+

Description Brady Eidson 2015-07-01 08:58:17 PDT
Check shouldOpenExternalURLs instead of isProcessingUserGesture before passing URL to LaunchServices

In radar as rdar://problem/20577859
Comment 1 Brady Eidson 2015-07-01 08:59:04 PDT
This fixes cases where the URL undergoes 1 or more redirects, during which we lose the original value of isProcessingUserGesture
Comment 2 Brady Eidson 2015-07-01 09:00:44 PDT
Created attachment 255923 [details]
Patch v1
Comment 3 Darin Adler 2015-07-01 09:36:38 PDT
Comment on attachment 255923 [details]
Patch v1

Does shouldOpenExternalURLs include consideration of user gesture or is it a completely orthogonal concept?
Comment 4 Brady Eidson 2015-07-01 09:52:58 PDT
(In reply to comment #3)
> Comment on attachment 255923 [details]
> Patch v1
> 
> Does shouldOpenExternalURLs include consideration of user gesture or is it a
> completely orthogonal concept?

It considers user gestures.
Comment 5 Brady Eidson 2015-07-01 09:54:35 PDT
https://trac.webkit.org/changeset/186178