Skip to content

Commit c22eb38

Browse files
author
Kristján Oddsson
authored
Re-enable some webkit tests (#1580)
1 parent 33a4408 commit c22eb38

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

test/should.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3190,9 +3190,7 @@ describe('should', function() {
31903190
false.should.be.extensible;
31913191
}, 'expected false to be extensible');
31923192

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') {
31963194
var proxy = new Proxy({}, {
31973195
isExtensible: function() {
31983196
throw new TypeError();
@@ -3203,7 +3201,7 @@ describe('should', function() {
32033201
// .extensible should not suppress errors, thrown in proxy traps
32043202
proxy.should.be.extensible;
32053203
}, { name: 'TypeError' });
3206-
}*/
3204+
}
32073205
});
32083206

32093207
it('sealed', function() {
@@ -3242,9 +3240,7 @@ describe('should', function() {
32423240
false.should.not.be.sealed;
32433241
}, 'expected false to not be sealed');
32443242

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') {
32483244
var proxy = new Proxy({}, {
32493245
ownKeys: function() {
32503246
throw new TypeError();
@@ -3258,7 +3254,7 @@ describe('should', function() {
32583254
// .sealed should not suppress errors, thrown in proxy traps
32593255
proxy.should.be.sealed;
32603256
}, { name: 'TypeError' });
3261-
}*/
3257+
}
32623258
});
32633259

32643260
it('frozen', function() {
@@ -3297,9 +3293,7 @@ describe('should', function() {
32973293
false.should.not.be.frozen;
32983294
}, 'expected false to not be frozen');
32993295

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') {
33033297
var proxy = new Proxy({}, {
33043298
ownKeys: function() {
33053299
throw new TypeError();
@@ -3313,6 +3307,6 @@ describe('should', function() {
33133307
// .frozen should not suppress errors, thrown in proxy traps
33143308
proxy.should.be.frozen;
33153309
}, { name: 'TypeError' });
3316-
}*/
3310+
}
33173311
});
33183312
});

0 commit comments

Comments
 (0)