aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* rust-geom API changesCorey Farwell2015-06-131-1/+1
| | | | https://github.com/servo/rust-geom/pull/81
* Add support for switching frames with the webdriver API.James Graham2015-06-011-1/+3
| | | | This moves webdriver_traits into msg to avoid a circular dependency.
* Change not(ndebug) to debug_assertionsMatt Brubeck2015-06-011-1/+1
| | | | The name of this directive changed in rust-lang/rust#22980.
* add navigation state data to LoadComplete messages, finish cef load state cbsMike Blumenkrantz2015-05-271-1/+1
|
* script: Reflow 200 milliseconds after the `<body>` is parsed, like GeckoPatrick Walton2015-05-261-1/+1
| | | | does.
* Auto merge of #6168 - tamird:get-cached-messages, r=jdmbors-servo2015-05-261-0/+2
|\ | | | | | | | | | | | | | | Rebase of #4175, closes #4175. r? @jdm <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6168) <!-- Reviewable:end -->
| * Implemented `GetCachedMessages`Tamir Duberstein2015-05-261-0/+2
| |
* | Auto merge of #6140 - nox:cleanup-rootedvec, r=Manishearthbors-servo2015-05-261-3/+5
|\ \ | |/ |/| | | | | | | <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6140) <!-- Reviewable:end -->
| * Optimise use of RootedVec in ScriptTask::handle_event()Anthony Ramine2015-05-261-3/+5
| |
* | Reduce max line length from 150 to 120 charactersCorey Farwell2015-05-241-2/+7
| | | | | | | | Part of https://github.com/servo/servo/issues/6041
* | Auto merge of #5727 - jdm:parserinterrupt2, r=mbrubeckbors-servo2015-05-211-40/+56
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | ...r parsing. Hook up document loading to async networking events. Relies on https://github.com/servo/html5ever/pull/107, so we'll likely need to backport it rather than wait for the next rustc upgrade. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5727) <!-- Reviewable:end -->
| * | Make external script sources load asynchronously, yet still block further ↵Josh Matthews2015-05-201-40/+56
| | | | | | | | | | | | parsing. Hook up document loading to async networking events.
* | | net: Don't load the placeholder image for background images, only forPatrick Walton2015-05-201-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | image fragments. This also changes the way the placeholder is handled in the image cache task to decode it up front instead of each time an image fails to load, both because it was more convenient to implement that way and because it saves CPU cycles to do so. This matches the behavior of Gecko and WebKit. It improves the look of our cached copy of Wikipedia.
* | Add closed pipelines record as a debugging aidGlenn Watson2015-05-201-9/+24
| |
* | Handle case where a page fetch completes after pipeline exits.Glenn Watson2015-05-201-4/+7
| |
* | Address review commentsGlenn Watson2015-05-201-2/+1
| |
* | Fix several hangs / panics during pipeline cleanup of in progress loads.Glenn Watson2015-05-191-5/+24
|/ | | | This fixes a hang found while testing the jQuery test suite.
* Add basic support for executeAsyncScript.James Graham2015-05-141-2/+4
| | | | | | This relies on a global webdriverCallback function, which is visible to content. Obviously that's not a long term solution for a number of reasons, but it allows us to experiment for now
* Make WebDriver Get() command wait on pages loading before returning.James Graham2015-05-141-3/+3
| | | | | This makes using WebDriver significantly less racy. Also refactors the message structure a little
* Various fixes for cleaning up iframes, compositor layers, pipelines and threads.Glenn Watson2015-05-141-1/+12
| | | | This allows most of the jquery test suite to run without exhausting thread resources.
* Fixes a number of race conditions and reliability issues with reftests and ↵Glenn Watson2015-05-141-13/+39
| | | | | | | | | | | | compositor. The basic idea is it's safe to output an image for reftest by testing: - That the compositor doesn't have any animations active. - That the compositor is not waiting on any outstanding paint messages to arrive. - That the script tasks are "idle" and therefore won't cause reflow. - This currently means page loaded, onload fired, reftest-wait not active, first reflow triggered. - It could easily be expanded to handle pending timers etc. - That the "epoch" that the layout tasks have last laid out after script went idle, is reflected by the compositor in all visible layers for that pipeline.
* Auto merge of #5804 - jdm:docloader, r=Ms2gerbors-servo2015-05-111-14/+45
|\ | | | | | | | | | | | | | | | | | | This implements a simple load-tracking system and tracks stylesheet loads as an example of how it fits together. This is a simplified and rebased version of #3714; I do not believe that the main thrust of hsivonen's comments (related to tracking navigation in browsing contexts) affect this part of the work. r? @Ms2ger <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5804) <!-- Reviewable:end -->
| * Delay stylesheet load in test to increase confidence.Josh Matthews2015-05-111-1/+1
| |
| * Make link elements fire a load event.Josh Matthews2015-05-111-2/+4
| |
| * Make stylesheets block page load.Josh Matthews2015-05-111-1/+9
| |
| * Implement a DocumentLoader type that tracks pending loads and notifies the ↵Josh Matthews2015-05-111-14/+35
| | | | | | | | script task when the queue is empty. Dispatch the document load event based on the DocumentLoader's notification.
* | Add support for getActiveElement webdriver commandJames Graham2015-05-111-0/+2
| |
* | Auto merge of #5969 - jgraham:webdriver_select_css, r=jdmbors-servo2015-05-111-0/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | Also adds example support for getting the name and text properties of the elements. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5969) <!-- Reviewable:end -->
| * | Add WebDriver support for getting elements by selector.James Graham2015-05-081-0/+8
| | | | | | | | | | | | Also adds example support for getting the name and text properties of the elements.
* | | Remove reference counting from the Runtime implementation.Ms2ger2015-05-101-2/+2
| | |
* | | Use Runtime in Window.Ms2ger2015-05-101-3/+3
| | |
* | | Update js.Ms2ger2015-05-101-1/+1
|/ /
* / layout: Don't rerun selector matching unless we need to when resizingPatrick Walton2015-05-071-5/+7
|/ | | | the window.
* Support WebDriver takeScreenshot command.James Graham2015-05-071-3/+2
| | | | | This adds support for compositing to a PNG without actually quiting the browser.
* Implement webdriver commands for back/forward/title/handles.James Graham2015-05-061-1/+3
|
* Auto merge of #5753 - JIoJIaJIu:timeline, r=jdmbors-servo2015-05-061-0/+11
|\ | | | | | | | | | | | | | | | | RequestAnimationFrame [Task](https://github.com/servo/servo/issues/5681) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5753) <!-- Reviewable:end -->
| * Start using on_refresh_driver_tick #5681Guro Bokum2015-05-061-0/+11
| | | | | | | | Final
* | Auto merge of #5951 - SimonSapin:au-cleanup, r=mbrubeckbors-servo2015-05-051-4/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | Fix #5943. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5951) <!-- Reviewable:end -->
| * Rename Au methods with f32/f64 instead of frac32/frac/subpxSimon Sapin2015-05-051-1/+1
| |
| * Replace Au-related free functions in util::geometry with Au methods.Simon Sapin2015-05-051-4/+1
| |
* | 1. Add an Option<Pipeline_id> field to the LoadData struct, and a ↵Himaja2015-05-051-0/+1
|/ | | | | | corresponding parameter to LoadData::new() 2. Change addEvent in the NetworkEventActor to add_request and add_response
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-7/+3
|
* Remove FIXMEPhilip Munksgaard2015-05-041-2/+0
| | | | | | | Following the (short) in #5930 it was decided that we should remove this FIXME. Fixes #5930
* Auto merge of #5725 - pgonda:dispatch-mousedown-mouseup, r=jdmbors-servo2015-04-301-11/+21
|\ | | | | | | | | | | <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5725) <!-- Reviewable:end -->
| * added dispatching for mousedown and mouseup events, fixes #5705Peter2015-04-291-11/+21
| |
* | Uniformise the various Msg types [#5882]Prabhjyot Singh Sodhi2015-04-301-5/+5
| |
* | Implement Clone for Copy types.Ms2ger2015-04-281-1/+1
| |
* | Uniformise root() methodsAnthony Ramine2015-04-281-2/+3
| | | | | | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
* | Make RootedVec/RootCollection #[no_move]; improve code (fixes #5737)Manish Goregaokar2015-04-281-1/+1
| |
* | Fix some no_move errorsManish Goregaokar2015-04-281-5/+5
|/