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

Unified Diff: test/webkit/strict-throw-type-error.js

Issue 1027283004: [es6] do not add caller/arguments to ES6 function definitions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase + test262 exceptions Created 5 years, 8 months 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: test/webkit/strict-throw-type-error.js
diff --git a/test/webkit/strict-throw-type-error.js b/test/webkit/strict-throw-type-error.js
index c9e34a387879c7ca6cb38c38ea32d7ab856b3cef..b97fc3fc41a541f1e1a0ef42b1420fc43bd657c3 100644
--- a/test/webkit/strict-throw-type-error.js
+++ b/test/webkit/strict-throw-type-error.js
@@ -25,6 +25,7 @@ description("ThrowTypeError is a singleton object");
function getter(object, name)
{
+ if (typeof object === "function") object = Object.getPrototypeOf(object);
Object.getOwnPropertyDescriptor(object, name).get;
arv (Not doing code reviews) 2015/04/07 16:18:40 This test is broken. getter always returns undefin
caitp (gmail) 2015/04/07 16:29:57 Acknowledged.
}

Powered by Google App Engine
This is Rietveld 408576698