mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
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 New Issue
Block a user