From 22d15e7bf2bebcd37451d12ddaac6cb61bd3fe41 Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Mon, 12 Apr 2010 23:48:06 -0700 Subject: [PATCH] This test doesn't need to open a new window. (May 'fix' orange bug 558581.) --- js/src/tests/js1_5/Regress/regress-351116.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/js/src/tests/js1_5/Regress/regress-351116.js b/js/src/tests/js1_5/Regress/regress-351116.js index 361b22ef57c7..4820aa3c283a 100644 --- a/js/src/tests/js1_5/Regress/regress-351116.js +++ b/js/src/tests/js1_5/Regress/regress-351116.js @@ -52,12 +52,9 @@ function test() printBugNumber(BUGNUMBER); printStatus (summary); - var f = function (s) { function s() { } } + var f = function (s) { function s() { } }; - if (typeof window != 'undefined') - { - window.open('javascript:function (s) { function s() { } }'); - } + function g(s) { function s() { } } reportCompare(expect, actual, summary);