mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Introduce a script::test module to expose the APIs needed for unit tests.
This commit is contained in:
parent
b843be4975
commit
86d59212fe
5 changed files with 68 additions and 22 deletions
|
@ -13,7 +13,7 @@ use msg::constellation_msg::CONTROL;
|
|||
#[cfg(target_os = "macos")]
|
||||
use msg::constellation_msg::SUPER;
|
||||
use script::clipboard_provider::DummyClipboardContext;
|
||||
use script::dom::bindings::str::DOMString;
|
||||
use script::test::DOMString;
|
||||
use script::textinput::{TextInput, TextPoint, Selection, Lines, Direction, SelectionDirection};
|
||||
|
||||
fn text_input(lines: Lines, s: &str) -> TextInput<DummyClipboardContext> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue