On Mon, Oct 21, 2013 at 4:19 PM, Matthew Gertner <[email protected]> wrote: > I'm loading a page into a <browser type="content"> but I want the close() > method to call a function defined in chrome. I tried the obvious: > > window.wrappedJSObject.close() = function() { ... }; > > However, the old close() method is still called (as far as I can tell).
Try removing the parenthesis on the LHS of your assignment? _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

