Closed Bug 575847 Opened 14 years ago Closed 14 years ago

JM: Pressing enter in location bar/search bar has no effect

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dmandelin, Assigned: dmandelin)

References

Details

The problem is that in autocomplete.xml, the variable mController doesn't get set. It is set in a constructor function like this:

  mController = blah

with no |this|. This works (in m-c) because it is called with JS_CallFunctionValue with a scope chain of the XULElement that has mController defined.

In JM, we are getting a JSOP_SETGNAME for that, which is wrong--that should only be used in comple-and-go mode.
http://hg.mozilla.org/users/danderson_mozilla.com/moo/rev/fcc3814a3c01
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.