-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AR View closes instead of showing 3D asset - MobileSafari Crashing at…
… -[_WKSystemPreviewDataTaskDelegate dataTask:didCompleteWithError:] + 32 https://bugs.webkit.org/show_bug.cgi?id=258957 rdar://110671973 Reviewed by Tim Horton. When we try to load a `blob:` URL, the WKDataTask instantly fails. This causes us to try to close a file handle that hasn't been initialised. Add a check to make sure that doesn't happen. There is still the bigger bug of needing to actually load blob URLs. * Source/WebKit/UIProcess/Cocoa/SystemPreviewControllerCocoa.mm: * Tools/TestWebKitAPI/Tests/WebKitCocoa/SystemPreview.mm: (TestWebKitAPI::TEST): * Tools/TestWebKitAPI/Tests/WebKitCocoa/system-preview.html: Canonical link: https://commits.webkit.org/266048@main
- Loading branch information
1 parent
127b86b
commit c7ca298
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,6 @@ | |
<a id="badlink" rel="ar" href="BadLink.usdz"> | ||
<img> | ||
</a> | ||
<a id="bloblink" rel="ar" href="blob:foo"> | ||
<img> | ||
</a> |