Bug 528654 - Intermittent timeout waiting for onload to fire in js1_8_1/trace/trace-test.js

This commit is contained in:
Bob Clary 2009-11-20 00:12:17 -08:00
Родитель eba711e768
Коммит 08b50f2aa1
2 изменённых файлов: 17 добавлений и 7 удалений

Просмотреть файл

@ -20,4 +20,4 @@ script regress-462459-12.js
script regress-469927.js
script regress-470739.js
script regress-471635.js
fails-if(!xulRuntime.shell) script trace-test.js # uncaught exception: [Exception... "Operation is not supported" code: "9" nsresult: "0x80530009 (NS_ERROR_DOM_NOT_SUPPORTED_ERR)
script trace-test.js

Просмотреть файл

@ -4275,18 +4275,28 @@ function testInterpreterReentry2() {
var b = {};
var c = false;
var d = {};
this.__defineGetter__('e', function(){});
for (let f in this) print(f);
[1 for each (g in this) for each (h in [])]
try {
this.__defineGetter__('e', function(){});
for (let f in this) print(f);
[1 for each (g in this) for each (h in [])]
}
catch(ex) {
print('testInterpreterReentry2: ' + ex);
}
return 1;
}
testInterpreterReentry2.expected = 1;
test(testInterpreterReentry2);
function testInterpreterReentry3() {
for (let i=0;i<5;++i) this["y" + i] = function(){};
this.__defineGetter__('e', function (x2) { yield; });
[1 for each (a in this) for (b in {})];
try {
for (let i=0;i<5;++i) this["y" + i] = function(){};
this.__defineGetter__('e', function (x2) { yield; });
[1 for each (a in this) for (b in {})];
}
catch(ex) {
print('testInterpreterReentry3: ' + ex);
}
return 1;
}
testInterpreterReentry3.expected = 1;