[Webkit-unassigned] [Bug 229178] IndexedDB: Unknown error "Cannot inject key into script value"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 6 16:27:39 PDT 2021


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

--- Comment #18 from captainjono <jcaptanis at janison.com.au> ---
(In reply to Sihui Liu from comment #17)
> Updated the bug title to reflect current issue: the crash is fixed and now
> the app is blocked by IDB error according to reporter.
> 
> Hi captainjono, I see you've provided instructions on reproducing in
> Windows. Can you provide a test app that can be run directly in macOS or
> iOS? From your description, this issue is not specific to Windows. 
> (There's difference in implementation for different OS, so if you only
> reproduce this on Windows build, we may want to ask developer who is
> maintaining the port to take a look.) 

I Sihui,

We provided an iOS and macOS app "client app" which uses an embedded WKWebView as its UI. To reproduce the crash, you require a Windows App to act as the server. During the comminication process between these 2 apps, the UnknownError is triggered on the client app.

The server app can be run on Win10 via Parallels on macOS as per instructions provided.

We have no other way of reproducing the issue. I hope you understand.

> 
> On macOS and iOS builds, we will be able to add some loggings to help figure
> out the underlying issues. 

great


> If you are looking for workaround for this unknown error, according to the
> code path, it happens when you let IndexedDB generates the key (e.g. using
> key path) for the record, so you may want to set the key explicitly when
> adding a record.

excellent. this is exactly the kind of advice we wanted. we will verify if this is viable.

-- 
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/20211006/554acc9d/attachment-0001.htm>


More information about the webkit-unassigned mailing list