aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_runtime.rs
Commit message (Collapse)AuthorAgeFilesLines
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-3/+3
|
* Reorder importsPyfisch2018-11-061-9/+11
|
* Format remaining filesPyfisch2018-11-061-30/+43
|
* Sort `use` statementsSimon Sapin2018-11-061-4/+4
|
* `cargo fix --edition`Simon Sapin2018-11-061-20/+20
|
* Auto merge of #21988 - CYBAI:drop-promises, r=jdmbors-servo2018-10-291-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 JSRuntimeCYBAI2018-10-211-1/+4
| |
* | Clear consumed rejections and add FIXME commentsCYBAI2018-10-181-0/+7
| |
* | Make first argument of DOMManipulationTaskSource as a Box<ScriptChan +CYBAI2018-10-181-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 eventCYBAI2018-10-181-4/+124
|/
* Format script componentchansuke2018-09-191-104/+166
|
* Add the TaskSourceName to CommonScriptMsg::TaskAgustin Chiappe Berrini2018-09-041-2/+3
| | | | Update QueuedTaskConversion and the TaskQueue to use it
* Upgraded to SM 60Alan Jeffrey2018-08-201-50/+75
|
* Pass new method in CollectServoSizes for accurate DOM heap use reportingAnthony Weston2018-03-271-1/+22
|
* Remove js.mem.gc.refresh_frame_slices.enabled prefAdrian Wielgosik2018-01-061-1/+0
| | | | Clean up after gecko bug 1421358
* Bump bitflags to 1.0 in every servo crateBastien Orivel2017-10-301-3/+3
|
* added time to interactive metrics, refactored metrics to use traitsddh2017-10-241-2/+3
| | | | changed task macro to take pipeline info
* Do not trace Rust values when thread is shutting down.Josh Matthews2017-10-201-4/+28
|
* Move script_runtime::StackRootTLS to root::ThreadLocalStackRootsAnthony Ramine2017-09-271-20/+2
|
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Rename Task to TaskBoxAnthony Ramine2017-09-201-2/+2
|
* Make Task require SendAnthony Ramine2017-09-201-1/+1
|
* Move Task to its own moduleAnthony Ramine2017-09-181-1/+2
|
* Rename Runnable to TaskAnthony Ramine2017-09-161-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 CommonScriptMsgAnthony Ramine2017-09-161-1/+3
|
* Make Performance Timeline API work in WorkersFernando Jiménez Moreno2017-09-051-1/+2
|
* Added Debug implementations.Alan Jeffrey2017-06-131-0/+10
|
* Implemented Houdini worklets.Alan Jeffrey2017-05-171-0/+1
|
* Update rust-mozjs to master.Josh Matthews2017-03-311-1/+1
|
* Generalize promise job queue into solitary microtask queue.Josh Matthews2017-02-011-75/+7
|
* Add a permanent root to WebIDL callbacks, ensuring they are always safe to ↵Josh Matthews2017-01-131-2/+2
| | | | store.
* WebVR API Implementation, r=larsbergstromImanol Fernandez2017-01-091-0/+1
|
* Implement the entry global.Ms2ger2017-01-061-0/+2
| | | | Partial fix for #10963.
* Removed util.Alan Jeffrey2016-12-141-2/+2
|
* Add support for fullscreen #10102Jansen Jan2016-12-091-1/+3
|
* Add a JSTraceable bound on ScriptChanAnthony Ramine2016-12-061-2/+2
|
* Update js.Ms2ger2016-11-271-27/+5
|
* Remove GlobalRoot and GlobalRefAnthony Ramine2016-10-061-2/+1
|
* Make the closure in flush_promise_jobs return a Root<GlobalScope>Anthony Ramine2016-10-061-4/+4
|
* Introduce GlobalScope::enqueue_promise_jobAnthony Ramine2016-10-061-4/+4
|
* Make PromiseJobQueue::enqueue take a &GlobalScopeAnthony Ramine2016-10-061-3/+4
|
* Introduce GlobalScope::flush_promise_jobsAnthony Ramine2016-10-061-1/+1
|
* Introduce GlobalScope::pipeline_idAnthony Ramine2016-10-061-1/+1
|
* Support promises in workers.Josh Matthews2016-09-221-2/+103
|
* Most of the code refactoring needed to be done is done with this commit.Arthur Marble2016-09-181-2/+2
|
* Remove mutex from TrustedAlan Jeffrey2016-08-291-3/+1
| | | | | Use weak references rather than message passing to garbage-collect dead references.
* Move thread_state to style.Ms2ger2016-08-221-1/+1
|
* Correct the call to JS_SetGCZeal.Ms2ger2016-07-291-4/+4
|
* Refactor `util::prefs` operations to be methods on static struct.Corey Farwell2016-07-021-31/+31
|
* Wrap executions of Rust code called from JS in catch_unwind. Propagate the ↵Josh Matthews2016-06-221-1/+17
| | | | interrupted panic to the origin of the JS execution via TLS before resuming. Fix #6462.