| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) { | 5 if (window.testRunner) { |
| 6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
| 7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
| 8 } | 8 } |
| 9 </script> | 9 </script> |
| 10 </head> | 10 </head> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 MyClass.func = new Function("return this"); | 25 MyClass.func = new Function("return this"); |
| 26 | 26 |
| 27 MyClass.func.prototype = | 27 MyClass.func.prototype = |
| 28 { | 28 { |
| 29 internalFunc: function() { } | 29 internalFunc: function() { } |
| 30 } | 30 } |
| 31 | 31 |
| 32 var actual = "" + MyClass.runTest(); | 32 var actual = "" + MyClass.runTest(); |
| 33 shouldBe("actual", "'function () { }'"); | 33 shouldBe("actual", "'function () { }'"); |
| 34 </script> | 34 </script> |
| 35 <script src="../js/resources/js-test-post.js"></script> | |
| 36 <script> | 35 <script> |
| 37 if (window.testRunner) | 36 if (window.testRunner) |
| 38 testRunner.notifyDone(); | 37 testRunner.notifyDone(); |
| 39 </script> | 38 </script> |
| 40 </body> | 39 </body> |
| 41 </html> | 40 </html> |
| OLD | NEW |