servo/components/script
bors-servo ec7a5f21c8
Auto merge of #22938 - asajeffrey:webvr-future-frame-data, r=paulrouget
Use webvr future_frame_data to avoid blocking the WebGL thread

<!-- Please describe your changes on the following line: -->
This PR fixes a potential deadlock caused by the WebGL thread being blocked on a VR device. Rather than blocking on the VR device, it forwards a future to the script thread, and then then script thread blocks.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because it's fixing a potential deadlock

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22938)
<!-- Reviewable:end -->
2019-02-27 02:20:30 -05:00
..
docs Replace http with https in docs 2018-11-06 11:39:09 +01:00
dom Auto merge of #22938 - asajeffrey:webvr-future-frame-data, r=paulrouget 2019-02-27 02:20:30 -05:00
task_source Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
body.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
build.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
Cargo.toml Update base64 to 0.10.1 2019-01-25 14:02:56 +01:00
clipboard_provider.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
CMakeLists.txt build(cmake): detect python binary for specified version 2018-03-13 09:25:06 -07:00
devtools.rs Fix servo build. 2019-02-10 07:23:51 +01:00
document_loader.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
fetch.rs Remove foreign service-workers mode 2018-12-23 01:48:45 +08:00
image_listener.rs Implement HTMLMediaElement poster attribute 2019-01-11 17:11:11 +01:00
layout_image.rs refactored performance timing to align with updated spec 2018-11-20 16:21:32 +00:00
lib.rs Fix servo build. 2019-02-10 07:23:51 +01:00
mem.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
microtask.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
network_listener.rs refactored performance timing to align with updated spec 2018-11-20 16:21:32 +00:00
script_runtime.rs Reintroduce parent runtimes for worker threads. 2019-01-15 14:00:13 -05:00
script_thread.rs Auto merge of #22353 - jdm:runtime-parent, r=nox 2019-01-17 15:57:30 -05:00
serviceworker_manager.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
serviceworkerjob.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
stylesheet_loader.rs refactored performance timing to align with updated spec 2018-11-20 16:21:32 +00:00
task.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
task_manager.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
task_queue.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
test.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
textinput.rs Fixed bug in textinput::adjust_vertical concerning selection_origin update 2018-12-22 17:50:24 +01:00
timers.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
unpremultiplytable.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
webdriver_handlers.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00