browser(webkit): make blob downloads work on Mac (#1971)
This commit is contained in:
parent
242c3667ce
commit
b498a3f2ba
|
|
@ -1 +1 @@
|
|||
1210
|
||||
1211
|
||||
|
|
|
|||
|
|
@ -372,6 +372,10 @@ const NSActivityOptions ActivityOptions =
|
|||
{
|
||||
LOG(@"decidePolicyForNavigationAction");
|
||||
|
||||
if (navigationAction._shouldPerformDownload) {
|
||||
decisionHandler(_WKNavigationActionPolicyDownload);
|
||||
return;
|
||||
}
|
||||
if (navigationAction._canHandleRequest) {
|
||||
decisionHandler(WKNavigationActionPolicyAllow);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue