mirror of
https://github.com/servo/servo.git
synced 2025-09-22 21:00:14 +01:00
Enable real DOM inspector support.
This commit is contained in:
parent
e9c4aa534d
commit
fa57fe890b
8 changed files with 265 additions and 94 deletions
|
@ -142,7 +142,7 @@ fn run_server(port: Receiver<DevtoolsControlMsg>) {
|
|||
let (tab, console, inspector) = {
|
||||
let console = ConsoleActor {
|
||||
name: actors.new_name("console"),
|
||||
script_chan: sender,
|
||||
script_chan: sender.clone(),
|
||||
pipeline: pipeline,
|
||||
};
|
||||
let inspector = InspectorActor {
|
||||
|
@ -150,6 +150,8 @@ fn run_server(port: Receiver<DevtoolsControlMsg>) {
|
|||
walker: RefCell::new(None),
|
||||
pageStyle: RefCell::new(None),
|
||||
highlighter: RefCell::new(None),
|
||||
script_chan: sender,
|
||||
pipeline: pipeline,
|
||||
};
|
||||
//TODO: send along the current page title and URL
|
||||
let tab = TabActor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue