mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Console message packets should have a '_type' attribute
This commit is contained in:
parent
3649a356c8
commit
088351469a
1 changed files with 2 additions and 2 deletions
|
@ -252,7 +252,7 @@ bitflags! {
|
||||||
|
|
||||||
#[derive(Deserialize, Serialize)]
|
#[derive(Deserialize, Serialize)]
|
||||||
pub struct PageError {
|
pub struct PageError {
|
||||||
#[serde(rename = "type")]
|
#[serde(rename = "_type")]
|
||||||
pub type_: String,
|
pub type_: String,
|
||||||
pub errorMessage: String,
|
pub errorMessage: String,
|
||||||
pub sourceName: String,
|
pub sourceName: String,
|
||||||
|
@ -270,7 +270,7 @@ pub struct PageError {
|
||||||
|
|
||||||
#[derive(Deserialize, Serialize)]
|
#[derive(Deserialize, Serialize)]
|
||||||
pub struct ConsoleAPI {
|
pub struct ConsoleAPI {
|
||||||
#[serde(rename = "type")]
|
#[serde(rename = "_type")]
|
||||||
pub type_: String,
|
pub type_: String,
|
||||||
pub level: String,
|
pub level: String,
|
||||||
pub filename: String,
|
pub filename: String,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue