aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/devtools.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Reorder importsPyfisch2018-11-061-3/+3
|
* Format remaining filesPyfisch2018-11-061-1/+2
|
* Sort `use` statementsSimon Sapin2018-11-061-5/+5
|
* `cargo fix --edition`Simon Sapin2018-11-061-16/+16
|
* Format script componentchansuke2018-09-191-79/+114
|
* Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393Marcin Mielniczuk2018-03-281-1/+2
|
* Add layout RPC query for getting an element's styleJon Leighton2018-01-281-5/+6
| | | | | | | | This enables us to implement Element::has_css_layout_box() in a more direct way, and also enables us to remove some of the existing more specific queries. Fixes #19811.
* Bump bitflags to 1.0 in every servo crateBastien Orivel2017-10-301-4/+4
|
* Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest ↵Gecko Backout2017-10-191-4/+4
| | | | | | failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE Backs out https://github.com/servo/servo/pull/18809
* Update bitflags to 1.0 in every servo crateBastien Orivel2017-10-191-4/+4
| | | | | It still needs dependencies update to remove all the other bitflags versions.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-2/+2
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Added some same-origin-domain checks.Alan Jeffrey2017-03-141-2/+1
|
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-1/+1
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Remove usage of FnBox for animation frame callbacks (fixes #14416)Anthony Ramine2016-12-061-6/+3
|
* Replace script thread root browsing context by a collection of documents.Alan Jeffrey2016-11-081-68/+40
|
* Setting a devtools timeline marker may fail, due to pipeline lookup failure.Alan Jeffrey2016-10-121-5/+10
|
* Remove intrinsic Root::r()Anthony Ramine2016-10-111-1/+1
|
* Make devtools::handle_evaluate_js take a &GlobalScopeAnthony Ramine2016-10-061-3/+2
|
* Move JS evaluation functions to GlobalScopeAnthony Ramine2016-10-061-1/+1
|
* Introduce GlobalScope::devtools_chanAnthony Ramine2016-10-061-1/+2
|
* Introduce GlobalScope::live_devtools_updatesAnthony Ramine2016-10-061-1/+2
|
* Reorder `use` statementsUK9922016-09-091-2/+3
|
* Implement Reflectable for GlobalRef.Josh Matthews2016-09-071-0/+1
|
* Update rust-mozjs dependencyGuillaume Gomez2016-08-241-3/+6
|
* Removed some sources of panic from script thread and devtools, using Option ↵David Raifaizen2016-07-251-30/+55
| | | | values instead to indicate when a pipeline context is missing where appropriate. Additionally, removed erroneous method get_browsing_context.
* Switch to using the new rooted!/RootedGuard API for rooting.Eduard Burtescu2016-07-041-11/+11
|
* Make the net monitor panel in FF's devtools show meaningful output.Josh Matthews2016-06-061-0/+9
| | | | | | | | | | | | | 0) Advertise support for the network monitor in the initial protocol communication. 1) Only notify the developer tools server about the final request in an HTTP transaction. 2) Add timing information for connecting to the HTTP server and sending the HTTP request. 3) Reduce duplication between various networkEventUpdate structures by creating a helper function that merges two JSON structures together. This also corrects the JSON structure so the devtools client interprets the output correctly. 4) Calculate various header size fields correctly. 5) Remove unnecessary usize->u32 casts by making the appropriate fields usize. 6) Add header values to request and response header messages. 7) Support triggering page reloads via the devtools client.
* Use JSautoCompartment in devtools handle_evaluate_js to avoid segfaultManish Goregaokar2016-05-271-1/+3
| | | | fixes #11457
* Remove the IterableContext trait.Ms2ger2016-05-241-1/+1
| | | | It serves no purpose.
* Move DOMString back to scriptAnthony Ramine2016-05-241-1/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* removed instances of &Root<BrowsingContext>Connor Brewster2016-05-111-9/+9
|
* remove page and move functionality to browing contextConnor Brewster2016-05-111-27/+32
| | | | | | | | | | Allow for adding history items Fixed nested iframe test failure Cleanup and small refactors fixup
* Auto merge of #10327 - frewsxcv:get-prefix, r=ms2gerbors-servo2016-04-021-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | Remove `get_*` on getters as per RFC 0344. https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis https://github.com/servo/servo/issues/6224 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10327) <!-- Reviewable:end -->
| * Remove `get_*` on getters as per RFC 0344.Corey Farwell2016-03-311-1/+1
| | | | | | | | | | | | https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis https://github.com/servo/servo/issues/6224
* | Use serde in devtoolsAnthony Ramine2016-03-311-2/+2
|/
* Completed implementation of devtools' `getLayout`.benshu2016-02-241-6/+43
|
* task -> threadrohan.prinja2016-01-101-1/+1
|
* Rustfmt some of script.Ms2ger2015-11-181-16/+25
|
* Replaced DOMString constructor by conversion functions.Alan Jeffrey2015-11-121-3/+3
| | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("...").
* Use the conversion traits from js.Ms2ger2015-11-121-26/+30
|
* Make DOMString a newtype around String, rather than a typedef.Ms2ger2015-11-041-3/+4
| | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type.
* Get rid of a bunch of explicit derefsDavid Zbarsky2015-11-031-5/+5
|
* Auto merge of #8221 - wenderen:8130-reorganise, r=jdmbors-servo2015-11-041-1/+2
|\ | | | | | | | | | | | | | | | | | | move modules around for #8130 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8221) <!-- Reviewable:end -->
| * move Castable into dom::bindings::inheritancerohan.prinja2015-10-301-1/+2
| |
* | Avoid some string copies in handle_modify_attribute.Ms2ger2015-11-021-4/+4
|/
* Introduce trait CastableAnthony Ramine2015-10-211-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This trait is used to hold onto the downcast and upcast functions of all castable IDL interfaces. A castable IDL interface is one which either derives from or is derived by other interfaces. The deriving relation is represented by implementations of marker trait DerivedFrom<T: Castable> generated in InheritTypes. /^[ ]*use dom::bindings::codegen::InheritTypes::.*(Base|Cast|Derived)/ { /::[a-zA-Z]+(Base|Cast|Derived);/d s/([{ ])[a-zA-Z]+(Base|Cast|Derived), /\1/g s/([{ ])[a-zA-Z]+(Base|Cast|Derived), /\1/g s/, [a-zA-Z]+(Base|Cast|Derived)([},])/\2/g s/, [a-zA-Z]+(Base|Cast|Derived)([},])/\2/g /\{([a-zA-Z]+(Base|Cast|Derived))?\};$/d s/\{([a-zA-Z_]+)\};$/\1;/ } s/([a-zA-Z]+)Cast::from_ref\(\&?\**([a-zA-Z_]+)(\.r\(\))?\)/\2.upcast::<\1>()/g s/([a-zA-Z]+)Cast::from_ref\(\&?\**([a-zA-Z_]+)(\.[a-zA-Z_]+\(\))?\)/\2\3.upcast::<\1>()/g s/\(([a-zA-Z]+)Cast::from_ref\)/\(Castable::upcast::<\1>\)/g s/([a-zA-Z]+)Cast::from_root/Root::upcast::<\1>/g s/([a-zA-Z]+)Cast::from_layout_js\(\&([a-zA-Z_.]+)\)/\2.upcast::<\1>()/g s/([a-zA-Z]+)Cast::to_ref\(\&?\**([a-zA-Z_]+)(\.r\(\))?\)/\2.downcast::<\1>()/g s/([a-zA-Z]+)Cast::to_ref\(\&?\**([a-zA-Z_]+)(\.[a-zA-Z_]+\(\))?\)/\2\3.downcast::<\1>()/g s/\(([a-zA-Z]+)Cast::to_ref\)/\(Castable::downcast::<\1>\)/g s/([a-zA-Z]+)Cast::to_root/Root::downcast::<\1>/g s/([a-zA-Z]+)Cast::to_layout_js\(&?([a-zA-Z_.]+(\(\))?)\)/\2.downcast::<\1>()/g s/\.is_document\(\)/.is::<Document>()/g s/\.is_htmlanchorelement\(\)/.is::<HTMLAnchorElement>()/g s/\.is_htmlappletelement\(\)/.is::<HTMLAppletElement>()/g s/\.is_htmlareaelement\(\)/.is::<HTMLAreaElement>()/g s/\.is_htmlbodyelement\(\)/.is::<HTMLBodyElement>()/g s/\.is_htmlembedelement\(\)/.is::<HTMLEmbedElement>()/g s/\.is_htmlfieldsetelement\(\)/.is::<HTMLFieldSetElement>()/g s/\.is_htmlformelement\(\)/.is::<HTMLFormElement>()/g s/\.is_htmlframesetelement\(\)/.is::<HTMLFrameSetElement>()/g s/\.is_htmlhtmlelement\(\)/.is::<HTMLHtmlElement>()/g s/\.is_htmlimageelement\(\)/.is::<HTMLImageElement>()/g s/\.is_htmllegendelement\(\)/.is::<HTMLLegendElement>()/g s/\.is_htmloptgroupelement\(\)/.is::<HTMLOptGroupElement>()/g s/\.is_htmloptionelement\(\)/.is::<HTMLOptionElement>()/g s/\.is_htmlscriptelement\(\)/.is::<HTMLScriptElement>()/g s/\.is_htmltabledatacellelement\(\)/.is::<HTMLTableDataCellElement>()/g s/\.is_htmltableheadercellelement\(\)/.is::<HTMLTableHeaderCellElement>()/g s/\.is_htmltablerowelement\(\)/.is::<HTMLTableRowElement>()/g s/\.is_htmltablesectionelement\(\)/.is::<HTMLTableSectionElement>()/g s/\.is_htmltitleelement\(\)/.is::<HTMLTitleElement>()/g
* Improve implementation of DOMRect and implement DOMRectReadOnlyTill Schneidereit2015-10-171-2/+2
| | | | Passes most tests from test-css.
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-4/+4
|
* Emit markers for all events, not just UI events.Ms2ger2015-09-161-24/+4
|