Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lib/debug/server_cdp.rb
Co-authored-by: Stan Lo <stan001212@gmail.com>
  • Loading branch information
ono-max and st0012 committed Jan 29, 2024
commit 01bef21062189f97c678798bc560639e81a72992
8 changes: 2 additions & 6 deletions lib/debug/server_cdp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -489,12 +489,8 @@ def process
id: SecureRandom.hex
when 'Runtime.terminateExecution'
send_response req
if SESSION.in_subsession?
@q_msg << 'kill!'
else
@q_msg << 'kill!'
pause
end
@q_msg << 'kill!'
pause unless SESSION.in_subsession?
when 'Page.startScreencast', 'Emulation.setTouchEmulationEnabled', 'Emulation.setEmitTouchEventsForMouse',
'Runtime.compileScript', 'Page.getResourceContent', 'Overlay.setPausedInDebuggerMessage',
'Runtime.releaseObjectGroup', 'Runtime.discardConsoleEntries', 'Log.clear', 'Runtime.runIfWaitingForDebugger'
Expand Down