Closed
Bug 376773
Opened 18 years ago
Closed 18 years ago
xmlWithSimpleContent.function:: should be able to access String methods (e4x/XML/regress-376773.js)
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
People
(Reporter: igor, Assigned: igor)
References
Details
[This is a spin-off of bug 373082 comment 23 and is already fixed as a part of the committed patch.]
SpiderMonkey should ensure that obj.method(arguments) is equivalent to obj.function::method(arguments) even in cases when obj is an xml with simple content and method refers to one of String.prototype functions. For example, the following should call String.prototype.charAt in all cases:
xml = <a>TEXT</a>
xml.charAt(0)
xml.function::charAt(0)
xml.function::charAt.call(xml, 0)
| Assignee | ||
Comment 1•18 years ago
|
||
Fixed as a part of the committed patch for bug 373082.
Comment 2•18 years ago
|
||
/cvsroot/mozilla/js/tests/e4x/XML/regress-376773.js,v <-- regress-376773.js
initial revision: 1.1
Flags: in-testsuite+
Comment 3•18 years ago
|
||
verified fixed trunk windows, mac*, linux browser, shell 2007-04-10
Status: RESOLVED → VERIFIED
Updated•18 years ago
|
Summary: xmlWithSimpleContent.function:: should be able to access String methods → xmlWithSimpleContent.function:: should be able to access String methods (e4x/XML/regress-376773.js)
You need to log in
before you can comment on or make changes to this bug.
Description
•