mirror of
https://github.com/servo/servo.git
synced 2025-07-21 14:23:41 +01:00
Prompt user before accepting incoming devtools connection
This commit is contained in:
parent
51f15a055e
commit
49376e3b31
6 changed files with 25 additions and 7 deletions
|
@ -356,8 +356,11 @@ where
|
|||
opts.profile_heartbeats,
|
||||
);
|
||||
let mem_profiler_chan = profile_mem::Profiler::create(opts.mem_profiler_period);
|
||||
|
||||
let debugger_chan = opts.debugger_port.map(|port| debugger::start_server(port));
|
||||
let devtools_chan = opts.devtools_port.map(|port| devtools::start_server(port));
|
||||
let devtools_chan = opts
|
||||
.devtools_port
|
||||
.map(|port| devtools::start_server(port, embedder_proxy.clone()));
|
||||
|
||||
let coordinates = window.get_coordinates();
|
||||
let device_pixel_ratio = coordinates.hidpi_factor.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue