From a1c1ddff749ad137733eeaa785a075504ff4d29e Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sun, 6 Mar 2011 10:56:31 -0500 Subject: [PATCH] IE6 was blowing up on getter/setter test --- test/test-member_builder-gettersetter.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test-member_builder-gettersetter.js b/test/test-member_builder-gettersetter.js index 4fe908c..a6c037d 100644 --- a/test/test-member_builder-gettersetter.js +++ b/test/test-member_builder-gettersetter.js @@ -22,6 +22,12 @@ * @package test */ +// no need to test getters/setters in browsers that do not support them +if ( !Object.defineProperty ) +{ + return; +} + var common = require( './common' ), assert = require( 'assert' ),