Skip to content

Issue 53148: Uncaught TypeError from webkitGetAsEntry()#1798

Merged
labkey-nicka merged 9 commits intodevelopfrom
fb_jnk_except
May 28, 2025
Merged

Issue 53148: Uncaught TypeError from webkitGetAsEntry()#1798
labkey-nicka merged 9 commits intodevelopfrom
fb_jnk_except

Conversation

@labkey-nicka
Copy link
Copy Markdown
Contributor

@labkey-nicka labkey-nicka commented May 25, 2025

Rationale

This addresses Issue 53148 by coalescing logic around calls to webkitGetAsEntry() in a utility method getTransferItemDirectoryEntry().

Related Pull Requests

Changes

  • Introduce getTransferItemDirectoryEntry to centralize handling/wrapping of calling webkitGetAsEntry() on a DataTransferItemList item. Update all usages to call this.
  • Address Issue 53149 by updating endpoint wrapper to be tolerant of invalid payload upon success.
  • Add unit tests.

Copy link
Copy Markdown
Contributor

@labkey-alan labkey-alan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@labkey-nicka labkey-nicka merged commit f9a3985 into develop May 28, 2025
3 checks passed
@labkey-nicka labkey-nicka deleted the fb_jnk_except branch May 28, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants