Commit f7c4015
bootstrap: consolidate global properties definition
`globalThis.process` and `globalThis.Buffer` has been re-defined with
a getter/setter pair.
`atob` and `bota` are defined as enumerable properties according to
WebIDL definition.
PR-URL: #43357
Refs: #26882
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>1 parent 41955e5 commit f7c4015Copy full SHA for f7c4015
File tree
Expand file treeCollapse file tree
4 files changed
+33
-65
lines changedOpen diff view settings
Filter options
- lib/internal/bootstrap
- test/parallel
Expand file treeCollapse file tree
4 files changed
+33
-65
lines changedOpen diff view settings
Collapse file
lib/internal/bootstrap/browser.js
Copy file name to clipboardExpand all lines: lib/internal/bootstrap/browser.js+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
65 | 65 | |
66 | 66 | |
67 | 67 | |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
68 | 75 | |
69 | 76 | |
70 | 77 | |
|
Collapse file
lib/internal/bootstrap/node.js
Copy file name to clipboardExpand all lines: lib/internal/bootstrap/node.js+24-35Lines changed: 24 additions & 35 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | | - |
49 | 48 | |
50 | 49 | |
51 | 50 | |
| ||
377 | 376 | |
378 | 377 | |
379 | 378 | |
380 | | - |
| 379 | + |
| 380 | + |
| 381 | + |
| 382 | + |
| 383 | + |
381 | 384 | |
382 | 385 | |
383 | | - |
| 386 | + |
| 387 | + |
| 388 | + |
| 389 | + |
| 390 | + |
| 391 | + |
384 | 392 | |
385 | | - |
386 | | - |
| 393 | + |
387 | 394 | |
388 | 395 | |
389 | 396 | |
| ||
399 | 406 | |
400 | 407 | |
401 | 408 | |
402 | | - |
403 | 409 | |
404 | | - |
405 | | - |
406 | 410 | |
407 | 411 | |
408 | 412 | |
| ||
411 | 415 | |
412 | 416 | |
413 | 417 | |
414 | | - |
415 | | - |
416 | | - |
417 | | - |
418 | | - |
419 | | - |
420 | | - |
421 | | - |
422 | | - |
423 | | - |
424 | | - |
425 | | - |
426 | | - |
427 | | - |
428 | | - |
429 | | - |
430 | | - |
431 | | - |
432 | | - |
433 | | - |
434 | | - |
| 418 | + |
| 419 | + |
| 420 | + |
| 421 | + |
| 422 | + |
| 423 | + |
| 424 | + |
| 425 | + |
435 | 426 | |
436 | | - |
437 | | - |
438 | | - |
439 | | - |
440 | | - |
441 | | - |
| 427 | + |
| 428 | + |
442 | 429 | |
| 430 | + |
| 431 | + |
443 | 432 | |
444 | 433 | |
Collapse file
lib/internal/bootstrap/pre_execution.js
Copy file name to clipboardExpand all lines: lib/internal/bootstrap/pre_execution.js-30Lines changed: 0 additions & 30 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
27 | 26 | |
28 | 27 | |
29 | 28 | |
| ||
408 | 407 | |
409 | 408 | |
410 | 409 | |
411 | | - |
412 | | - |
413 | | - |
414 | | - |
415 | | - |
416 | | - |
417 | | - |
418 | | - |
419 | | - |
420 | | - |
421 | | - |
422 | | - |
423 | | - |
424 | | - |
425 | | - |
426 | | - |
427 | | - |
428 | | - |
429 | | - |
430 | | - |
431 | | - |
432 | | - |
433 | | - |
434 | | - |
435 | | - |
436 | | - |
437 | | - |
438 | | - |
439 | | - |
440 | 410 | |
441 | 411 | |
442 | 412 | |
|
Collapse file
test/parallel/test-global.js
Copy file name to clipboardExpand all lines: test/parallel/test-global.js+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
| 52 | + |
| 53 | + |
52 | 54 | |
53 | 55 | |
54 | 56 | |
|
0 commit comments