servo/components
bors-servo 852223b08a
Auto merge of #23253 - BartGitHub:refactor-promise-compartment, r=jdm
Refactor promise compartment

<!-- Please describe your changes on the following line: -->
This PR adds a mechanism to verify that certain code is executed inside a ```JSAutoCompartment```, and applies this to the ```Promise::new_in_current_compartment``` constructor.

r? @jdm

---
<!-- 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 #23167

<!-- Either: -->
- [x] These changes do not require tests because they do not change existing functionality.

<!-- 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/23253)
<!-- Reviewable:end -->
2019-04-29 13:59:04 -04:00
..
allocator
atoms
background_hang_monitor
bluetooth
bluetooth_traits
canvas
canvas_traits
compositing Refactoring of the Glutin port in preparation of the compositor refactoring. 2019-04-29 10:04:51 +02:00
config Add dom.shadowdom.enabled to preferences list 2019-04-26 12:00:26 +02:00
config_plugins
constellation Auto merge of #23090 - miller-time:nav-fetch-referrer, r=gterzian 2019-04-25 20:21:23 -04:00
debugger
deny_public_fields
derive_common Remove an unused extern crate. 2019-04-12 12:20:16 +02:00
devtools
devtools_traits
dom_struct Can collect webidl paths. 2019-04-20 22:39:22 +02:00
domobject_derive
embedder_traits
fallible
geometry
gfx Fix gfx unit tests. 2019-04-12 14:17:21 +02:00
gfx_traits
hashglobe
jstraceable_derive
layout Add is_connected flag to node and use it to replace most uses of is_in_doc 2019-04-26 10:17:45 +02:00
layout_thread Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r 2019-04-29 12:02:04 +02:00
layout_traits Measure layout queries blocked by ongoing layout 2019-04-13 07:42:07 +02:00
malloc_size_of Derive MallocSizeOf for QuirksMode 2019-04-26 11:31:18 +02:00
metrics
msg
net Auto merge of #23090 - miller-time:nav-fetch-referrer, r=gterzian 2019-04-25 20:21:23 -04:00
net_traits Auto merge of #23090 - miller-time:nav-fetch-referrer, r=gterzian 2019-04-25 20:21:23 -04:00
pixels
profile Measure layout queries blocked by ongoing layout 2019-04-13 07:42:07 +02:00
profile_traits fixup! Measure layout queries blocked by ongoing layout 2019-04-17 17:23:17 +02:00
rand
range
remutex
script Auto merge of #23253 - BartGitHub:refactor-promise-compartment, r=jdm 2019-04-29 13:59:04 -04:00
script_layout_interface Move is_connected function from style to layout, where it is used 2019-04-26 11:42:38 +02:00
script_plugins Simplify ParentMismatchError.fmt. 2019-04-20 22:39:38 +02:00
script_traits Auto merge of #23090 - miller-time:nav-fetch-referrer, r=gterzian 2019-04-25 20:21:23 -04:00
selectors style: Reformat recent changes. 2019-04-12 12:20:14 +02:00
servo Refactoring of the Glutin port in preparation of the compositor refactoring. 2019-04-29 10:04:51 +02:00
servo_arc style: Add support for static references to servo_arc::Arc. r=emilio 2019-04-12 12:19:43 +02:00
size_of_test
std_test_override
style Move StylesheetSetRef to script 2019-04-26 12:00:26 +02:00
style_derive Upgrade to rustc 1.36.0-nightly (e305df184 2019-04-24) 2019-04-25 13:52:09 +02:00
style_traits style: Add derived ToShmem implementations. 2019-04-12 12:19:52 +02:00
to_shmem style: Fix servo build, and appease tidy / fmt. 2019-04-12 12:20:15 +02:00
to_shmem_derive style: Fix servo build, and appease tidy / fmt. 2019-04-12 12:20:15 +02:00
url style: Fix servo build, and appease tidy / fmt. 2019-04-12 12:20:15 +02:00
webdriver_server Add webdriver command Get Timeouts 2019-04-20 23:58:24 +05:30
webvr
webvr_traits