mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
UWP: clear console when navigating pages.
This commit is contained in:
parent
bd8c7d6f4d
commit
c7f5d8a266
4 changed files with 10 additions and 1 deletions
|
@ -133,7 +133,9 @@ void DevtoolsClient::HandleMessage(JsonObject obj) {
|
|||
// Ignore
|
||||
return;
|
||||
} else if (obj.GetNamedString(L"type") == L"tabNavigated") {
|
||||
// Ignore
|
||||
if (obj.HasKey(L"state") && obj.GetNamedString(L"state") == L"stop") {
|
||||
mDelegate.ClearConsole();
|
||||
}
|
||||
return;
|
||||
} else if (obj.GetNamedString(L"type") == L"networkEventUpdate") {
|
||||
// FIXME: log if there is a non-200 HTTP response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue