Closed
Bug 427623
Opened 16 years ago
Closed 15 years ago
objectops needs a way to override typeof
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: shaver, Unassigned)
References
(Blocks 1 open bug)
Details
I propose that we add an objectops member which can be used to override the default typeof determination, such as for wrappers that can be callable ("function") or not ("object"). Bug 425139 is an example of such, and it's possible that our variety of XPConnect wrapper classes could benefit from it as well. I'd have the method return an enum, rather than a string, since typeof extensibility seems undesirable.
Comment 1•16 years ago
|
||
Shaver: Did you mean to mark bug 408461 as dependent on this bug?
Reporter | ||
Comment 2•16 years ago
|
||
Let's say...no. Thanks.
Reporter | ||
Comment 3•15 years ago
|
||
Did I say "add an objectops member"? Questionable instinct there, shaver.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•