Attempting to access window.history, for example, fails in nsStringArraySH::GetProperty. A script should be able (with the right permissions) to access history as an array. As a script needs permissions to do this anyway, it's probably not a high priority to fix.
Of all the typo's one can make... Nominating for mozilla0.9.1
Status: NEW → ASSIGNED
Keywords: mozilla0.9.1, mozilla0.9.2, regression
Whiteboard: [HAVE FIX]
Target Milestone: --- → mozilla0.9.1
why cannot we retarget it to 0.9.2? It doesn't appear to cause crash, topcrash nor it's a major loss of functionality. If you agree, please move to 0.9.2
Moving to mozilla0.9.2
Whiteboard: [HAVE FIX] → [HAVE PARTIAL FIX]
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Moving to mozilla0.9.3
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Mitch, please have a look at the security manager call in the attached patch, I'm trying to make accessing history[x] equivalent to calling the method history.item(x), did I get that call right?
Whiteboard: [HAVE PARTIAL FIX] → [HAVE FIX]
Perfect. We already have a policy in all.js for History.item, so this should work fine.
sr=jband I see you are also going to fix that ugly typo in GetStringAt (that cls so nicely modernized with a NS_PTR_TO_INT32 macro :)
Yeah, that one cracked me up too :-)
a=dbaron on behalf of drivers
Fix checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
Mitch, can you verify this one please ????? or just let me know the testcase.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.