Commit 206e5bf
worker: support relative paths
This commit adds support for relative paths in Worker.
Paths are relative to the current working directory.
PR-URL: #21407
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>1 parent 8f1aa3c commit 206e5bfCopy full SHA for 206e5bf
File tree
Expand file treeCollapse file tree
7 files changed
+64
-20
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal
- test/parallel
Expand file treeCollapse file tree
7 files changed
+64
-20
lines changedOpen diff view settings
Collapse file
+4-3Lines changed: 4 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1754 | 1754 | |
1755 | 1755 | |
1756 | 1756 | |
1757 | | - |
1758 | | - |
| 1757 | + |
| 1758 | + |
1759 | 1759 | |
1760 | | - |
| 1760 | + |
| 1761 | + |
1761 | 1762 | |
1762 | 1763 | |
1763 | 1764 | |
|
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
306 | 306 | |
307 | 307 | |
308 | 308 | |
309 | | - |
| 309 | + |
| 310 | + |
| 311 | + |
310 | 312 | |
311 | 313 | |
312 | 314 | |
|
Collapse file
+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
854 | 854 | |
855 | 855 | |
856 | 856 | |
857 | | - |
858 | | - |
| 857 | + |
| 858 | + |
| 859 | + |
859 | 860 | |
860 | 861 | |
861 | 862 | |
|
Collapse file
+9-3Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
| ||
212 | 212 | |
213 | 213 | |
214 | 214 | |
215 | | - |
216 | | - |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
217 | 221 | |
| 222 | + |
| 223 | + |
218 | 224 | |
219 | 225 | |
220 | 226 | |
|
Collapse file
test/parallel/test-worker-relative-path-double-dot.js
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
Collapse file
test/parallel/test-worker-relative-path.js
Copy file name to clipboard+15Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
Collapse file
test/parallel/test-worker-unsupported-path.js
Copy file name to clipboard+13-11Lines changed: 13 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | 8 | |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | 9 | |
20 | 10 | |
21 | 11 | |
| ||
25 | 15 | |
26 | 16 | |
27 | 17 | |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
0 commit comments