Make wsd aware of LOK_CALLBACK_CORE_LOG callback

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: Ief478ba97ac33f386d7b09aa551168e2c05259de
pull/7657/head
Marco Cecchetti 2023-11-02 12:44:20 +01:00 committed by Marco Cecchetti
parent ed8f95c1bc
commit 4dfe164f3f
2 changed files with 6 additions and 0 deletions

View File

@ -3165,6 +3165,11 @@ void ChildSession::loKitCallback(const int type, const std::string& payload)
sendTextFrame("a11yselectionchanged: " + payload);
break;
}
case LOK_CALLBACK_CORE_LOG:
{
sendTextFrame("corelog: " + payload);
break;
}
default:
LOG_ERR("Unknown callback event (" << lokCallbackTypeToString(type) << "): " << payload);
}

View File

@ -268,6 +268,7 @@ void HTTPWSTest::testInactiveClient()
// expected.
LOK_ASSERT_MESSAGE("unexpected message: " + msg,
token == "a11yfocuschanged:" ||
token == "corelog:" ||
token == "cursorvisible:" ||
token == "graphicselection:" ||
token == "graphicviewselection:" ||