| Index: LayoutTests/fast/dom/private_script_unittest.html
|
| diff --git a/LayoutTests/fast/dom/private_script_unittest.html b/LayoutTests/fast/dom/private_script_unittest.html
|
| index 9c42460cf4f524ad4ba85a2b7a87f76723a7ec51..20b248259a429f5e5b896cb63763afb77f793b84 100644
|
| --- a/LayoutTests/fast/dom/private_script_unittest.html
|
| +++ b/LayoutTests/fast/dom/private_script_unittest.html
|
| @@ -66,6 +66,15 @@ shouldThrow('privateScriptTest.nodeAttributeThrowsIndexSizeError');
|
| shouldThrow('privateScriptTest.nodeAttributeThrowsIndexSizeError = null');
|
| shouldThrow('privateScriptTest.voidMethodThrowsSyntaxError()');
|
|
|
| +shouldBe('privateScriptTest.addIntegerImplementedInCPP(111, 222)', '333');
|
| +shouldBeEqualToString('privateScriptTest.stringAttributeImplementedInCPP', 'undefined');
|
| +privateScriptTest.stringAttributeImplementedInCPP = "foo";
|
| +shouldBeEqualToString('privateScriptTest.stringAttributeImplementedInCPP', 'foo');
|
| +
|
| +// These tests are important. [OnlyExposedToPrivateScript] APIs should not be visible to user's JavaScript.
|
| +shouldBeUndefined('privateScriptTest.addIntegerImplementedInCPPForPrivateScriptOnly');
|
| +shouldBeUndefined('privateScriptTest.stringAttributeImplementedInCPPForPrivateScriptOnly');
|
| +
|
| </script>
|
| </body>
|
| </html>
|
|
|