| Index: LayoutTests/fast/frames/resources/frame-set-location-badstring.html | 
| diff --git a/LayoutTests/fast/frames/resources/frame-set-location-badstring.html b/LayoutTests/fast/frames/resources/frame-set-location-badstring.html | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..7ddd9411e9b82908efb067e4765a222d8becfc25 | 
| --- /dev/null | 
| +++ b/LayoutTests/fast/frames/resources/frame-set-location-badstring.html | 
| @@ -0,0 +1,11 @@ | 
| +<script src="../../../resources/js-test.js"></script> | 
| +<script> | 
| +description("Tests that assigning a bad string to HTMLFrameElement.location throws and aborts properly."); | 
| + | 
| +var frameLocation = parent.frames[1].location; | 
| +shouldNotBe("frameLocation", "null"); | 
| +shouldNotBe("frameLocation", "undefined"); | 
| +var badString = { toString: function() { throw "Exception in toString()"; } }; | 
| +shouldThrow("parent.frames[1].location = badString;", "'Exception in toString()'"); | 
| +shouldBe("parent.frames[1].location", "frameLocation"); | 
| +</script> | 
|  |