Skip to main content

console_table_arguments

Function console_table_arguments 

Source
fn console_table_arguments(
    registry: &ActorRegistry,
    arguments: Vec<DebuggerValue>,
) -> Vec<Value>
Expand description

Port of the message.level === "table" branch of Firefox’s prepareConsoleMessageForRemote: https://searchfox.org/firefox-main/source/devtools/server/actors/resources/console-messages.js

  • arguments[0].ownProperties holds the table rows (with one level of sub-properties),
  • arguments[0].preview is set to null,
  • only the first two arguments (data, columns) are sent.