Closed Bug 496258 Opened 15 years ago Closed 11 years ago

js_ValueToObject broken if value points to JSObject with SJOW on proto chain

Categories

(Core :: XPConnect, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bzbarsky, Assigned: mrbkap)

Details

See bug 484459 comment 22.  In my case, val is OBJECT_TO_JSVAL(obj), obj is a Sandbox, obj.__proto__ is an SJOW for a Window.  js_ValueToObject(val) comes back with another SJOW for the same Window, not with either the Sandbox or an SJOW for the Sandbox.
SJOWs and their troublesome convert hooks are long gone. This should no longer be a problem.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.