Simon Sapin
2012be4a8b
cargo fix --edition-idioms
2018-11-08 09:28:00 +01:00
Pyfisch
9e92eb205a
Reorder imports
2018-11-06 22:35:07 +01:00
Pyfisch
cb07debcb6
Format remaining files
2018-11-06 22:30:31 +01:00
Simon Sapin
76e59a46d3
Sort use
statements
2018-11-06 15:26:02 +01:00
Simon Sapin
45f7199eee
cargo fix --edition
2018-11-06 15:26:02 +01:00
Bastien Orivel
024b40b39d
Update hyper to 0.12
2018-11-01 19:17:36 +01:00
chansuke
c37a345dc9
Format script component
2018-09-19 17:40:47 -04:00
Marcin Mielniczuk
356c57e628
Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393
2018-03-28 21:28:30 +02:00
Anthony Ramine
f87c2a8d76
Rename Root<T> to DomRoot<T>
...
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.
2017-09-26 09:49:10 +02:00
Anthony Ramine
0e3c54c191
Rename dom::bindings::js to dom::bindings::root
2017-09-26 02:19:05 +02:00
DarkDrek
53476f2397
Replace downcast with is
2017-08-02 21:51:17 +02:00
Nicolas Silva
8617320500
Bump euclid to 0.14.
2017-06-14 16:00:59 +02:00
Alan Jeffrey
79743b5358
Webdriver uses browsing context ids rather than pipeline ids.
2017-05-25 17:14:28 -05:00
Alan Jeffrey
607e011b05
Renamed constellation::Frame to constellation::BrowsingContext.
2017-05-15 21:03:11 -05:00
ddh
e527c9a991
Update Hyper and OpenSSL
2017-03-31 16:32:21 +02:00
Alan Jeffrey
1f61a549a3
Added some same-origin-domain checks.
2017-03-14 14:36:03 -05:00
Corey Farwell
77d2f9de36
Refactor and simplify 'set cookies' operations on resource thread.
2016-12-15 15:34:04 -05:00
Pu Xingyu
91f3d4f474
Remove redundant url clones
...
They are now redundant since now document.url() returns a struct rather
than a reference.
2016-11-18 12:39:22 +08:00
Emilio Cobos Álvarez
913c874cb5
Urlmageddon: Use refcounted urls more often.
2016-11-17 18:34:23 +01:00
Alan Jeffrey
90e9c910f4
Replace script thread root browsing context by a collection of documents.
2016-11-08 10:48:58 -06:00
Anthony Ramine
9c04eb60bd
Move JS evaluation functions to GlobalScope
2016-10-06 21:35:50 +02:00
Anthony Ramine
bad49e4696
Introduce GlobalScope::resource_threads
2016-10-06 21:35:46 +02:00
Anthony Ramine
27f100b1d4
Introduce GlobalScope::pipeline_id
2016-10-06 20:59:13 +02:00
Anthony Ramine
dd5c527689
Replace ScriptHelpers by GlobalRef methods
2016-10-03 11:42:21 +02:00
Aneesh Agrawal
9d097e7d15
Use fn pipeline_id consistently, not fn pipeline
...
Consistently use the name 'pipeline_id' to refer to a function that
returns an (optional) PipelineId.
This was prompted by discovering both fn pipeline and fn pipeline_id
doing the same job in htmliframeelement.rs.
Note that there is fn pipeline in components/compositing/compositor.rs,
but that actually returns an Option<&CompositionPipeline>, not any kind
of PipelineId.
2016-09-13 15:17:40 -04:00
UK992
93a103ba73
Reorder use
statements
2016-09-09 04:55:19 +02:00
Guillaume Gomez
2f3f4a5bd6
Update rust-mozjs dependency
2016-08-24 12:56:49 +02:00
Anthony Ramine
7ad51dcd7a
Update serde to 0.8 ( fixes #12659 )
2016-08-12 18:37:27 +02:00
David Raifaizen
2475dc1d21
Removed some sources of panic from script thread and devtools, using Option values instead to indicate when a pipeline context is missing where appropriate. Additionally, removed erroneous method get_browsing_context.
2016-07-25 22:28:04 -04:00
Ms2ger
77caf83098
Move webdriver_msg to script_traits.
2016-07-05 09:02:46 +02:00
Travis Dean
6642358217
Add style check, test, and code fixes for an else brace check.
2016-07-04 18:38:13 -04:00
Eduard Burtescu
0db1faf876
Switch to using the new rooted!/RootedGuard API for rooting.
2016-07-04 20:59:01 +03:00
Dan Robertson
246723114f
Use common cookie struct add cookie webdriver cmds
...
One cookie struct to rule them all. One struct to represent them.
One cookie struct to bind them all, and through the IPC carry them.
2016-06-25 22:24:35 +00:00
Jansen Jan
fda011923e
Support WindowProxy return values in bindings
...
unscopable
2016-06-09 23:42:27 +02:00
Anthony Ramine
cdc7bca944
Move DOMString back to script
...
This entirely removes the 'non-geckolib' feature of the util crate.
2016-05-24 10:54:57 +02:00
Alan Jeffrey
3962ffc501
Added a timeout to SetWindowSize.
2016-05-20 09:20:45 -05:00
Alan Jeffrey
e2203f81d3
Made SetWindowSize synchronous.
2016-05-20 09:20:45 -05:00
Alan Jeffrey
5acf0f9a05
Implemented webdriver SetWindowSize.
2016-05-20 09:20:44 -05:00
Connor Brewster
9efd214b1e
removed instances of &Root<BrowsingContext>
2016-05-11 13:21:16 -06:00
Connor Brewster
cbc5ca65a8
remove page and move functionality to browing context
...
Allow for adding history items
Fixed nested iframe test failure
Cleanup and small refactors
fixup
2016-05-11 12:46:59 -06:00
Corey Farwell
11a3ce1257
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
2016-04-10 22:49:35 -04:00
Corey Farwell
bf4db405e4
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
2016-03-31 21:12:38 -04:00
Daniel Robertson
cad3115708
find_node_by_unique_id should use find
...
find_node_by_unique_id should use find instead of for-loop
2016-02-24 11:41:51 -05:00
Daniel Robertson
83b2388ef4
Implement GetElementRect webdriver command
...
Implement the webdriver Get Element Rect command
2016-02-24 11:41:42 -05:00
rohan.prinja
1f02c4ebbb
task -> thread
2016-01-10 17:58:13 +09:00
Johannes Linke
6b215f38ee
Fix a bunch of clippy lints
2016-01-02 23:27:15 +01:00
David Raifaizen
8d451076e1
Removed duplicate webdriver_traits file and added webdriver handler for GetWindowSize, IsSelected and IsEnabled
2015-11-29 15:48:23 -05:00
James Graham
f7258e4fcc
Add support for getting an element's computed style through WebDriver.
2015-11-20 13:23:38 +00:00
James Graham
6446cc3db8
Implement Get Element Attribute WebDriver command
2015-11-18 11:52:05 +00:00
James Graham
09b9293b09
Implement support for WebDriver send keys command.
...
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.
2015-11-16 22:48:26 +00:00