aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
Commit message (Collapse)AuthorAgeFilesLines
* task -> threadrohan.prinja2016-01-101-2247/+0
|
* script_task.rs: Use self::MixedMessage in handle_msgsBrandon Fairchild2016-01-071-21/+23
| | | | | | | | | handle_msgs contains many references to variants of MixedMessage. The function should directly reference the variants instead of prepending `MixedMessage::`. Fixes #9169.
* update pipeline url after redirectionsPaul Rouget2016-01-061-0/+4
|
* Fix a bunch of clippy lintsJohannes Linke2016-01-021-8/+6
|
* Auto merge of #8871 - KiChjang:task-source-channels, r=KiChjangbors-servo2016-01-011-4/+125
|\ | | | | | | | | | | | | | | | | | | | | | | Add 5 different task source channels This is **not** complete. I really need feedback right away since I felt that the direction I'm heading is very wrong. Partial #7959. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8871) <!-- Reviewable:end -->
| * Split script_chan into 5 different task queue channelsKeith Yeung2015-12-091-4/+125
| |
* | Resolves #4183 - Implemementing context-based MIME type sniffingDavid Rajchenbach-Teller2015-12-311-1/+2
| | | | | | | | | | The version of the standard is not finalized at the time of this writing. Specifications may be found here: https://mimesniff.spec.whatwg.org/#context-specific-sniffing .
* | Separate script and layout messages, issue #8843Joe Kachmar2015-12-261-2/+6
| |
* | Move LayerKind and ScrollPolicy enums to gfx_traitsBrandon Fairchild2015-12-201-1/+1
| | | | | | | | | | | | This also moves LayerId and LayerProperties to gfx_traits. Fixes #8836.
* | Moved ScriptToCompositorMsg enum and EventResult enum to script_traitsBeomjin Kim2015-12-201-3/+3
| | | | | | | | | | Moved ScriptToCompositorMsg enum and EventResult enum to script_traits resolving issue #8835.
* | Use Url.join instead of UrlParser.base_url(...).parse (#9002)Mathieu Agopian2015-12-181-2/+2
| |
* | delay page freeze/thaw until it's createdPaul Rouget2015-12-181-20/+34
| |
* | Auto merge of #8618 - paulrouget:reload, r=jdmbors-servo2015-12-171-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Browser API: implement iframe.reload() fixes #8575 The implementation is naive, and doesn't support the `hardreload` parameter. And for the test, I'm not sure how else I can test the reload. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8618) <!-- Reviewable:end -->
| * | Browser API: implement iframe.reload()Paul Rouget2015-12-081-1/+1
| | |
* | | Auto merge of #8612 - glennw:pending-frames, r=jdmbors-servo2015-12-171-40/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add test to constellation to avoid writing reftest image if there are pending frames. This changes several tests that contain <iframe></iframe> from FAIL to TIMEOUT. This is correct since there is a bug that prevents these iframes from ever rendering. ~~~There are also a few previous FAILs that changed to OK. These may be intermittents or they may genuinely be fixed by this change.~~~ <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8612) <!-- Reviewable:end -->
| * | | Add test to constellation to avoid writing reftest image if there are ↵Glenn Watson2015-12-171-40/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pending frames. Also change when pipelines become active. This makes the constellation activate a pipeline as the current frame when it is ready to do initial reflow, rather than when it is ready to paint. This fixes a number of intermittent failures that could previously occur if an iframe was not visible - which would mean it was never moved from a pending frame in the constellation to an active frame. (It happens that webrender exposes these intermittents as permanent failures).
* | | | Auto merge of #8903 - KiChjang:layout-reporter-redirect, r=noxbors-servo2015-12-161-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix for Layout memory reporter uses pre-redirect url Rebase of #7612. Fixes #6872. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8903) <!-- Reviewable:end -->
| * | | | fix for Layout memory reporter uses pre-redirect url #6872Arnaud Marant2015-12-091-0/+5
| | |/ / | |/| |
* | | | Ensure that grandchild same-origin iframes are added to the children of the ↵Josh Matthews2015-12-141-1/+2
| |/ / |/| | | | | | | | child iframe of the root. Resolves #8973.
* | | Add pipeline information to CSS error reporting.GauriGNaik2015-12-141-1/+29
| | |
* | | Remove from Trusted::new an unnecessary argumentArthur Skobara2015-12-121-1/+1
| |/ |/|
* | Move ScriptMsg from msg crate into script_traitsTomas Cernaj2015-12-091-3/+2
|/
* Moved WorkerId type to devtools_traitsFlorian Strübe2015-12-071-2/+2
|
* move FocusType enum to the script crateRoman Klauke2015-12-061-2/+2
| | | | | | | This commit moves the FocusType enum to the script crate and replaces all usages with the new `usage`. Fixes #8840
* Auto merge of #8812 - jitendra29:support-withCredentials, r=jdmbors-servo2015-12-051-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | M1504: Implement basic support for withCredentials API The pull request includes the following task: * Implemented basic network-level support by adding a member to LoadData that is used by http_loader.rs to conditionally exclude cookies from the HTTP request if the flag is false (default true) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8812) <!-- Reviewable:end -->
| * implement support for withCredentialsJigesh Mehta2015-12-041-0/+1
| |
* | Create and invoke XML parser for XML documents.ronak2015-12-041-21/+12
| |
* | Introduce abstraction over HTML and XML parsers for parser network listener.Josh Matthews2015-12-041-5/+5
| |
* | Prepare infrastructure for XML parser.jsharda2015-12-041-3/+38
|/
* Minor refactoring of mouse event typesMatt Brubeck2015-12-031-18/+7
| | | | | * Move some types into the `msg` crate so they can be shared more. * Use MouseEventType instead of duplicating it in other enums.
* Dispatch load events for cross origin iframes. Resolves #6672.Josh Matthews2015-11-301-0/+12
|
* Auto merge of #8661 - craftytrickster:8623/some-webdriver-commands, r=jgrahambors-servo2015-11-301-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Webdriver - GetWindowSize/IsEnabled/IsSelected Added handlers for https://github.com/servo/servo/issues/8623: GetWindowSize IsEnabled(WebElement) IsSelected(WebElement) I am not sure how to actually verify my webdriver code works, if someone can give advice I would make the necessary changes. Thanks! <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8661) <!-- Reviewable:end -->
| * Removed duplicate webdriver_traits file and added webdriver handler for ↵David Raifaizen2015-11-291-0/+6
| | | | | | | | GetWindowSize, IsSelected and IsEnabled
* | Update string_cache to 0.2.Alan Jeffrey2015-11-251-2/+2
|/ | | | | | | | | | | Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock. Removed references to string_cache_plugin. Import atom! and ns! from string_cache. Replaced ns!("") by ns!(). Replaced ns!(XML) and co by ns!(xml) and co. Replaced atom!(foo) by atom!("foo"). Replaced Atom::from_slice by Atom::from. Replaced atom.as_slice() by &*atom.
* Auto merge of #8622 - frewsxcv:url-plugin, r=SimonSapinbors-servo2015-11-211-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | Implement 'url!(..)' macro https://github.com/servo/rust-url/issues/136 https://github.com/servo/rust-url/pull/137 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8622) <!-- Reviewable:end -->
| * Implement 'url!(..)' macroCorey Farwell2015-11-211-1/+1
| | | | | | | | | | | | https://github.com/servo/rust-url/issues/136 https://github.com/servo/rust-url/pull/137
* | Auto merge of #8633 - rilut:remove-node-is-anchor-element, r=noxbors-servo2015-11-211-2/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove 'Node::is_anchor_element' Should fixes #8631. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8633) <!-- Reviewable:end -->
| * | Remove 'Node::is_anchor_element'Rizky Luthfianto2015-11-211-2/+3
| |/
* | Auto merge of #8627 - rilut:refactor-script, r=Ms2gerbors-servo2015-11-211-3/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Move SetDOMProxyInformation() call from script_task.rs to script/lib.rs Actually, I'm not sure whether to move `unsafe extern "C" fn shadow_check_callback` from script_task.rs to lib.rs or to keep it there. cc: @wenderen <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8627) <!-- Reviewable:end -->
| * | refactor(script): move SetDOMProxyInformation() call to lib.rsRizky Luthfianto2015-11-211-3/+2
| | |
* | | Add support for getting an element's computed style through WebDriver.James Graham2015-11-201-0/+2
| |/ |/|
* | compositing: Split Servo up into multiple sandboxed processes.Patrick Walton2015-11-191-8/+24
| | | | | | | | | | Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch.
* | Auto merge of #8564 - jgraham:webdriver_attr, r=Ms2gerbors-servo2015-11-191-0/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | Implement Get Element Attribute WebDriver command This intentionally doesn't implement the special handling for boolean attributes yet, since that requires some kind of exhaustive list of all such attributes <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8564) <!-- Reviewable:end -->
| * Implement Get Element Attribute WebDriver commandJames Graham2015-11-181-0/+2
| |
* | Split ConstellationMsg into ScriptMsg and CompositorMsgKeith Yeung2015-11-161-2/+2
|/
* Implement support for WebDriver send keys command.James Graham2015-11-161-0/+2
| | | | | | Supports sending keys to an element. The specification here is still rather unfinished so the error handling and so on in this code will need iteration as it becomes clearer what the expected behaviour is.
* Add DOM-related performance timing propertiesGreg Guthe2015-11-131-0/+2
|
* Auto merge of #8500 - frewsxcv:subpage, r=jdmbors-servo2015-11-131-11/+12
|\ | | | | | | | | | | | | | | Consolidate 'subpage finding' script_task logic <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8500) <!-- Reviewable:end -->
| * Consolidate 'subpage finding' script_task logicCorey Farwell2015-11-121-11/+12
| |
* | Auto merge of #8477 - asajeffrey:opaque-domstring, r=asajeffreybors-servo2015-11-131-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Opaque DOMString This patch makes DOMString an opaque wrapper round String (currently it's a transparent wrapper). The changes are: * Replacing DOMString(foo) by DOMString::from(foo). * Replacing foo.0 by String::from(foo). * Adding functions clear, push_str and extend for in-place mutation of DOMStrings. * Replacing DOMString by String in other threads (devtools, storage and filereader). * Making DOMString implement !Send. * Removing the pub attribute from the contents of DOMString. This enables experimenting with other string representations in the DOM. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8477) <!-- Reviewable:end -->