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:
parent
4203a7b1b0
commit
53cc60b315
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user