Index: test/webkit/invalid-callframe-during-unwind.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/invalid-callframe-during-unwind.js |
similarity index 88% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/invalid-callframe-during-unwind.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..c50789619565c194c5463753256de66d06dc2636 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/invalid-callframe-during-unwind.js |
@@ -21,6 +21,8 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-wasPostTestScriptParsed = true; |
+description("Test to ensure we have a valid callframe midway through unwinding"); |
-finishJSTest(); |
+function testUnwind(){with({}){ arguments; throw "threw successfully";}} |
+ |
+shouldThrow("testUnwind()") |