servo/components/script
bors-servo 4275420a56
Auto merge of #23844 - saschanaz:tojson, r=Manishearth
Support default toJSON in WebIDL

<!-- Please describe your changes on the following line: -->

Ported related lines from gecko.

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

<!-- Either: -->
- [x] There are tests for these changes

<!-- 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/23844)
<!-- Reviewable:end -->
2019-08-20 17:27:14 -04:00
..
docs
dom Auto merge of #23844 - saschanaz:tojson, r=Manishearth 2019-08-20 17:27:14 -04:00
task_source
body.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
build.rs Remove usage of various unsafe keyword 2019-08-09 00:43:28 +01:00
Cargo.toml Auto merge of #23838 - servo:url-2.0, r=Manishearth 2019-08-17 04:14:32 -04:00
clipboard_provider.rs
CMakeLists.txt Generate apis.html and css-properties.json for docs as part of crates’ build scripts 2019-07-30 08:37:33 +02:00
compartments.rs Use safe JSContext in compartments 2019-08-09 00:02:10 +01:00
devtools.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
document_loader.rs
fetch.rs
image_listener.rs
layout_image.rs
lib.rs Remove uses of mem::uninitialized 2019-07-17 10:48:54 +02:00
mem.rs
microtask.rs Use safe JSContext in MicrotaskQueue 2019-08-09 00:02:10 +01:00
network_listener.rs
script_runtime.rs Auto merge of #23930 - CYBAI:incumbent-global-assertion, r=jdm 2019-08-09 02:54:33 -04:00
script_thread.rs Implement TakeElementScreenshot WebDriver command 2019-08-20 00:52:46 +03:00
serviceworker_manager.rs
serviceworkerjob.rs
stylesheet_loader.rs Revert changes to load media styles as UA styles 2019-07-22 17:40:15 +02:00
stylesheet_set.rs
task.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
task_manager.rs
task_queue.rs
test.rs
textinput.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
timers.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
unpremultiplytable.rs
webdriver_handlers.rs Implement TakeElementScreenshot WebDriver command 2019-08-20 00:52:46 +03:00