Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #8539 Config preferences backend restructure | Peter Hall | 2019-03-20 | 1 | -179/+126 |
| | |||||
* | Reintroduce parent runtimes for worker threads. | Josh Matthews | 2019-01-15 | 1 | -2/+17 |
| | |||||
* | Update to new JS runtime creation APIs. | Josh Matthews | 2019-01-15 | 1 | -1/+7 |
| | |||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -1/+3 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Auto merge of #21804 - AgustinCB:unify-task-source-canceller-api, r=gterzian | bors-servo | 2018-11-16 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unify the task source and task canceller API To do so, I created a struct `TaskManagement(TaskSource, TaskCanceller)` and made `*_task_source` return that instead of just the task source. Next, I refactored all places in which `task_canceller` by basically removing them in favour of a previously called `*_task_source`. I tried to make `task_canceller` a private method in `Window`, with the hope of enforcing the use of `*_task_source`. However, it's used in components/script/dom/globalscope.rs:575 in such a way that will make it harder to avoid. I decided to leave it that way. It'd be possible to unify `*_task_source` in such a way that we would have only one method. However, I decided not to do it because one of the `TaskSource` implementations is special: `history_traversal_task_source`. Not wanting to over complicate things, I decided to leave the structure this way. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #21154 (github issue number if applicable). - [x] These changes do not require tests because it's refactoring code that should already be tested. <!-- 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/21804) <!-- Reviewable:end --> | ||||
| * | Implement TaskSource for HistoryTraversal | Agustin Chiappe Berrini | 2018-11-13 | 1 | -0/+1 |
| | | | | | | | | | | And remove the method in window that returns it, because it isn't used so far. | ||||
* | | Introduce rejectionhandled event | CYBAI | 2018-11-13 | 1 | -12/+33 |
|/ | |||||
* | `cargo fix --edition-idioms` | Simon Sapin | 2018-11-08 | 1 | -3/+3 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -9/+11 |
| | |||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -30/+43 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -4/+4 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -20/+20 |
| | |||||
* | Auto merge of #21988 - CYBAI:drop-promises, r=jdm | bors-servo | 2018-10-29 | 1 | -1/+4 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clear refcounted promise before dropping JSRuntime Not sure if this is the right solution? I also tried to `impl Drop for LiveDOMReferences` but it's still executed after dropping JSRuntime. So, maybe we should clear it before dropping the JSRuntime? cc @jdm @asajeffrey --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #21331 . - [x] There are tests for these changes; the status of `fetch/cross-origin-resource-policy/fetch-in-iframe.html` will be `OK` <!-- 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/21988) <!-- Reviewable:end --> | ||||
| * | Drop `TrustedPromise` before dropping JSRuntime | CYBAI | 2018-10-21 | 1 | -1/+4 |
| | | |||||
* | | Clear consumed rejections and add FIXME comments | CYBAI | 2018-10-18 | 1 | -0/+7 |
| | | |||||
* | | Make first argument of DOMManipulationTaskSource as a Box<ScriptChan + | CYBAI | 2018-10-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | Send> We don't have `window` for `workers`. So, if we use `global.as_window()` to get the DOMManipulationTaskSource, it will make worker panic. Instead, we should get the DOMManipulationTaskSource from each own thread. Ref: https://github.com/servo/servo/pull/20755#discussion_r193557746 | ||||
* | | Implement unhandledrejection event | CYBAI | 2018-10-18 | 1 | -4/+124 |
|/ | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -104/+166 |
| | |||||
* | Add the TaskSourceName to CommonScriptMsg::Task | Agustin Chiappe Berrini | 2018-09-04 | 1 | -2/+3 |
| | | | | Update QueuedTaskConversion and the TaskQueue to use it | ||||
* | Upgraded to SM 60 | Alan Jeffrey | 2018-08-20 | 1 | -50/+75 |
| | |||||
* | Pass new method in CollectServoSizes for accurate DOM heap use reporting | Anthony Weston | 2018-03-27 | 1 | -1/+22 |
| | |||||
* | Remove js.mem.gc.refresh_frame_slices.enabled pref | Adrian Wielgosik | 2018-01-06 | 1 | -1/+0 |
| | | | | Clean up after gecko bug 1421358 | ||||
* | Bump bitflags to 1.0 in every servo crate | Bastien Orivel | 2017-10-30 | 1 | -3/+3 |
| | |||||
* | added time to interactive metrics, refactored metrics to use traits | ddh | 2017-10-24 | 1 | -2/+3 |
| | | | | changed task macro to take pipeline info | ||||
* | Do not trace Rust values when thread is shutting down. | Josh Matthews | 2017-10-20 | 1 | -4/+28 |
| | |||||
* | Move script_runtime::StackRootTLS to root::ThreadLocalStackRoots | Anthony Ramine | 2017-09-27 | 1 | -20/+2 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Rename Task to TaskBox | Anthony Ramine | 2017-09-20 | 1 | -2/+2 |
| | |||||
* | Make Task require Send | Anthony Ramine | 2017-09-20 | 1 | -1/+1 |
| | |||||
* | Move Task to its own module | Anthony Ramine | 2017-09-18 | 1 | -1/+2 |
| | |||||
* | Rename Runnable to Task | Anthony Ramine | 2017-09-16 | 1 | -4/+4 |
| | | | | | | | | | | | | 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`. | ||||
* | Put the name of runnables in Debug for CommonScriptMsg | Anthony Ramine | 2017-09-16 | 1 | -1/+3 |
| | |||||
* | Make Performance Timeline API work in Workers | Fernando Jiménez Moreno | 2017-09-05 | 1 | -1/+2 |
| | |||||
* | Added Debug implementations. | Alan Jeffrey | 2017-06-13 | 1 | -0/+10 |
| | |||||
* | Implemented Houdini worklets. | Alan Jeffrey | 2017-05-17 | 1 | -0/+1 |
| | |||||
* | Update rust-mozjs to master. | Josh Matthews | 2017-03-31 | 1 | -1/+1 |
| | |||||
* | Generalize promise job queue into solitary microtask queue. | Josh Matthews | 2017-02-01 | 1 | -75/+7 |
| | |||||
* | Add a permanent root to WebIDL callbacks, ensuring they are always safe to ↵ | Josh Matthews | 2017-01-13 | 1 | -2/+2 |
| | | | | store. | ||||
* | WebVR API Implementation, r=larsbergstrom | Imanol Fernandez | 2017-01-09 | 1 | -0/+1 |
| | |||||
* | Implement the entry global. | Ms2ger | 2017-01-06 | 1 | -0/+2 |
| | | | | Partial fix for #10963. | ||||
* | Removed util. | Alan Jeffrey | 2016-12-14 | 1 | -2/+2 |
| | |||||
* | Add support for fullscreen #10102 | Jansen Jan | 2016-12-09 | 1 | -1/+3 |
| | |||||
* | Add a JSTraceable bound on ScriptChan | Anthony Ramine | 2016-12-06 | 1 | -2/+2 |
| | |||||
* | Update js. | Ms2ger | 2016-11-27 | 1 | -27/+5 |
| | |||||
* | Remove GlobalRoot and GlobalRef | Anthony Ramine | 2016-10-06 | 1 | -2/+1 |
| | |||||
* | Make the closure in flush_promise_jobs return a Root<GlobalScope> | Anthony Ramine | 2016-10-06 | 1 | -4/+4 |
| | |||||
* | Introduce GlobalScope::enqueue_promise_job | Anthony Ramine | 2016-10-06 | 1 | -4/+4 |
| | |||||
* | Make PromiseJobQueue::enqueue take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -3/+4 |
| | |||||
* | Introduce GlobalScope::flush_promise_jobs | Anthony Ramine | 2016-10-06 | 1 | -1/+1 |
| |