diff options
author | delan azabani <dazabani@igalia.com> | 2025-05-07 18:43:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-07 10:43:18 +0000 |
commit | 68a76baea3ae2bf81edb2b5f8387c41fc9764633 (patch) | |
tree | 6e05198630db596ebec743b0bcf9b06e28094f17 /python/servo/devtools_tests/sources/test.html | |
parent | 23c327a988442e1df7b9b62932d540532b86de58 (diff) | |
download | servo-68a76baea3ae2bf81edb2b5f8387c41fc9764633.tar.gz servo-68a76baea3ae2bf81edb2b5f8387c41fc9764633.zip |
Devtools: add automated test for Debugger > Sources (#36401)
This patch adds our first automated test for devtools, covering the
changes in #36164. These tests are not run in CI yet, but you can run
them as follows:
```sh
$ ./mach build --release
$ ./mach test-devtools
```
Testing: this patch adds automated tests!
Start of: #36325
---------
Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: atbrakhi <atbrakhi@igalia.com>
Co-authored-by: Aria Edmonds <aria@ar1as.space>
Diffstat (limited to 'python/servo/devtools_tests/sources/test.html')
-rw-r--r-- | python/servo/devtools_tests/sources/test.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/python/servo/devtools_tests/sources/test.html b/python/servo/devtools_tests/sources/test.html new file mode 100644 index 00000000000..b8e1aa0e334 --- /dev/null +++ b/python/servo/devtools_tests/sources/test.html @@ -0,0 +1,11 @@ +<!doctype html><meta charset=utf-8> +<script src="classic.js"></script> +<script> + console.log("inline classic"); + new Worker("worker.js"); +</script> +<script type="module"> + import module from "./module.js"; + console.log("inline module"); +</script> +<script src="https://servo.org/js/load-table.js"></script> |