зеркало из https://github.com/mozilla/gecko-dev.git
JavaScript Test - update for regression test for bug 350692
This commit is contained in:
Родитель
e9ee5e30f9
Коммит
a5517afd63
|
@ -51,12 +51,15 @@ function test()
|
|||
printBugNumber (bug);
|
||||
printStatus (summary);
|
||||
|
||||
var x = {y: {z: function() {}}};
|
||||
|
||||
try
|
||||
{
|
||||
import x['y']['z'];
|
||||
}
|
||||
catch(ex)
|
||||
{
|
||||
reportCompare('TypeError: x["y"]["z"] is not exported', ex + '', summary);
|
||||
}
|
||||
|
||||
reportCompare(expect, actual, summary);
|
||||
|
|
Загрузка…
Ссылка в новой задаче