Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(446)

Unified Diff: src/js/v8natives.js

Issue 1516843002: [proxy] fixing harmony/proxy.js tests and improving error messages + some drive-by fixes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/js/v8natives.js
diff --git a/src/js/v8natives.js b/src/js/v8natives.js
index 7e62dadb051e1b7d9c7628222068974c5067c1a2..19c2ff6df0669fb00b3c2ce1e00bffb29ca4daee 100644
--- a/src/js/v8natives.js
+++ b/src/js/v8natives.js
@@ -568,7 +568,7 @@ function DefineProxyProperty(obj, p, attributes, should_throw) {
var result = CallTrap2(handler, "defineProperty", UNDEFINED, p, attributes);
if (!result) {
if (should_throw) {
- throw MakeTypeError(kProxyHandlerReturned,
+ throw MakeTypeError(kProxyTrapReturned,
handler, "false", "defineProperty");
} else {
return false;

Powered by Google App Engine
This is Rietveld 408576698