Skip to content

Devtools: Fix url parsing for worker urls #36727

@atbrakhi

Description

@atbrakhi

Currently after #36562 top-level url looks like this in the source panel:

Example 1:

Image

Example 2:

Image

See the top level url,
For example 1: blob:https://charming.daz.cat/f7974aee-8918-443b-9e60-012f2987de6f

and for example 2:
thread 1: blob:http://127.0.0.1:3000/a2d509c4-8992-4d48-8233-65b09cfea00c
thread 2: http://localhost:3000/worker.js

Ideally top level url should be:
For example 1: f7974aee-8918-443b-9e60-012f2987de6f

and for example 2:
thread 1 top-level url: a2d509c4-8992-4d48-8233-65b09cfea00c
thread 2 top-level url: worker.js

Functionality wise, this is not an issue and it works fine, but we need to investigate parsing of the display url

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions