[Webkit-unassigned] [Bug 213307] REGRESSION(r263035): stress/get-prototype-of.js broken on s390x

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 23 14:53:42 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=213307

--- Comment #3 from Michael Catanzaro <mcatanzaro at gnome.org> ---
BTW, this test was introduced in r263035 "super should not depend on proto." I added a bit of debugging:

diff --git a/JSTests/stress/get-prototype-of.js b/JSTests/stress/get-prototype-of.js
index c55d7028284..179b9e7c61c 100644
--- a/JSTests/stress/get-prototype-of.js
+++ b/JSTests/stress/get-prototype-of.js
@@ -59,6 +59,9 @@ for (let i = 0; i < 1e4; ++i) {
     assert(getPrototypeOf(Object.prototype) === null);
     assert(getPrototypeOf(Object.create(null)) === null);

+    if (getPrototypeOf(proxy) !== proxyPrototype)
+        throw new Error(`getPrototypeOf(proxy)==${getPrototypeOf(proxy)}, proxyP
+rototype=${proxyPrototype}`);
     assert(getPrototypeOf(proxy) === proxyPrototype);
     assert(getPrototypeOf(polyProtoObject) === polyProtoObject.constructor.prototype);
 }

At the time of the assertion failure, it prints:

Exception: Error: getPrototypeOf(proxy)==null, proxyPrototype=[object Object]

I guess the new builtin isn't working?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200623/5158ac75/attachment.htm>


More information about the webkit-unassigned mailing list