JavaScript Test - ignore XPCCrossOriginWrapper on global object, bug 390946, not part of the build

This commit is contained in:
bclary@bclary.com 2007-10-05 13:44:42 -07:00
parent a53fc1cd40
commit db599c7adf

View File

@ -59,7 +59,14 @@ var expect= ''; var expectedvalue = [ ];
status = 'the global object';
actual = getJSClass(this);
expect = GLOBAL;
addThis();
if (expect == 'Window' && actual == 'XPCCrossOriginWrapper')
{
print('Skipping global object due to XPCCrossOriginWrapper. See bug 390946');
}
else
{
addThis();
}
status = 'new Object()';
actual = getJSClass(new Object());