mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
JavaScript Test - update regression test for bug 342359 due to changes in bug 376957, not part of the build
This commit is contained in:
parent
ba222a25cc
commit
7078220319
@ -45,7 +45,16 @@ var expect = '';
|
||||
printBugNumber(BUGNUMBER);
|
||||
printStatus (summary);
|
||||
|
||||
ReferenceError = 5;
|
||||
// work around bug 376957
|
||||
var SavedReferenceError = ReferenceError;
|
||||
|
||||
try
|
||||
{
|
||||
ReferenceError = 5;
|
||||
}
|
||||
catch(ex)
|
||||
{
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
@ -56,7 +65,13 @@ catch(ex)
|
||||
print(ex + '');
|
||||
}
|
||||
|
||||
expect = 5;
|
||||
actual = ReferenceError
|
||||
|
||||
reportCompare(expect, actual, summary);
|
||||
if (SavedReferenceError == ReferenceError)
|
||||
{
|
||||
actual = expect = 'Test ignored due to bug 376957';
|
||||
}
|
||||
else
|
||||
{
|
||||
expect = 5;
|
||||
actual = ReferenceError;
|
||||
}
|
||||
reportCompare(expect, actual, summary);
|
||||
|
Loading…
Reference in New Issue
Block a user