Auto merge of #25242 - paulrouget:prompt, r=manishearth

Mechanism to allow Servo to prompt the user

This blocks the embedder thread (compositor thread). Not ideal. I don't think it's too much work to only block script, I'll do that in a follow up bug.

Fix #23376

@Manishearth we have a few new APIs. Hopefully this will cover your needs. A thing I haven't implemented yet is a way to ask the user to pick from a list. Let me know if it's something you'll need.
This commit is contained in:
bors-servo 2020-02-10 03:33:50 -05:00 committed by GitHub
commit 504437938a
22 changed files with 473 additions and 118 deletions

1
Cargo.lock generated
View file

@ -1219,6 +1219,7 @@ version = "0.0.1"
dependencies = [
"crossbeam-channel",
"devtools_traits",
"embedder_traits",
"headers",
"http",
"hyper",