servo/components/script
bors-servo 3ab5c07559 Auto merge of #11462 - Manishearth:devtools-fixes, r=Ms2ger
devtools: fix segfault, remove println

This fixes the segfault from #11457 by adding an autocompartment.

It also removes the print statements which clog the command line and replaces
them with `debug!()`

---
<!-- 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 #11457 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because we don't have full-server
  devtools tests

<!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11462)
<!-- Reviewable:end -->
2016-05-27 08:49:43 -05:00
..
docs
dom Auto merge of #11329 - c-rhodes:11320, r=jdm 2016-05-27 07:11:17 -05:00
parse Move DOMString back to script 2016-05-24 10:54:57 +02:00
task_source Removed unused imports 2016-05-15 22:24:26 +03:00
build.rs
Cargo.toml Bump string-cache to 0.2.18 2016-05-25 14:35:36 +05:30
clipboard_provider.rs Remove ConstellationChan. 2016-05-19 17:13:44 +02:00
cors.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
devtools.rs Use JSautoCompartment in devtools handle_evaluate_js to avoid segfault 2016-05-27 15:12:27 +05:30
document_loader.rs adding interface for custom responses 2016-05-20 12:11:56 +05:30
layout_interface.rs Report use statements that use {} with only one entry 2016-05-27 10:18:44 +01:00
lib.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
makefile.cargo
mem.rs Bump heapsize to 0.3 2016-02-13 11:13:19 +01:00
network_listener.rs refactors entities from script_thread into script_runtime 2016-04-06 12:46:49 +05:30
origin.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
reporter.rs Report CSS errors to script task for further processing. 2016-02-11 14:48:47 -05:00
script_runtime.rs Pass a parent JS runtime when creating DOM Worker runtimes 2016-05-24 17:43:49 +02:00
script_thread.rs Report use statements that use {} with only one entry 2016-05-27 10:18:44 +01:00
textinput.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
timers.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
unpremultiplytable.rs
webdriver_handlers.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00