aboutsummaryrefslogtreecommitdiffstats
path: root/components/webdriver_server
Commit message (Collapse)AuthorAgeFilesLines
* Use workspace definitions for all crates and update to the 2021 edition (#32544)Martin Robinson2024-06-181-5/+5
|
* Move non-gfx things out of `gfx_traits` and create a `base` crate (#32296)Martin Robinson2024-05-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | For a long time, `gfx_traits` has held a lot of things unrelated to graphics and also unrelated to the `gfx` crate (which is mostly about fonts). This is a cleanup which does a few things: 1. Move non `gfx` crate things out of `gfx_traits`. This is important in order to prevent dependency cycles with a different integration between layout, script, and fonts. 2. Rename the `msg` crate to `base`. It didn't really contain anything to do with messages and instead mostly holds ids, which are used across many different crates in Servo. This new crate will hold the *rare* data types that are widely used. Details: - All BackgroundHangMonitor-related things from base to a new `background_hang_monitor_api` crate. - Moved `TraversalDirection` to `script_traits` - Moved `Epoch`-related things from `gfx_traits` to `base`. - Moved `PrintTree` to base. This should be widely useful in Servo. - Moved `WebrenderApi` from `base` to `webrender_traits` and renamed it to `WebRenderFontApi`.
* clippy: Allow `too_many_arguments` for existing functions (#31974)eri2024-04-021-1/+1
| | | | | * Allow `too_many_arguments` for existing functions * fix: Surround ASCII with code block in rustdoc
* clippy: Fix assorted warnings in `components/` (#31628)eri2024-03-132-38/+29
| | | | | | | * clippy: fix assorted warnings in `components/` * fix: new and default * fix: review comments
* deps: Remove unused crate dependencies (#31185)Martin Robinson2024-01-261-1/+0
| | | These were identified with `cargo-marchete`.
* Move `*_traits` and other shared types to `shared`Martin Robinson2023-11-031-5/+5
| | | | | | | | | | | | This is the start of the organization of types that are in their own crates in order to break dependency cycles between other crates. The idea here is that putting these packages into their own directory is the first step toward cleaning them up. They have grown organically and it is difficult to explain to new folks where to put new shared types. Many of these crates contain more than traits or don't contain traits at all. Notably, `script_traits` isn't touched because it is vendored from Gecko. Eventually this will move to `third_party`.
* Add shell.background-color.rgba to prefs (#30488)Ngo Iok Ui (Wu Yu Wei)2023-10-041-0/+5
| | | | | | | * Add shell.transparent-background.enabled to prefs * Rename config to background_color * Rename to background-color and.rgba add PrefValue::Array variant
* Dedupe ron and base64 (#30415)Fabrice Desré2023-09-231-0/+35
|
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-112-32/+30
| | | | | * strict imports formatting * Reformat all imports
* remove `extern crate` (#30311)Samson2023-09-081-10/+5
| | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* [NFC] compositing: extract types into new compositing_traits crate (#30125)Delan Azabani2023-08-183-3/+3
| | | | | | | | | | | * [NFC] compositing: extract types into new compositing_traits crate * [NFC] compositing: move InitialCompositorState back to compositing * [NFC] compositing: rename Msg to CompositorMsg * [NFC] compositing: revert changes to Cargo.toml features section * [NFC] compositing: merge imports
* bump base64 from 0.10 to 0.21 (#29804)Tuna2023-08-021-2/+2
| | | | | | | | | * bump base64 from 0.10 to 0.21 * Fix configuration of bitflags --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Fix compiler warning introduced in 4aa8a1c41895550e43dcbce6442c9f4b6163b9b7The Capyloon Team2023-05-201-2/+2
|
* Update: Bumped webdriver version to 0.48michaelgrigoryan252023-05-182-7/+19
|
* Start the transition to workspace dependenciesMartin Robinson2023-05-171-14/+14
| | | | | | | This will ultimately make it simpler to update crate dependencies and reduce duplicate when specifying requirements. Generally, this change does not touch dependencies that are only used by a single crate. We could consider moving them to workspace dependencies in the future.
* Bump euclid to 0.22Martin Robinson2023-01-261-1/+1
| | | | | | | | | | | | | - Also updates raqote to latest with an upgrade of font-kit to 0.11 applied on as a patch - Update lyon_geom to the latest version Major change: - All matrices are now stored in row major order. This means that parameters to rotation functions no longer should be negated. - `post_...()` functions are now named `then()`. `pre_transform()` is removed, so `then()` is used and the order of operations changed.
* Update cookie/hyper_serde.Josh Matthews2022-04-011-1/+1
|
* Update image/png.Josh Matthews2022-04-012-3/+4
|
* Update keyboard-types.Josh Matthews2022-04-011-1/+1
|
* Upgrade HyperNaveen Gattu2022-01-163-8/+22
|
* feat: shorten thread namesyvt2021-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Linux kernel imposes a 15-byte limit on thread names[1]. This means information that does not fit in this limit, e.g., the pipeline ID of layout and script threads, is lost in a debugger and profiler (see the first column of the table below). This commit shortens the thread names used in Servo to maximize the amount of information conveyed. It also rectifies some inconsistencies in the names. | Before | After | |-------------------|-------------------| | `BluetoothThread` | `Bluetooth` | | `CanvasThread` | `Canvas` | | `display alert d` | `AlertDialog` | | `FontCacheThread` | `FontCache` | | `GLPlayerThread` | `GLPlayer` | | `HTML Parser` | `Parse:www.examp` | | `LayoutThread Pi` | `Layout(1,1)` | | `Memory profiler` | `MemoryProfiler` | | `Memory profiler` | `MemoryProfTimer` | | `OfflineAudioCon` | `OfflineACResolv` | | `PullTimelineMar` | `PullTimelineDat` | | `ScriptThread Pi` | `Script(1,1)` | | `WebWorker for h` | `WW:www.example.` | | `ServiceWorker f` | `SW:www.example.` | | `ServiceWorkerMa` | `SvcWorkerManage` | | `Time profiler t` | `TimeProfTimer` | | `Time profiler` | `TimeProfiler` | | `WebGL thread` | `WebGL` | | `Choose a device` | `DevicePicker` | | `Pick a file` | `FilePicker` | | `Pick files` | `FilePicker` | [1]: https://stackoverflow.com/questions/5026531/thread-name-longer-than-15-chars
* Fix warnings introduced in newer Rust NightlySimon Sapin2021-02-251-8/+4
| | | | | | | | | | | | This does not (yet) upgrade ./rust-toolchain The warnings: * dead_code "field is never read" * redundant_semicolons "unnecessary trailing semicolon" * non_fmt_panic "panic message is not a string literal, this is no longer accepted in Rust 2021" * unstable_name_collisions "a method with this name may be added to the standard library in the future" * legacy_derive_helpers "derive helper attribute is used before it is introduced" https://github.com/rust-lang/rust/issues/79202
* Add creation url and Secure ContextsJonathan Kingston2020-11-251-1/+8
|
* update keyboard-types cratePaul Rouget2020-06-291-1/+1
|
* Make url for "client" referrer mandatoryMatthias Deiml2020-06-172-1/+3
|
* More Cargo.toml updatesatouchet2020-05-311-8/+8
|
* Remove some unused dependency declarationsSimon Sapin2020-05-291-1/+0
| | | | | | This is based on compiling with `RUSTFLAGS="-W unused_crate_dependencies"` (CC https://github.com/rust-lang/rust/pull/72342) in a recent Nightly (more so than used in the tree as of this writing, CC https://github.com/servo/servo/issues/26661 for work-arounds). Only one crate is actually removed from the dependency graph, others are still dependended from other places.
* Update serde_json.Josh Matthews2020-04-231-2/+0
|
* Remove syn 0.15 from our crate graph (fixes #24421)Anthony Ramine2020-03-052-2/+2
| | | | | | | | | | This required bumps of: * gleam * image * rust-webvr * webrender * webxr
* Update ipc-channel and crossbeam-channel.Josh Matthews2020-02-201-2/+2
|
* move ConstellationMsg to compositingKunal Mohan2020-01-293-2/+5
|
* Update rand to 0.7 (fixes #24448)Anthony Ramine2019-10-231-1/+1
|
* Remove unused dependenciesShotaro Yamada2019-10-011-2/+0
|
* Auto merge of #24090 - georgeroman:implement_element_click_wd_command, r=jdmbors-servo2019-09-042-102/+150
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement ElementClick wd command <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- Either: --> - [X] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24090) <!-- Reviewable:end -->
| * Implement ElementClick wd commandGeorge Roman2019-08-312-102/+150
| |
* | Auto merge of #24058 - Eijebong:ipc-channel, r=jdmbors-servo2019-08-271-1/+1
|\ \ | |/ |/| | | | | | | | | | | Update ipc-channel and related dependencies <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24058) <!-- Reviewable:end -->
| * Update ipc-channel and related dependenciesBastien Orivel2019-08-271-1/+1
| |
* | Implement pointerMove webdriver actionGeorge Roman2019-08-222-19/+226
|/
* Auto merge of #23947 - georgeroman:finish_json_clone_functionality, r=jdmbors-servo2019-08-211-7/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Finish the JSON clone algorithm for WebDriver <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- Either: --> - [X] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23947) <!-- Reviewable:end -->
| * Finish the JSON clone algorithmGeorge Roman2019-08-211-7/+18
| |
* | use ipc router in webdriverGregory Terzian2019-08-201-27/+40
|/
* Implement TakeElementScreenshot WebDriver commandGeorge Roman2019-08-202-8/+48
|
* Auto merge of #23951 - ↵bors-servo2019-08-191-69/+25
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | georgeroman:return_errorstatus_from_webdriverhandlers, r=jdm Return ErrorStatus from webdriver_handlers <!-- Please describe your changes on the following line: --> With `webdriver 0.40`, `ErrorStatus` implements `Deserialize`. Now we can accommodate for multiple errors occuring in `webdriver_handlers`. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- Either: --> <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23951) <!-- Reviewable:end -->
| * Return ErrorStatus from webdriver_handlersGeorge Roman2019-08-181-69/+25
| |
* | Auto merge of #23988 - georgeroman:implement_pointer_up_and_down_actions, r=jdmbors-servo2019-08-181-27/+128
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement pointerDown and pointerUp webdriver actions <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23988) <!-- Reviewable:end -->
| * | Implement pointerDown and pointerUp webdriver actionsGeorge Roman2019-08-161-27/+128
| |/
* | Auto merge of #23838 - servo:url-2.0, r=Manishearthbors-servo2019-08-171-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the url crate to 2.0 Blocked on: * [x] https://github.com/housleyjk/ws-rs/pull/283 + undoing corresponding `[patch.crates-io]` entry Soft-blocked on: (we could add to the crate duplication allow-list instead) * [x] ~https://github.com/rust-windowing/winit/pull/1066~ - [x] https://github.com/rust-windowing/winit/pull/1076 * [x] https://github.com/servo/media/pull/288 * [ ] https://github.com/servo/webrender/pull/3720 * [x] https://github.com/gobwas/influent.rs/pull/22 * [ ] https://bugzilla.mozilla.org/show_bug.cgi?id=1568540 - [x] https://github.com/seanmonstar/warp/pull/260 - [ ] https://github.com/abonander/multipart/pull/121 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23838) <!-- Reviewable:end -->
| * | Update to url 2.0Simon Sapin2019-08-171-1/+1
| |/
* | Auto merge of #23979 - Eijebong:deps-deps-deps, r=jdmbors-servo2019-08-161-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Update webrender, image, png and raqote This will avoid duping png because of the raqote backend <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23979) <!-- Reviewable:end -->
| * Update webrender, image, png and raqoteBastien Orivel2019-08-161-1/+1
| | | | | | | | This will avoid duping png because of the raqote backend