Skip to content

Commit ee2a2fb

Browse files
webkit-commit-queuepvollan
authored andcommitted
Unreviewed, reverting 284017@main.
https://bugs.webkit.org/show_bug.cgi?id=280270 Introduced unexpected download failure in some scenarios Reverted changeset: "The download should fail if we don't get a placeholder URL" https://bugs.webkit.org/show_bug.cgi?id=280079 https://commits.webkit.org/284017@main Canonical link: https://commits.webkit.org/284157@main
1 parent 04fe96d commit ee2a2fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Source/WebKit/NetworkProcess/Downloads/cocoa/DownloadCocoa.mm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,8 @@
169169

170170
void Download::setPlaceholderURL(NSURL *placeholderURL, NSData *bookmarkData)
171171
{
172-
if (!placeholderURL) {
173-
didFail({ }, { });
172+
if (!placeholderURL)
174173
return;
175-
}
176174

177175
m_placeholderURL = placeholderURL;
178176

0 commit comments

Comments
 (0)