Closed Bug 552854 Opened 16 years ago Closed 10 years ago

SJOWs don't propagate getters

Categories

(Core :: XPConnect, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mrbkap, Unassigned)

Details

Testcase (in chrome, given SJOW-wrapped, content, unsafeWin with a function run_test): === in chrome === function checkWrapper(val) { ok(utils.getClassName(val) == "XPCSafeJSObjectWrapper", "wrapped properly"); } Object.defineProperty(unsafeWin, "defprop2", { set: checkWrapper }); unsafeWin.run_test(); === in content === function run_test() { defprop2 = {}; }
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.