Index: test/mjsunit/unusual-constructor.js |
=================================================================== |
--- test/mjsunit/unusual-constructor.js (revision 4535) |
+++ test/mjsunit/unusual-constructor.js (working copy) |
@@ -25,12 +25,9 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-var obj = new (Function.__proto__)(); |
- |
- |
var threw = false; |
try { |
- obj.toString(); |
+ var obj = new (Function.__proto__)(); |
} catch (e) { |
assertInstanceof(e, TypeError); |
threw = true; |