servo/components/script
bors-servo 162826d6a9
Auto merge of #21583 - AgustinCB:add-task-source-name, r=jdm
Add task source name

Refactor `CommonScriptMsg::Task` to include `TaskSourceName`.

Sorry for the delay, between doing this after work and the time I spent trying to ramp up on the project, it took me a bit longer than I expected.

Test still don't pass in local, but they fail the same way on master, so I guess it's ok.

I may have forgotten something, I refactored mostly the stuff that the compiler complained about. Please let me know if I missed anything.

I tried to dump my thought process on the commit messages, so feel free to go commit by commit to understand context.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21527

- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it's mostly refactor, no new behavior added.

<!-- 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/21583)
<!-- Reviewable:end -->
2018-09-04 14:17:33 -04:00
..
docs
dom Auto merge of #21583 - AgustinCB:add-task-source-name, r=jdm 2018-09-04 14:17:33 -04:00
task_source Add the TaskSourceName to CommonScriptMsg::Task 2018-09-04 09:17:11 -04:00
body.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
build.rs
Cargo.toml Update bindgen to 0.39.0 2018-08-24 20:22:27 +02:00
clipboard_provider.rs
CMakeLists.txt build(cmake): detect python binary for specified version 2018-03-13 09:25:06 -07:00
devtools.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
document_loader.rs implement window.stop, improve aborting document load 2018-07-29 16:42:54 +08:00
fetch.rs introduce "per task source" ignoring of tasks 2018-07-10 13:42:28 +08:00
layout_image.rs implement window.stop, improve aborting document load 2018-07-29 16:42:54 +08:00
lib.rs Auto merge of #21388 - gterzian:introduce_task_queues, r=jdm 2018-08-30 14:56:26 -04:00
mem.rs Pass new method in CollectServoSizes for accurate DOM heap use reporting 2018-03-27 20:35:39 -04:00
microtask.rs
network_listener.rs
script_runtime.rs Add the TaskSourceName to CommonScriptMsg::Task 2018-09-04 09:17:11 -04:00
script_thread.rs Add the TaskSourceName to CommonScriptMsg::Task 2018-09-04 09:17:11 -04:00
serviceworker_manager.rs
serviceworkerjob.rs
stylesheet_loader.rs introduce "per task source" ignoring of tasks 2018-07-10 13:42:28 +08:00
task.rs
task_queue.rs Add the TaskSourceName to CommonScriptMsg::Task 2018-09-04 09:17:11 -04:00
test.rs Remove unused code for parsing a sizes attribute. 2018-07-01 10:53:42 +02:00
textinput.rs Correct default selectionStart and selectionEnd 2018-02-23 02:37:11 +05:30
timers.rs Updated to mozjs v0.7.1. 2018-05-30 14:44:47 -05:00
unpremultiplytable.rs
webdriver_handlers.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00