Index: test/webkit/exception-for-nonobject.js |
diff --git a/test/webkit/exception-for-nonobject.js b/test/webkit/exception-for-nonobject.js |
index d39c3e05120a63851fb75c86f19e01cf73d8a4e1..f54915eb2e0b314fc7d130ba7b798aadb1f17c04 100644 |
--- a/test/webkit/exception-for-nonobject.js |
+++ b/test/webkit/exception-for-nonobject.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. |
+// Flags: --harmony-instanceof |
+ |
description("Test for correct handling of exceptions from instanceof and 'new' expressions"); |
shouldThrow("new {}.undefined"); |