Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memfs: allow owning non-HEAP buffers with ALLOW_MEMORY_GROWTH
Memory growth may obsolete HEAP references, hence memfs disables 'canOwn' and forces copying. memfs tests for this situation and suggests using --no-heap-copy. However, the test is too strict: the same warning also appears with --no-heap-copy. The test needs only prevent copying from HEAP, and accept other sources (e.g. xhr.response).
- Loading branch information