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.
|
} |