Closed
Bug 49118
Opened 24 years ago
Closed 24 years ago
XBL unable to override DOM methods and properties
Categories
(Core :: XBL, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: hyatt, Assigned: hyatt)
References
Details
Mystical JS weirdness. I tried to override a DOM method in my XBL, e.g.,
focus(), and it didn't work. The DOM method was called. I now have a pressing
need for this to work, namely because it would provide me with an elegant means
of fixing text field and autocomplete focus problems.
Help!
Assignee | ||
Updated•24 years ago
|
Summary: XBL unable to override DOM methods → XBL unable to override DOM methods and properties
Comment 2•24 years ago
|
||
Do what now? Draw me a picture of the prototype chain, showing where the
property you propose to shadow lives ('focus', e.g.), and the object in which
you propose to shadow it (by defining a 'focus' in an object nearer the front of
the prototype chain).
I can't possibly deal with this bug without hyatt sitting there showing me in a
debugger what's going on. So I'm heading in to work to share my retreating
germs! In the mean time, I'd rather this bug sit on hyatt's list. Dave, I'll
take it the instant we debug it into submission and it turns out to be JS.
/be
Assignee: brendan → hyatt
Assignee | ||
Comment 3•24 years ago
|
||
I don't think it's JS per se... I just need my hand held. I'm feeling clingy.
Comment 4•24 years ago
|
||
According to hyatt, this problem is also preventing command controller on
a textfield from working correctly in the editor (bug 41810).
Comment 5•24 years ago
|
||
nsbeta3+, need to fix to the extent required for bug 41810, which is an
nsbeta3+, data-loss scenario.
Whiteboard: [nsbeta3+]
Target Milestone: --- → M18
Assignee | ||
Comment 6•24 years ago
|
||
Seems to have been a bogus bug. It does work. Reverting common dialog to use
real focus() and blur() overrides (and not my faked calls).
Status: NEW → RESOLVED
Closed: 24 years ago
Whiteboard: [nsbeta3+]
Target Milestone: M18 → ---
Comment 7•24 years ago
|
||
is this bug really supposed to be resolved? View history shows that hyatt
marked it resolved at the same time he marked it nsbeta3+ and set the milestone.
That doesn't make sense. Also, the resolution isn't set. If this bug is
really supposed to be resolved then it have a resolution. This sounds like
another mozilla horking forms problem.
Comment 8•24 years ago
|
||
If this bug really isn't supposed to be relsolved, please comment in
bug 49306.
Assignee | ||
Comment 9•24 years ago
|
||
It's a bugzilla problem, not a mozilla problem. I used 4.x to resolve this bug
as fixed. This keeps happening to me.
Comment 10•24 years ago
|
||
Reopening; please mark FIXED or ASSIGNED depending on whether this bug is
fixed yet or not. I'm guessing it is not.
Status: RESOLVED → REOPENED
Comment 11•24 years ago
|
||
> Additional Comments From David Hyatt 2000-08-16 15:50
>
> Seems to have been a bogus bug. It does work. Reverting common dialog to
> use real focus() and blur() overrides (and not my faked calls).
So, I assume INVALID (not a bug). I did put a .focus() method on the XBL
binding for <textfield>, and with that in place, my focus() would be called
over-riding the DOM focus() method.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•