Commit 6bbdc1a 1 parent aed8d00 commit 6bbdc1a Copy full SHA for 6bbdc1a
File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
import '../src/no-trapping-shim.js' ;
2
- // TODO make compat with ses and uncomment
3
- // import test from '@endo/ses-ava/prepare-endo.js';
4
- // instead of
5
- import test from 'ava' ;
2
+ import test from '@endo/ses-ava/prepare-endo.js' ;
6
3
7
4
const { freeze, isFrozen } = Object ;
8
5
Original file line number Diff line number Diff line change @@ -488,6 +488,9 @@ export const permitted = {
488
488
groupBy : fn ,
489
489
// Seen on QuickJS
490
490
__getClass : false ,
491
+ // https://github.com/endojs/endo/pull/2673
492
+ isNoTrapping : fn ,
493
+ suppressTrapping : fn ,
491
494
} ,
492
495
493
496
'%ObjectPrototype%' : {
@@ -1624,12 +1627,17 @@ export const permitted = {
1624
1627
set : fn ,
1625
1628
setPrototypeOf : fn ,
1626
1629
'@@toStringTag' : 'string' ,
1630
+ // https://github.com/endojs/endo/pull/2673
1631
+ isNoTrapping : fn ,
1632
+ suppressTrapping : fn ,
1627
1633
} ,
1628
1634
1629
1635
Proxy : {
1630
1636
// Properties of the Proxy Constructor
1631
1637
'[[Proto]]' : '%FunctionPrototype%' ,
1632
1638
revocable : fn ,
1639
+ // https://github.com/endojs/endo/pull/2673
1640
+ prototype : 'undefined' ,
1633
1641
} ,
1634
1642
1635
1643
// Appendix B
You can’t perform that action at this time.
0 commit comments