Index: test/mjsunit/regress/regress-crbug-352586.js |
diff --git a/test/mjsunit/regress/regress-crbug-352586.js b/test/mjsunit/regress/regress-crbug-352586.js |
index 2210480990b30e5e899030e6588a29a03a56a1f3..18b5390c58f3df305f6d3fa07bd5cc6952ff1966 100644 |
--- a/test/mjsunit/regress/regress-crbug-352586.js |
+++ b/test/mjsunit/regress/regress-crbug-352586.js |
@@ -12,4 +12,4 @@ function getter() { |
a.__proto__ = Error(""); |
a.__defineGetter__('message', getter); |
-a.message; |
+assertThrows(()=>a.message, RangeError); |