Closed Bug 309046 Opened 19 years ago Closed 19 years ago

XMLRPC doesnt work if Array.prototype.[...] or String.prototype.[...] are set

Categories

(Core :: XML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaiyer, Assigned: aaiyer)

Details

Attachments

(2 files)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: 

XMLRPC doesnt work if Array.prototype.[...] or String.prototype.[...] are set 
somewhere in runtime before a call to XMLRPc

Reproducible: Always

Steps to Reproduce:
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment on attachment 196537 [details] [diff] [review]
Fixes the problem

r=me

What about the code near line 546:
                var keys = obj.getKeys({});
                for (var k in keys) {

is this also an array?
Attachment #196537 - Flags: superreview?(jst)
Attachment #196537 - Flags: review+
Yes, keys is also an array, this also needs to be changed.
Comment on attachment 196537 [details] [diff] [review]
Fixes the problem

sr=jst with the additional change mentioned above.
Attachment #196537 - Flags: superreview?(jst) → superreview+
Anand, let me know when you have an updated patch ready for checkin, ok?
Attached patch updated patchSplinter Review
here is the updated patch
Assignee: xml → aaiyer
Checked in to the trunk.  Anand, thanks for the patch!
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: