Skip to content

Commit

Permalink
Partially revert "Fix stack-overflow when dealing with blobURL(s)"
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=262777

The code change here is incompatible with some other commit, most likely
266247@main. We can still keep the new test, though.

This fixes Unity WebGL applications.

* Source/WebCore/fileapi/BlobURL.cpp:
(WebCore::BlobURL::isSecureBlobURL):
  • Loading branch information
mcatanzaro committed Oct 10, 2023
1 parent e92f5f3 commit c29a26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebCore/fileapi/BlobURL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ bool BlobURL::isSecureBlobURL(const URL& url)
return document->isSecureContext();
}

return false;
return SecurityOrigin::isSecure(getOriginURL(url));
}

URL BlobURL::createBlobURL(StringView originString)
Expand Down

0 comments on commit c29a26a

Please sign in to comment.