[Webkit-unassigned] [Bug 235687] New: Blobs retrieved from IndexedDB and re-saved causes WebkitBlobResource error 1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 26 21:24:08 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235687

            Bug ID: 235687
           Summary: Blobs retrieved from IndexedDB and re-saved causes
                    WebkitBlobResource error 1
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: m.kawakubo88 at gmail.com

Created attachment 450100

  --> https://bugs.webkit.org/attachment.cgi?id=450100&action=review

Test page

# Steps to reproduce:

1. Open attached test page by Safari.
2. Click "create new blob" button, then a blob is created and displayed.
3. Click "put" button, then the blob is saved on IndexedDB.
4. Close Safari and open it again.
5. Click "get" button.
6. Click "show" button to make sure the blob is restored and displayed correctly.
7. Click "put" button.
8. Click "show" button.

# Expected behavior:

The blob is displayed correctly, as 1024x1024 image.

# Actual behavior:

The blob is not displayed.
The following error appears in the console.

```
Failed to load resource: The operation couldn't be completed. (WebKitBlobResource error 1.)
```

I have tested in Safari on iOS 13.7, 14.5, 15.2 and macOS 12.1, and confirmed this behavior in all of them.
Note that on the macOS it only occurs occasionally, and on the others it does almost always.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220127/c93d4f19/attachment.htm>


More information about the webkit-unassigned mailing list