servo/python
atbrakhi 7a801f0ef5
DevTools: Implement support for showing source_content in Debugger > Source panel (#36774)
This patch adds support for showing source_content in `Debugger >
Source` panel. This works by handling the clients `source` messages in
the source actor. These source actors are already advertised as resource
via the watcher, populating the source list. We also update the
`sources` handler in thread actor for future work in thread debugging.

Note: while this PR also adds support for showing worker script
source_content, worker has been broken (See
https://github.com/servo/servo/issues/37012). I was able to confirm the
`content_type` and `source_content` for worker script in logs.


![image](https://github.com/user-attachments/assets/bd53ea29-003a-4b5e-a3e8-6e280afa4671)

Fixes: part of https://github.com/servo/servo/issues/36027

---------

Signed-off-by: atbrakhi <atbrakhi@igalia.com>
2025-06-13 09:31:33 +00:00
..
mach change terminal wrapper library from blessing to blessed to support running mach test-wpt on windows. (#35327) 2025-02-06 16:45:34 +00:00
servo DevTools: Implement support for showing source_content in Debugger > Source panel (#36774) 2025-06-13 09:31:33 +00:00
tidy Use ruff to enforce python code formatting (#37117) 2025-05-26 11:54:43 +00:00
wpt tests: Use Ahem font provided by WPT harness. (#37054) 2025-06-09 08:13:05 +00:00
mach_bootstrap.py Use ruff to enforce python code formatting (#37117) 2025-05-26 11:54:43 +00:00
README.md use ruff rather than flake8 for python code linting (#37045) 2025-05-24 14:19:47 +00:00
requirements.txt use ruff rather than flake8 for python code linting (#37045) 2025-05-24 14:19:47 +00:00

This directory contains various Python modules used to support servo development.

servo

servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.

tidy

servo-tidy is used to check licenses, line lengths, whitespace, ruff on Python files, lock file versions, and more.

wpt

servo-wpt is a module with support scripts for running, importing, exporting, updating manifests, and updating expectations for WPT tests.