Skip to content

Remove dependency on Debugger.CallFrame.url #1136

Closed
@bmeurer

Description

We are exploring the idea to deprecate the url field in Debugger.CallFrame, which is sent as part of Debugger.paused events. crbug/1270316 tracks this work. The motivation is that URLs can be costly (worst case we've seen so far is whole WebAssembly modules being served as Base64-encoded data:-URLs), and the information is

  1. redundant, since the location.scriptId on the same CallFrame let's the debugger front-end lookup the URL from Debugger.scriptParsed events, and
  2. potentially ambiguous, as the URL is not guaranteed to be unique (example of this is crbug/1270248).

Design doc with more context here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

debtCode quality issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions