Repository navigation
Commit 60c5400
committed
fix(webview): address review findings on view-state durability
- omit viewStates (host-minted claim tokens) from settings export
- keep a pre-launch selection when registration re-keys onto an existing stable entry
- narrow saveViewState keys to the durable per-view subset
- skip rollback when another provider wrote a newer shared value
- restore the ContextProxy cache when globalState.update rejects
- clarify that the claim is enforced by setViewStateId; launch wiring follows1 parent c3595a1 commit 60c5400
4 files changed
Lines changed: 53 additions & 5 deletions
File tree
- packages/types/src
- src/core
- config
- webview
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | | - | |
685 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
686 | 688 | | |
687 | 689 | | |
688 | 690 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
151 | 158 | | |
152 | 159 | | |
153 | 160 | | |
| |||
771 | 778 | | |
772 | 779 | | |
773 | 780 | | |
774 | | - | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
775 | 784 | | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
776 | 794 | | |
777 | 795 | | |
778 | 796 | | |
| |||
5119 | 5137 | | |
5120 | 5138 | | |
5121 | 5139 | | |
5122 | | - | |
| 5140 | + | |
5123 | 5141 | | |
5124 | | - | |
| 5142 | + | |
5125 | 5143 | | |
5126 | 5144 | | |
5127 | 5145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3845 | 3845 | | |
3846 | 3846 | | |
3847 | 3847 | | |
| 3848 | + | |
| 3849 | + | |
| 3850 | + | |
| 3851 | + | |
| 3852 | + | |
| 3853 | + | |
| 3854 | + | |
| 3855 | + | |
| 3856 | + | |
| 3857 | + | |
| 3858 | + | |
| 3859 | + | |
| 3860 | + | |
| 3861 | + | |
| 3862 | + | |
| 3863 | + | |
| 3864 | + | |
| 3865 | + | |
| 3866 | + | |
| 3867 | + | |
| 3868 | + | |
| 3869 | + | |
| 3870 | + | |
| 3871 | + | |
| 3872 | + | |
3848 | 3873 | | |
3849 | 3874 | | |
3850 | 3875 | | |
| |||
0 commit comments