[Webkit-unassigned] [Bug 198738] New: IndexedDB Uint8Array returned as ArrayBuffer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 10 18:53:05 PDT 2019


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

            Bug ID: 198738
           Summary: IndexedDB Uint8Array returned as ArrayBuffer
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dalyej+bugzilla at gmail.com

Saving data in IndexedDB, with key data of type Uint8Array.

When reading the data back out, the data is of type ArrayBuffer.

Doesn't seem to affect non-keyPath fields.

For example:

Input: {
  id: Uint8Array(4),
  data: Uint8Array(8)
}

Output: {
  id: ArrayBuffer {byteLength: 4}
  data: Uint8Array(8)
}

Seeing this on Technology Preview Release 84
Not seeing this on Safari 12.1

-- 
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/20190611/065451d5/attachment-0001.html>


More information about the webkit-unassigned mailing list