| Index: LayoutTests/http/tests/security/resources/cross-frame-access.js
|
| diff --git a/LayoutTests/http/tests/security/resources/cross-frame-access.js b/LayoutTests/http/tests/security/resources/cross-frame-access.js
|
| index 31c39604ef3b3d701f92e248ba813b8a387031f0..ce47fbcb728c6058c384dd2078586a5a590f2004 100644
|
| --- a/LayoutTests/http/tests/security/resources/cross-frame-access.js
|
| +++ b/LayoutTests/http/tests/security/resources/cross-frame-access.js
|
| @@ -34,19 +34,19 @@ function shouldBe(a, b, shouldNotPrintValues)
|
| log(message);
|
| }
|
|
|
| -function shouldBeTrue(a)
|
| -{
|
| - shouldBe(a, "true");
|
| +function shouldBeTrue(a)
|
| +{
|
| + shouldBe(a, "true");
|
| }
|
|
|
| -function shouldBeFalse(b)
|
| -{
|
| - shouldBe(b, "false");
|
| +function shouldBeFalse(b)
|
| +{
|
| + shouldBe(b, "false");
|
| }
|
|
|
| -function shouldBeUndefined(b)
|
| -{
|
| - shouldBe(b, "undefined");
|
| +function shouldBeUndefined(b)
|
| +{
|
| + shouldBe(b, "undefined");
|
| }
|
|
|
| function canGet(keyPath)
|
| @@ -93,7 +93,7 @@ function canGetDescriptor(target, property)
|
| var desc = Object.getOwnPropertyDescriptor(target, property);
|
| // To deal with an idiosyncrasy in how binding objects work in conjunction with
|
| // slot and descriptor delegates we also allow descriptor with undefined value/getter/setter
|
| - return desc !== undefined && (desc.value !== undefined || desc.get !== undefined || desc.set !== undefined);
|
| + return desc !== undefined && (desc.value !== undefined || desc.get !== undefined || desc.set !== undefined);
|
| } catch(e) {
|
| return false;
|
| }
|
| @@ -128,7 +128,7 @@ function toString(expression, valueForException)
|
| {
|
| if (valueForException === undefined)
|
| valueForException = "[exception]";
|
| -
|
| +
|
| try {
|
| var evalExpression = eval(expression);
|
| if (evalExpression === undefined)
|
|
|