| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
gTestfile = 'regress-462734-01.js'; |
| 8 |
|
| 9 |
var summary = 'Do not assert: pobj_ == obj2'; |
| 10 |
var BUGNUMBER = 462734; |
| 11 |
var actual = ''; |
| 12 |
var expect = ''; |
| 13 |
|
| 14 |
printBugNumber(BUGNUMBER); |
| 15 |
START(summary); |
| 16 |
|
| 17 |
var save__proto__ = this.__proto__; |
| 18 |
|
| 19 |
try |
| 20 |
{ |
| 21 |
for (x in function(){}) (<x><y/></x>); |
| 22 |
this.__defineGetter__("x", Function); |
| 23 |
__proto__ = x; |
| 24 |
prototype += <x><y/></x>; |
| 25 |
} |
| 26 |
catch(ex) |
| 27 |
{ |
| 28 |
print(ex + ''); |
| 29 |
} |
| 30 |
|
| 31 |
__proto__ = save__proto__; |
| 32 |
|
| 33 |
TEST(1, expect, actual); |
| 34 |
|
| 35 |
END(); |