gecko-dev/servo/components
Alan Jeffrey 8d04971274 servo: Merge #14344 - Script thread creating layout thread should use the incomplete loads (from asajeffrey:script-thread-new-layout-use-incomplete-loads); r=jdm
<!-- Please describe your changes on the following line: -->

When a script thread creates a new layout thread, it does so by sending a message to an existing layout thread asking it to spawn. At the moment, we're only looking at the completed loads for that layout thread, so we can get a panic if two loads happen in quick succession. The temporary fix is to look for the layout thread in the incomplete loads too.

---
<!-- 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 fix #14333.
- [X] These changes do not require tests because it fixes a panic.

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 99c4821485de30eabc0eb81af9cc5e5102e2f3f6
2016-11-24 04:57:50 -08:00
..
atoms servo: Merge #14097 - Add more event names to atom list; use more `atom` macros (from frewsxcv:hella-atoms); r=jdm 2016-11-06 15:28:54 -06:00
bluetooth servo: Merge #14276 - Add Start/Stop notifications (from szeged:notify); r=jdm 2016-11-23 03:22:43 -08:00
bluetooth_traits servo: Merge #14276 - Add Start/Stop notifications (from szeged:notify); r=jdm 2016-11-23 03:22:43 -08:00
canvas servo: Merge #14099 - canvas: Cleanup CanvasData and layout and script messages (from emilio:canvas-data); r=nox 2016-11-07 10:53:20 -06:00
canvas_traits servo: Merge #14099 - canvas: Cleanup CanvasData and layout and script messages (from emilio:canvas-data); r=nox 2016-11-07 10:53:20 -06:00
compositing servo: Merge #14246 - Urlmageddon (from emilio:servo-url); r=SimonSapin 2016-11-17 15:34:47 -06:00
constellation servo: Merge #14211 - Share script threads by tab and by eTLD+1 (from asajeffrey:constellation-share-more-script-threads); r=jdm 2016-11-22 16:41:46 -06:00
debugger servo: Merge #14270 - Disable the debugger on Android until mio works on Android (from larsbergstrom:disable_android_debugger); r=nox 2016-11-18 23:40:20 -06:00
devtools servo: Merge #14040 - Remove last use of custom derive plugin (from nox:custom-derive); r=Ms2ger 2016-11-03 06:15:25 -05:00
devtools_traits servo: Merge #14246 - Urlmageddon (from emilio:servo-url); r=SimonSapin 2016-11-17 15:34:47 -06:00
gfx servo: Merge #14246 - Urlmageddon (from emilio:servo-url); r=SimonSapin 2016-11-17 15:34:47 -06:00
gfx_traits servo: Merge #14084 - Don't promote all scrollable regions to stacking contexts (from mrobinson:scroll_root_2); r=glennw 2016-11-07 18:49:53 -06:00
jstraceable_derive servo: Merge #14028 - Update Rust to 1.14.0-nightly (7c69b0d5a 2016-11-01) (from servo:rustup); r=nox,SimonSapin 2016-11-02 21:49:08 -05:00
layout servo: Merge #14320 - Update to selectors 0.15 (from servo:selectorsup); r=nox 2016-11-22 10:44:03 -06:00
layout_thread servo: Merge #14320 - Update to selectors 0.15 (from servo:selectorsup); r=nox 2016-11-22 10:44:03 -06:00
layout_traits servo: Merge #14173 - Report panics using the top-level frame id rather than the pipeline id (from asajeffrey:script-thread-stores-top-level-frame-id); r=paulrouget 2016-11-21 15:51:59 -06:00
msg servo: Merge #14173 - Report panics using the top-level frame id rather than the pipeline id (from asajeffrey:script-thread-stores-top-level-frame-id); r=paulrouget 2016-11-21 15:51:59 -06:00
net servo: Merge #14360 - Remove the legacy networking stack (from servo:fetch); r=nox 2016-11-24 03:20:05 -08:00
net_traits servo: Merge #14360 - Remove the legacy networking stack (from servo:fetch); r=nox 2016-11-24 03:20:05 -08:00
plugins servo: Merge #14134 - Fix `./mach clippy` (from frewsxcv:cargo-clippy); r=jdm 2016-11-09 01:23:55 -06:00
profile servo: Merge #14272 - Fix energy profiling feature (from connorimes:fix-energy-profiling-feature); r=Manishearth 2016-11-19 02:32:00 -06:00
profile_traits servo: Merge #14272 - Fix energy profiling feature (from connorimes:fix-energy-profiling-feature); r=Manishearth 2016-11-19 02:32:00 -06:00
range servo: Merge #14040 - Remove last use of custom derive plugin (from nox:custom-derive); r=Ms2ger 2016-11-03 06:15:25 -05:00
script servo: Merge #14344 - Script thread creating layout thread should use the incomplete loads (from asajeffrey:script-thread-new-layout-use-incomplete-loads); r=jdm 2016-11-24 04:57:50 -08:00
script_layout_interface servo: Merge #14320 - Update to selectors 0.15 (from servo:selectorsup); r=nox 2016-11-22 10:44:03 -06:00
script_traits servo: Merge #14360 - Remove the legacy networking stack (from servo:fetch); r=nox 2016-11-24 03:20:05 -08:00
servo servo: Merge #14280 - Move build.rs along with the other Servo files from components to ports (from larsbergstrom:fix_fake_ld); r=Ms2ger 2016-11-21 09:20:51 -06:00
style servo: Merge #14356 - stylo: don't match native anonymous content to user/author rules (from heycam:nac-no-doc); r=emilio 2016-11-23 23:32:32 -08:00
style_traits servo: Merge #14135 - Indicate items in doc comments as code-like (from frewsxcv:code-like); r=Ms2ger 2016-11-14 06:59:35 -06:00
url servo: Merge #14274 - Implement range index with the Position enum on ServoUrl (from stshine:servo-url-index); r=emilio 2016-11-20 12:35:14 -06:00
util servo: Merge #14313 - Allow multiple -Z debug options (from asajeffrey:util-opts-multiple-debugs); r=frewsxcv 2016-11-22 02:23:48 -06:00
webdriver_server servo: Merge #14246 - Urlmageddon (from emilio:servo-url); r=SimonSapin 2016-11-17 15:34:47 -06:00