mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix ConsoleMsg in ConsoleAPICall for log messages in the Developer Tools web console.
This commit is contained in:
parent
4f32596cc6
commit
3830d8e3e1
3 changed files with 17 additions and 9 deletions
|
@ -123,6 +123,7 @@ impl Decodable for Modification {
|
|||
//TODO: Include options for Warn, Debug, Info, Error messages from Console
|
||||
#[derive(Clone)]
|
||||
pub enum ConsoleMessage {
|
||||
LogMessage(String),
|
||||
// Log: message, filename, line number, column number
|
||||
LogMessage(String, String, u32, u32),
|
||||
//WarnMessage(String),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue