RESOLVED FIXED 6985
cyclic __proto__ values aren't caught
https://bugs.webkit.org/show_bug.cgi?id=6985
Summary cyclic __proto__ values aren't caught
Ian 'Hixie' Hickson
Reported 2006-01-31 16:34:40 PST
STEPS TO REPRODUCE Run the following JS: var o1 = { p1: 1 }; var o2 = { p2: 2 }; o2.__proto__ = o1; var o3 = { p3: 3 }; o3.__proto__ = o2; o1.__proto__ = o3; // this hangs ACTUAL RESULTS Hang. EXPECTED RESULTS It should raise an exception "cyclic __proto__ value".
Attachments
the fix (2.69 KB, patch)
2007-05-09 03:27 PDT, Eric Seidel (no email)
mjs: review+
Eric Seidel (no email)
Comment 1 2007-05-09 03:27:53 PDT
Created attachment 14427 [details] the fix
Eric Seidel (no email)
Comment 2 2007-05-09 03:32:48 PDT
As a reproducible crasher, this should be a P1.
Eric Seidel (no email)
Comment 3 2007-05-09 03:59:16 PDT
Fixed in r21332.
Maciej Stachowiak
Comment 4 2007-05-09 04:00:37 PDT
Comment on attachment 14427 [details] the fix r=me
Note You need to log in before you can comment on or make changes to this bug.