Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make url for "client" referrer mandatory | Matthias Deiml | 2020-06-17 | 1 | -1/+1 |
| | |||||
* | Implementing the builder pattern for RequestInit | Lucas Fantacuci | 2019-04-10 | 1 | -8/+5 |
| | |||||
* | Add url for LayoutImageContext | Caio | 2019-03-16 | 1 | -4/+3 |
| | |||||
* | refactored performance timing to align with updated spec | ddh | 2018-11-20 | 1 | -2/+39 |
| | | | | | | | | | | | | refactoring with ResourceFetchMetadata implemented deprecated window.timing functionality created ResourceTimingListener trait fixed w3c links in navigation timing updated include.ini to run resource timing tests on ci | ||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Unify the task source and task canceller API | Agustin Chiappe Berrini | 2018-11-14 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I moved away from the `Window` struct all the logic to handle task sources, into a new struct called `TaskManager`. In a happy world, I'd be able to just have there two functions, of the types: ```rust fn task_source<T: TaskSource>(&self, name: TaskSourceName) -> Box<T> fn task_source_with_canceller<T: TaskSource>(&self, name: TaskSourceName) -> (Box<T>, TaskSourceCanceller) ``` And not so much duplicated code. However, because TaskSource can't be a trait object (because it has generic type parameters), that's not possible. Instead, I decided to reduce duplicated logic through macros. For reasons[1], I have to pass both the name of the function with canceller and the name of the function without, as I'm not able to concatenate them in the macro itself. I could probably use `concat_idents` to create both types already defined and reduce the amount of arguments by one, but that macro is nightly only. At the same time, not being able to declare macros inside `impl` forces me to pass `self` as an argument. All this makes this solution more verbose than it would be ideally. It does reduce duplication, but it doesn't reduce the size of the file. [1](https://github.com/rust-lang/rust/issues/29599) | ||||
* | `cargo fix --edition-idioms` | Simon Sapin | 2018-11-08 | 1 | -2/+2 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -2/+2 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -2/+2 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -4/+4 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -17/+22 |
| | |||||
* | implement window.stop, improve aborting document load | Gregory Terzian | 2018-07-29 | 1 | -1/+1 |
| | |||||
* | introduce "per task source" ignoring of tasks | Gregory Terzian | 2018-07-10 | 1 | -1/+2 |
| | |||||
* | Merge request type and destination | Keith Yeung | 2017-10-23 | 1 | -2/+2 |
| | |||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Rename Document::mut_loader to loader_mut | Anthony Ramine | 2017-09-25 | 1 | -1/+1 |
| | |||||
* | Rename Runnable to Task | Anthony Ramine | 2017-09-16 | 1 | -1/+1 |
| | | | | | | | | | | | | 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`. | ||||
* | Change RequestInit origin type to ImmutableOrigin | Fausto Núñez Alberro | 2017-07-16 | 1 | -1/+1 |
| | |||||
* | Make image cache per-document rather than global | Fernando Jiménez Moreno | 2017-03-27 | 1 | -3/+3 |
| | |||||
* | Extract layout image request into separate file. Do not block the document ↵ | Josh Matthews | 2017-02-22 | 1 | -0/+81 |
load event. |