Skip to content

script: Implement async FileSystemEntry.getParent() success callback - #46879

Merged
yezhizhen merged 2 commits into
servo:mainfrom
yezhizhen:fs
Jul 31, 2026
Merged

script: Implement async FileSystemEntry.getParent() success callback#46879
yezhizhen merged 2 commits into
servo:mainfrom
yezhizhen:fs

Conversation

@yezhizhen

Copy link
Copy Markdown
Member

Testing: Added an automated test unlike those existing manual ones. The major difference is, it does not require OS drag-and-drop support, but still tests the full DnD script path programatically.

Part of #45653

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#61622) with upstreamable changes.

@yezhizhen
yezhizhen marked this pull request as draft July 30, 2026 01:45
@yezhizhen
yezhizhen marked this pull request as ready for review July 30, 2026 07:20

@Gae24 Gae24 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have you checked the test on other browsers? Not sure how the parent from a synthetic DataTransfer should be handled.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jul 30, 2026
@yezhizhen

Copy link
Copy Markdown
Member Author

Have you checked the test on other browsers? Not sure how the parent from a synthetic DataTransfer should be handled.

It works well for Safari and FF. For Chromium, webkitGetAsEntry always return null on synthetic DataTransfer entries, which is not spec compliant. (But Chromium already has extremely low passing rate on entire https://wpt.fyi/results/entries-api?label=master&label=experimental&aligned)

@yezhizhen
yezhizhen added this pull request to the merge queue Jul 30, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 30, 2026
Merged via the queue into servo:main with commit 7264278 Jul 31, 2026
36 checks passed
@yezhizhen
yezhizhen deleted the fs branch July 31, 2026 00:17
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 31, 2026
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.

4 participants