| Index: test/webkit/exception-for-nonobject.js
|
| diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/exception-for-nonobject.js
|
| similarity index 89%
|
| copy from test/webkit/resources/standalone-post.js
|
| copy to test/webkit/exception-for-nonobject.js
|
| index d157e78bfa084329e2ec1a9b7d6ad456e904c152..d39c3e05120a63851fb75c86f19e01cf73d8a4e1 100644
|
| --- a/test/webkit/resources/standalone-post.js
|
| +++ b/test/webkit/exception-for-nonobject.js
|
| @@ -21,6 +21,7 @@
|
| // (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 for correct handling of exceptions from instanceof and 'new' expressions");
|
|
|
| -finishJSTest();
|
| +shouldThrow("new {}.undefined");
|
| +shouldThrow("1 instanceof {}.undefined");
|
|
|