Title: [200710] trunk/Source/_javascript_Core
Revision
200710
Author
joep...@webkit.org
Date
2016-05-11 15:11:22 -0700 (Wed, 11 May 2016)

Log Message

JSC test stress/reflect-set.js failing after 200694
https://bugs.webkit.org/show_bug.cgi?id=157586

Unreviewed test rebaseline.

* tests/stress/reflect-set.js:
Update the expected error message. We are in strict mode, so the
improved error message makes sense.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (200709 => 200710)


--- trunk/Source/_javascript_Core/ChangeLog	2016-05-11 21:55:26 UTC (rev 200709)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-05-11 22:11:22 UTC (rev 200710)
@@ -1,3 +1,14 @@
+2016-05-11  Joseph Pecoraro  <pecor...@apple.com>
+
+        JSC test stress/reflect-set.js failing after 200694
+        https://bugs.webkit.org/show_bug.cgi?id=157586
+
+        Unreviewed test rebaseline.
+
+        * tests/stress/reflect-set.js:
+        Update the expected error message. We are in strict mode, so the
+        improved error message makes sense.
+
 2016-05-11  Filip Pizlo  <fpi...@apple.com>
 
         Beef up JSC profiler event log

Modified: trunk/Source/_javascript_Core/tests/stress/reflect-set.js (200709 => 200710)


--- trunk/Source/_javascript_Core/tests/stress/reflect-set.js	2016-05-11 21:55:26 UTC (rev 200709)
+++ trunk/Source/_javascript_Core/tests/stress/reflect-set.js	2016-05-11 22:11:22 UTC (rev 200710)
@@ -877,10 +877,10 @@
 
         shouldThrow(() => {
             Reflect.set(object, 'callee', 'Cappuccino');
-        }, `TypeError: Type error`);
+        }, `TypeError: 'callee' and 'caller' cannot be accessed in strict mode.`);
         shouldThrow(() => {
             Reflect.get(object, 'callee');
-        }, `TypeError: Type error`);
+        }, `TypeError: 'callee' and 'caller' cannot be accessed in strict mode.`);
     }
 
     function test4() {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to