servo/components
bors-servo 78ad1df0b0
Auto merge of #21645 - AgustinCB:add-websocket-task-queue, r=jdm
Add Websocket task source

According to the doc: https://html.spec.whatwg.org/multipage/web-sockets.html#network

The task source for all tasks queued in the websocket section are the
websocket task source, so this commit also updates those references to
use the appropriate one.

Also, while working on this, I made a typo here: 5dd6e21c2e/components/script/dom/window.rs (L191)

Setting the name incorrectly. The error, however, was this:

```bash
error[E0412]: cannot find type `WebsocketEventTaskSource` in this scope
     --> components/script/dom/window.rs:171:1
       |
171 | #[dom_struct]
       | ^^^^^^^^^^^^^ did you mean `WebsocketTaskSource`?
```

Which isn't useful at all. Not sure if it's a rustc problem or something related with htis code base, but I thought it was worth mentioning.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21590
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they don't include new behavior and existing tests should cover this code.

<!-- 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/21645)
<!-- Reviewable:end -->
2018-09-10 09:11:44 -04:00
..
allocator Format component allocator #21373 2018-08-16 15:44:54 +08:00
atoms Add rtl and ltr as static atoms. 2018-09-03 12:56:22 +02:00
bluetooth Format component bluetooth 2018-08-17 11:08:56 +08:00
bluetooth_traits Format component bluetooth_traits 2018-08-17 11:09:38 +08:00
canvas Use byte channels to send textures to the WebGL thread 2018-09-08 13:42:06 +02:00
canvas_traits Use byte channels to send textures to the WebGL thread 2018-09-08 13:42:06 +02:00
compositing Format component compositing #21373 2018-08-31 08:19:22 +08:00
config Format components config #21373 2018-09-02 08:27:07 +08:00
constellation Refactor embedder NewBrowser flow 2018-08-11 01:13:11 +02:00
debugger Format components debugger and deny_public_fields #21373 2018-09-01 09:44:53 +08:00
deny_public_fields Format components debugger and deny_public_fields #21373 2018-09-01 09:44:53 +08:00
devtools Format components devtools and devtools_traits #21373 2018-09-02 20:29:47 +08:00
devtools_traits Format components devtools and devtools_traits #21373 2018-09-02 20:29:47 +08:00
dom_struct Format components dom_struct, domobject_derive and embedder_traits #21373 2018-09-03 08:19:25 +08:00
domobject_derive Format components dom_struct, domobject_derive and embedder_traits #21373 2018-09-03 08:19:25 +08:00
embedder_traits Format components dom_struct, domobject_derive and embedder_traits #21373 2018-09-03 08:19:25 +08:00
fallible Format components fallible and geometry #21373 2018-09-04 09:51:55 +08:00
geometry Move malloc_size_of_derive to proper position 2018-09-04 11:29:38 +08:00
gfx Reorder gfx lib creates 2018-09-08 14:24:56 +08:00
gfx_traits Format gfx_traits #21373 2018-09-09 10:11:08 +08:00
hashglobe Format hashglobe #21373 2018-09-09 10:14:36 +08:00
jstraceable_derive Update Webrender 2018-04-25 10:25:21 +02:00
layout Rustfmt layout crate 2018-09-01 13:24:57 +02:00
layout_thread Auto merge of #21613 - pyfisch:layout_thread-fmt, r=Manishearth 2018-09-05 06:33:16 -04:00
layout_traits Rustfmt layout_traits crate 2018-09-05 10:16:52 +02:00
malloc_size_of Auto merge of #21615 - pyfisch:malloc_size_of-fmt, r=Manishearth 2018-09-05 04:52:26 -04:00
malloc_size_of_derive Rustfmt malloc_size_of & derive 2018-09-05 10:32:44 +02:00
metrics added spec comments 2018-04-11 21:29:03 +01:00
msg Remove components/nonzero, use std::num::NonZero instead 2018-06-16 00:14:41 +02:00
net Auto merge of #21560 - JacksonCoder:chunk-file, r=jdm 2018-09-06 19:52:16 -04:00
net_traits Dedupe num-traits 2018-08-09 18:26:28 +02:00
profile Update regex to 1.0 2018-07-07 12:03:17 +02:00
profile_traits Measure cache memory usage (#19251): 2018-04-01 13:30:57 -04:00
rand Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
range Dedupe num-traits 2018-08-09 18:26:28 +02:00
remutex Remove components/nonzero, use std::num::NonZero instead 2018-06-16 00:14:41 +02:00
script Auto merge of #21645 - AgustinCB:add-websocket-task-queue, r=jdm 2018-09-10 09:11:44 -04:00
script_layout_interface WR update 2018-08-06 07:22:24 +02:00
script_plugins Upgrade to rustc 1.30.0-nightly (7061b2775 2018-08-28) 2018-08-29 14:53:19 +02:00
script_traits Refactor embedder NewBrowser flow 2018-08-11 01:13:11 +02:00
selectors Publish selectors v0.20.0 2018-08-23 20:43:06 +02:00
servo Refactor embedder NewBrowser flow 2018-08-11 01:13:11 +02:00
servo_arc style: Use an acquire load for is_unique in servo_arc. 2018-07-24 03:27:08 +02:00
size_of_test
style Format style component. 2018-09-09 16:24:45 +02:00
style_derive Format component of style_derive 2018-09-07 22:18:51 +09:00
style_traits Format component of style_traits 2018-09-08 13:28:13 +09:00
url Format component of url 2018-09-05 22:53:03 +09:00
webdriver_server Format component of webdriver_sever 2018-09-04 23:43:00 +09:00
webvr Format component of webvr #21373 2018-09-04 10:14:45 +09:00
webvr_traits Format components webvr_traits #21373 2018-09-03 22:10:33 +09:00