mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
expose a new script event that updates the is_online value stored in ScriptThread
Signed-off-by: TG <ebiritg@gmail.com>
This commit is contained in:
parent
f30c759c94
commit
fbcd90797c
2 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,7 @@ impl MixedMessage {
|
|||
ScriptThreadMessage::SetWebGPUPort(..) => None,
|
||||
ScriptThreadMessage::SetScrollStates(id, ..) => Some(*id),
|
||||
ScriptThreadMessage::EvaluateJavaScript(id, _, _) => Some(*id),
|
||||
ScriptThreadMessage::SetNetWorkState(..) => None,
|
||||
},
|
||||
MixedMessage::FromScript(inner_msg) => match inner_msg {
|
||||
MainThreadScriptMsg::Common(CommonScriptMsg::Task(_, _, pipeline_id, _)) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue