aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/devtools.rs
Commit message (Collapse)AuthorAgeFilesLines
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-9/+13
| | | | | * strict imports formatting * Reformat all imports
* Make GlobalScope.get_cx a static method.Josh Matthews2023-05-201-1/+1
|
* Update mozjs.Josh Matthews2021-02-181-6/+4
|
* Added off thread compilationAbhishekSharma1022020-07-211-1/+4
| | | | | Co-authored-by: Gregory Terzian <2792687+gterzian@users.noreply.github.com> Co-authored-by: Abhishek Sharma <20724848+AbhishekSharma102@users.noreply.github.com>
* Set private reference for classic scriptCYBAI2020-07-181-1/+9
| | | | | | | | | | | | Web developers can use `Dynamic Import` in a classic script; thus, we need to save the script's private reference so that we can reuse it when we're going to fetch a dynamic import module for a classic script. Besides, because it's possible to use different executing context for a dynamic import module (like `dynamic-import/string-compilation-other-document.html` WPT test), we can't initialize a module owner at the timing of `SetScriptPrivate`; thus, if the private module script doesn't hold an owner, we'll use a DynamicImport owner for it.
* Report real caller information for console APIs to devtools.Josh Matthews2020-04-281-1/+1
|
* Don't go through the layout thread to retrieve a node's primary styleAnthony Ramine2020-04-071-4/+3
|
* rename compartment to realmKunal Mohan2020-01-241-1/+1
|
* devtools: save and send cached messagesPaul Rouget2019-12-061-47/+1
|
* Modify *::get_cx methods to return a safe JSContext instead of a raw onemarmeladema2019-07-241-5/+5
|
* Create a helper API for entering a DOM object's compartmentKamil Niski2019-06-291-4/+2
| | | | | | Revert some unnecessary changes Fix fmt errors
* Update to SpiderMonkey 66.Josh Matthews2019-05-101-2/+2
|
* Make devtools find node by unique id function include shadow treesFernando Jiménez Moreno2019-04-261-1/+1
|
* Introduce ShadowIncluding enum for tree traversalsFernando Jiménez Moreno2019-04-261-2/+2
|
* Implement concept of shadow including tree orderFernando Jiménez Moreno2019-04-261-1/+1
|
* Fix servo build.Emilio Cobos Álvarez2019-02-101-5/+4
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-9/+7
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* 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
|