Commit 5e139e9
[api] Introduce v8::Object::GetPrototypeV2()/SetPrototypeV2()
... as a replacement for soon to be deprecated
v8::Object::GetPrototype() and v8::Object::SetPrototype().
The new versions will act just like getting/setting of "__proto__"
property, i.e. they will never return or accept JSGlobalObject.
This is a first step towards never exposing so-called hidden prototype
(i.e. JSGlobalObject) via the V8 Api. This will make the JSGlobalObject
a V8 internal thing and make the V8 Api closer to JavaScript spec.
Bug: chromium:333672197
Change-Id: Ic850d6a041f443392586b868eccde637ded801d3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5447696
Commit-Queue: Igor Sheludko <[email protected]>
Reviewed-by: Leszek Swirski <[email protected]>
Cr-Commit-Position: refs/heads/main@{#93325}1 parent 43dc92e commit 5e139e9
3 files changed
Lines changed: 72 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
436 | 440 | | |
437 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
438 | 450 | | |
439 | 451 | | |
440 | 452 | | |
441 | 453 | | |
442 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
443 | 459 | | |
444 | 460 | | |
445 | 461 | | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
446 | 471 | | |
447 | 472 | | |
448 | 473 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4737 | 4737 | | |
4738 | 4738 | | |
4739 | 4739 | | |
4740 | | - | |
4741 | | - | |
4742 | | - | |
| 4740 | + | |
4743 | 4741 | | |
| 4742 | + | |
| 4743 | + | |
| 4744 | + | |
| 4745 | + | |
| 4746 | + | |
| 4747 | + | |
| 4748 | + | |
| 4749 | + | |
| 4750 | + | |
| 4751 | + | |
| 4752 | + | |
| 4753 | + | |
| 4754 | + | |
| 4755 | + | |
| 4756 | + | |
| 4757 | + | |
4744 | 4758 | | |
| 4759 | + | |
| 4760 | + | |
| 4761 | + | |
4745 | 4762 | | |
4746 | 4763 | | |
4747 | 4764 | | |
4748 | 4765 | | |
4749 | 4766 | | |
4750 | 4767 | | |
4751 | 4768 | | |
4752 | | - | |
| 4769 | + | |
4753 | 4770 | | |
4754 | 4771 | | |
4755 | 4772 | | |
4756 | 4773 | | |
| 4774 | + | |
| 4775 | + | |
| 4776 | + | |
4757 | 4777 | | |
4758 | 4778 | | |
4759 | | - | |
| 4779 | + | |
4760 | 4780 | | |
4761 | 4781 | | |
4762 | 4782 | | |
4763 | 4783 | | |
4764 | 4784 | | |
| 4785 | + | |
| 4786 | + | |
| 4787 | + | |
| 4788 | + | |
| 4789 | + | |
| 4790 | + | |
| 4791 | + | |
| 4792 | + | |
| 4793 | + | |
| 4794 | + | |
| 4795 | + | |
| 4796 | + | |
| 4797 | + | |
| 4798 | + | |
4765 | 4799 | | |
4766 | 4800 | | |
4767 | 4801 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
0 commit comments