Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: do not rely on the internal field being default to undefined
It's an undocumented V8 behavior that is subject to change. Instead just check if the internal field is set to a promise. There is also no need to check IsEmpty() since the object is guaranteed to be constructed by the FileHandle constructor with enough internal fields.
- Loading branch information