aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/webdriver_handlers.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix some clippy warnings in `components/script/webdriver_handlers.rs` (#31784)Tumuhairwe2024-03-221-51/+46
| | | | | | | | | * Fixed some clippy warnings in components/script/webdriver_handlers.rs * Updated fixes for clippy warnings in components/script/webdriver_handlers.rs * Updated the formatting of components/script/webdriver_handlers.rs * Updated components/script/webdriver_handler.rs to fix some clippy warnings.
* clippy: Fix dereferenced warnings (#31770)Oluwatobi Sofela2024-03-201-2/+2
|
* clippy: Fix warnings in `components/script` (#31700)Richard Dushime2024-03-151-5/+5
| | | | | * Fix warnings: immediate dereferencing of references and unneeded statement * Fix warnings in Components/script
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-27/+25
| | | | | * strict imports formatting * Reformat all imports
* Support arbitrary protos when wrapping DOM objects with constructors.Josh Matthews2023-05-281-1/+1
|
* Update mozjs to 0.14.1Sudarsan2020-08-281-2/+2
| | | | | | | This update pulls in improvements on mozjs that now removes the need to pass pointers to CompileOptionsWraper::new(), allows NewProxyObject to now accept a Singleton bool and JSClass and removes an unsafe Handle::new usage.
* Set private reference for classic scriptCYBAI2020-07-181-6/+15
| | | | | | | | | | | | 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.
* Update SpiderMonkeyAnthony Ramine2020-03-061-1/+5
|
* Modify `script` to prevent further violations of snake_caseKunal Mohan2020-01-181-4/+4
|
* Implement ElementClick wd commandGeorge Roman2019-08-311-31/+135
|
* Implement pointerMove webdriver actionGeorge Roman2019-08-221-0/+51
|
* Finish the JSON clone algorithmGeorge Roman2019-08-211-29/+107
|
* Implement TakeElementScreenshot WebDriver commandGeorge Roman2019-08-201-0/+25
|
* Return ErrorStatus from webdriver_handlersGeorge Roman2019-08-181-321/+375
|
* Add support for returning array-like types from the Execute(Async)Script wd ↵George Roman2019-08-101-7/+64
| | | | command
* Use safe JSContext as first argument for throw_dom_exceptionmarmeladema2019-08-091-1/+1
|
* Modify *::get_cx methods to return a safe JSContext instead of a raw onemarmeladema2019-07-241-7/+7
|
* Auto merge of #23745 - ↵bors-servo2019-07-231-1/+40
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | georgeroman:implement_get_element_property_wd_command, r=jdm Implement GetElementProperty 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/23745) <!-- Reviewable:end -->
| * Implement GetElementProperty WebDriver commandGeorge Roman2019-07-231-1/+40
| |
* | Update euclid.Emilio Cobos Álvarez2019-07-231-1/+1
| | | | | | | | | | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
* | Implement link and partial link text selectors for FindElement and related ↵George Roman2019-07-231-0/+101
| | | | | | | | WebDriver commands
* | Implement tag name selector for FindElementsFromElement WebDriver commandGeorge Roman2019-07-211-2/+24
| |
* | Implement tag name selector for FindElementFromElement WebDriver commandGeorge Roman2019-07-211-0/+20
| |
* | Implement tag name selector for FindElements WebDriver commandGeorge Roman2019-07-211-0/+19
| |
* | Implement tag name selector for FindElement WebDriver commandGeorge Roman2019-07-211-0/+19
|/
* Implement GetPageSource WebDriver commandGeorge Roman2019-06-171-0/+27
|
* Fix already borrowed error in webdriverGeorge Roman2019-06-101-30/+29
|
* Auto merge of #23171 - hundredeir:find_elem_elems, r=jdmbors-servo2019-05-191-0/+22
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add webdriver command "Find elements from Element" --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- 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/23171) <!-- Reviewable:end -->
| * Formatted codehundredeir2019-04-071-4/+5
| |
| * Add webdriver command Find elements from elementhundredeir2019-04-061-0/+21
| |
* | 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
| |
* | Add webdriver deletecookies functionaditj2019-04-191-1/+22
|/
* Implement WebDriver FindElementFromElement commandGeorge Roman2019-03-091-0/+17
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-4/+4
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-1/+1
|
* Reorder importsPyfisch2018-11-061-4/+8
|
* Format remaining filesPyfisch2018-11-061-13/+26
|
* Sort `use` statementsSimon Sapin2018-11-061-1/+1
|
* `cargo fix --edition`Simon Sapin2018-11-061-21/+21
|
* Update hyper to 0.12Bastien Orivel2018-11-011-1/+5
|
* Format script componentchansuke2018-09-191-235/+331
|
* Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393Marcin Mielniczuk2018-03-281-1/+2
|
* 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
|
* Replace downcast with isDarkDrek2017-08-021-1/+1
|
* Bump euclid to 0.14.Nicolas Silva2017-06-141-3/+1
|
* Webdriver uses browsing context ids rather than pipeline ids.Alan Jeffrey2017-05-251-7/+8
|
* Renamed constellation::Frame to constellation::BrowsingContext.Alan Jeffrey2017-05-151-4/+4
|