aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Auto merge of #8175 - benschulz:set-timeout-panic, r=jdmbors-servo2015-11-091-4/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed panic in ActiveTimers.set_timeout_or_interval. `ActiveTimers.set_timeout_or_interval` asserts that the pipeline is not currently frozen. Apparently that is too strict. When pending network requests complete after a pipeline is frozen, scripts may be executed and a timer scheduled. With these changes scheduling a timer while the pipeline is frozen behaves as if the timer was scheduled at the time the pipeline was frozen. To reproduce the panic 1. `./mach run -r http://google.com`, 2. immediately click on any link and 3. wait for the panic. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8175) <!-- Reviewable:end -->
| * Fixed panic in ActiveTimers.set_timeout_or_interval.benshu2015-10-241-4/+10
| |
* | merge from masterrohan.prinja2015-11-031-1/+1
|\ \
| * | Fix some rust-clippy violationsCorey Farwell2015-10-301-1/+1
| |/
* / more refactoringrohan.prinja2015-10-301-1/+1
|/
* Timers are scheduled by a dedicated per-constellation thread.benshu2015-10-211-201/+277
|
* Support the updated spidermonkey bindingsMichael Wu2015-10-141-1/+4
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-4/+3
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-8/+5
| | | | This merges import blocks that were reported by tidy as unmerged.
* Make test-tidy check that braces have spaces before or after themwilmoz2015-08-311-2/+2
|
* sort all usesJohann Tuffe2015-08-201-6/+6
|
* Cleanup textinput, timersManish Goregaokar2015-08-181-2/+2
|
* Replace uses of `for foo in bar.iter()`,João Oliveira2015-08-181-3/+3
| | | | | and `for foo in bar.iter_mut(), and for foo in bar.into_iter() (continuation of #7197)
* Fix existing syntactics nits.Josh Matthews2015-08-161-1/+1
|
* Splitting ScriptMsg into various enums; r=jdmRavi Shankar2015-08-151-5/+3
|
* Start reporting memory usage for Window and all nodes in all DOM trees for ↵Josh Matthews2015-08-031-5/+14
| | | | frame treese in script tasks.
* Refactor #[jstraceable] to #[derive(JSTraceable)]David Winslow2015-07-011-12/+7
| | | | fixes #6524
* Upgrade to SM 39Michael Wu2015-06-191-18/+38
|
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-9/+4
|
* Implement Clone for Copy types.Ms2ger2015-04-281-1/+1
|
* Remove as_slice() calls from script.Ms2ger2015-04-261-1/+1
|
* Replace unsafe_blocks by unsafe_code.Manish Goregaokar2015-03-211-1/+1
|
* Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.Ms2ger2015-03-181-3/+3
|
* Derive Debug rather than the deprecated Show for TimerControlMsg.Ms2ger2015-02-241-1/+1
|
* auto merge of #4960 : ↵bors-servo2015-02-231-9/+51
|\ | | | | | | | | | | pkondzior/servo/add-script-timers-suspend-resume-functionality, r=jdm Adds free/thaw methods to script_task that let you send suspend/resume messages to web content timers. Fixes #4907
| * Add thaw/freeze messages that can suspend/resume webcontent timers #4907Pawel Kondzior2015-02-241-9/+51
| |
* | Fixing Intermittent failure in pages with timersPrabhjyot Singh Sodhi2015-02-221-1/+4
|/ | | | Fixes #4923
* Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-111-1/+1
|
* add `unwrap` to `send/recv` callsAlexandru Cojocaru2015-02-031-1/+1
|
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-2/+2
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-12/+12
|
* Pass a String to spawn_named.Ms2ger2015-01-211-1/+2
| | | | | IntoString has been removed from Rust, and named() will take a String, so there is no good reason to do otherwise here.
* Add handling for unreported exceptions when invoking callback objects.Josh Matthews2015-01-141-2/+2
|
* Deny unsafe blocks in script.Ms2ger2015-01-091-0/+1
| | | | As a first start, this allows them indiscriminately where used.
* auto merge of #4069 : guillaumebort/servo/fix/3936, r=jdmbors-servo2015-01-081-5/+22
|\
| * Fix #3936 – {Window,WorkerGlobalScope}.set{Timeout,Interval}(DOMString)Guillaume Bort2015-01-071-5/+22
| |
* | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-081-1/+2
|/
* Force all messages to worker tasks to send a TrustedWorkerAddress along with ↵Josh Matthews2014-12-291-3/+2
| | | | the ScriptMsg. This ensures that the main-thread Worker object is rooted for as long as there are events in flight or being processed.
* script: Remove glob imports added in #4405Tetsuharu OHZEKI2014-12-191-4/+3
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-7/+7
|
* Use an enum to set set_timeout_or_interval's is_interval field. Fixes #4059Trevor Riles2014-11-211-7/+15
|
* Allow passing arguments to setTimeout/setInterval callbacksMukilan Thiyagarajan2014-11-151-17/+16
|
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-3/+3
|
* Use DOMRefCell for TimerManager.Tetsuharu OHZEKI2014-10-221-3/+5
|
* Issue #3236 - Implement timers (setTimeout/setInterval) for workersMukilan Thiyagarajan2014-10-161-0/+178