DustinBrett / DustinBrett/daedalOS

Loading OPFS causes DataCloneError

Open
#403 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

File System Safari
Dominant language
JavaScript
Stars
13k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Unhandled Promise Rejection: DataCloneError: The object can not be cloned. when showMapOpfs doesn't have !isSafari().

Possibly coming from idb related code based on the error stack, but it wasn't clear.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce loading OPFS with showMapOpfs when !isSafari() and inspect the resulting error stack, especially the IndexedDB-related path. Done means the OPFS loading flow no longer produces an unhandled DataCloneError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop-dev, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.