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

git-svn-id: svn://10.0.0.236/trunk@237328 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bclary%bclary.com 2007-10-05 20:44:42 +00:00
parent 4203a7b1b0
commit 53cc60b315

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());