| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
var gTestfile = 'regress-336100.js'; |
| 7 |
|
| 8 |
var BUGNUMBER = 336100; |
| 9 |
var summary = 'bug 336100 - arguments regressed'; |
| 10 |
var actual = ''; |
| 11 |
var expect; |
| 12 |
|
| 13 |
printBugNumber(BUGNUMBER); |
| 14 |
printStatus (summary); |
| 15 |
|
| 16 |
expect = '[object Object]'; |
| 17 |
actual = (function(){return (arguments + '');})(); |
| 18 |
reportCompare(expect, actual, summary); |
| 19 |
|
| 20 |
|
| 21 |
expect = typeof window == 'undefined' ? '' : '[object Object]'; |
| 22 |
actual = (function(){with (this) return(arguments + '');})(); |
| 23 |
reportCompare(expect, actual, summary); |