@@ -3190,9 +3190,7 @@ describe('should', function() {
3190
3190
false . should . be . extensible ;
3191
3191
} , 'expected false to be extensible' ) ;
3192
3192
3193
- // A bug in Safari 10 causes the below test to fail. It can be re-enabled
3194
- // once the bug is fixed. See https://github.com/chaijs/chai/issues/855.
3195
- /*if (typeof Proxy === 'function') {
3193
+ if ( typeof Proxy === 'function' ) {
3196
3194
var proxy = new Proxy ( { } , {
3197
3195
isExtensible : function ( ) {
3198
3196
throw new TypeError ( ) ;
@@ -3203,7 +3201,7 @@ describe('should', function() {
3203
3201
// .extensible should not suppress errors, thrown in proxy traps
3204
3202
proxy . should . be . extensible ;
3205
3203
} , { name : 'TypeError' } ) ;
3206
- }*/
3204
+ }
3207
3205
} ) ;
3208
3206
3209
3207
it ( 'sealed' , function ( ) {
@@ -3242,9 +3240,7 @@ describe('should', function() {
3242
3240
false . should . not . be . sealed ;
3243
3241
} , 'expected false to not be sealed' ) ;
3244
3242
3245
- // A bug in Safari 10 causes the below test to fail. It can be re-enabled
3246
- // once the bug is fixed. See https://github.com/chaijs/chai/issues/855.
3247
- /*if (typeof Proxy === 'function') {
3243
+ if ( typeof Proxy === 'function' ) {
3248
3244
var proxy = new Proxy ( { } , {
3249
3245
ownKeys : function ( ) {
3250
3246
throw new TypeError ( ) ;
@@ -3258,7 +3254,7 @@ describe('should', function() {
3258
3254
// .sealed should not suppress errors, thrown in proxy traps
3259
3255
proxy . should . be . sealed ;
3260
3256
} , { name : 'TypeError' } ) ;
3261
- }*/
3257
+ }
3262
3258
} ) ;
3263
3259
3264
3260
it ( 'frozen' , function ( ) {
@@ -3297,9 +3293,7 @@ describe('should', function() {
3297
3293
false . should . not . be . frozen ;
3298
3294
} , 'expected false to not be frozen' ) ;
3299
3295
3300
- // A bug in Safari 10 causes the below test to fail. It can be re-enabled
3301
- // once the bug is fixed. See https://github.com/chaijs/chai/issues/855.
3302
- /*if (typeof Proxy === 'function') {
3296
+ if ( typeof Proxy === 'function' ) {
3303
3297
var proxy = new Proxy ( { } , {
3304
3298
ownKeys : function ( ) {
3305
3299
throw new TypeError ( ) ;
@@ -3313,6 +3307,6 @@ describe('should', function() {
3313
3307
// .frozen should not suppress errors, thrown in proxy traps
3314
3308
proxy . should . be . frozen ;
3315
3309
} , { name : 'TypeError' } ) ;
3316
- }*/
3310
+ }
3317
3311
} ) ;
3318
3312
} ) ;
0 commit comments