mirror of
https://github.com/servo/servo
synced 2026-05-09 16:42:16 +02:00
in #39709, we introduced a single “form control” or “embedder control” delegate that requests the embedder’s input for <select> and <input type="color"> elements. this patch partially merges <input type="file"> elements into that new system, and renames “form controls” to “embedder controls” for consistency. internally we continue to use a separate code path where the embedder directly communicates with the file manager thread. subsequent work will make the messages asynchronous via the constellation and script thread, like other embedder controls. Testing: this is currently tricky to write an automated test for; we expect to write a WebDriver test for this once we make the communication asynchronous --------- Signed-off-by: delan azabani <dazabani@igalia.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>