mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 528654 - Intermittent timeout waiting for onload to fire in js1_8_1/trace/trace-test.js
This commit is contained in:
parent
eba711e768
commit
08b50f2aa1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user