Simon Sapin
2012be4a8b
cargo fix --edition-idioms
2018-11-08 09:28:00 +01:00
Pyfisch
9e92eb205a
Reorder imports
2018-11-06 22:35:07 +01:00
Simon Sapin
76e59a46d3
Sort use
statements
2018-11-06 15:26:02 +01:00
Simon Sapin
45f7199eee
cargo fix --edition
2018-11-06 15:26:02 +01:00
chansuke
c37a345dc9
Format script component
2018-09-19 17:40:47 -04:00
Gregory Terzian
ff62ca7c01
implement window.stop, improve aborting document load
2018-07-29 16:42:54 +08:00
Gregory Terzian
671627e97e
introduce "per task source" ignoring of tasks
2018-07-10 13:42:28 +08:00
Keith Yeung
c6bb1cb9d5
Merge request type and destination
2017-10-23 11:19:35 -07:00
Simon Sapin
aa15dc269f
Remove use of unstable box syntax.
...
http://www.robohornet.org gives a score of 101.36 on master,
and 102.68 with this PR. The latter is slightly better,
but probably within noise level.
So it looks like this PR does not affect DOM performance.
This is expected since `Box::new` is defined as:
```rust
impl<T> Box<T> {
#[inline(always)]
pub fn new(x: T) -> Box<T> {
box x
}
}
```
With inlining, it should compile to the same as box syntax.
2017-10-16 17:16:20 +02:00
Anthony Ramine
da392e3524
Rename Document::mut_loader to loader_mut
2017-09-25 12:32:34 +02:00
Anthony Ramine
56117d3185
Rename Runnable to Task
...
The changes are:
* `*Runnable` -> `*Task`;
* `RunnableMsg` -> `Task`;
* `RunnableWrapper` -> `TaskCanceller`;
* `MainThreadRunnable` -> `MainThreadTask`;
* `wrap_runnable` -> `wrap_task`;
* `get_runnable_wrapper` -> `task_canceller`;
* `handler` -> `run`;
* `main_thread_handler` -> `run_with_script_thread`.
2017-09-16 15:43:26 +02:00
Fausto Núñez Alberro
6032940fb8
Change RequestInit origin type to ImmutableOrigin
2017-07-16 21:44:33 +02:00
Fernando Jiménez Moreno
72d7ee613b
Make image cache per-document rather than global
2017-03-27 19:54:13 +02:00
Josh Matthews
b363371339
Extract layout image request into separate file. Do not block the document load event.
2017-02-22 14:19:35 -05:00