Lynx

Component

This page documents the Component CDP domain supported by Lynx DevTool.

Experimental reference

This generated reference is still being completed.

  • CDP events are not included yet.
  • Some Lynx extensions are listed but do not yet have detailed documentation.
  • Method descriptions are not automatically verified against the implementation and may be incomplete or inaccurate.

Verify behavior against the implementation and the linked upstream CDP reference before relying on it.

Overview

  • Scope: global-and-instance
  • CDP domain: Lynx-specific

Lynx Extensions

Component.uselessUpdate

Echoes a Component.uselessUpdate message with the request params.

  • Origin: lynx-extension
  • Source: devtool/lynx_devtool/agent/domain_agent/inspector_component_agent.cc
Parameters
NameTypeRequiredDescription
paramsobjectNoOpaque payload copied from the request params field into the outgoing Component.uselessUpdate message.
Returns

No return fields.

Events
  • Component.uselessUpdate
Notes
  • The handler does not send a normal CDP response with id and result fields.
  • The outgoing CDP message has method Component.uselessUpdate and params copied from the request.
  • The native implementation does not inspect or validate the params payload.
Examples

Echo a component update payload

Request:

{
  "id": 1,
  "method": "Component.uselessUpdate",
  "params": {
    "componentId": "comp-1",
    "reason": "debug"
  }
}

Response:

{
  "method": "Component.uselessUpdate",
  "params": {
    "componentId": "comp-1",
    "reason": "debug"
  }
}
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.