set_protocol_handler: set name property of webapp handlers
commit8fadfa381e62f99fafdf342ee3aa9e46bef5ff08
authorJohn Foerch <jjfoerch@earthlink.net>
Sat, 17 Sep 2011 01:34:26 +0000 (16 21:34 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Sat, 17 Sep 2011 01:34:26 +0000 (16 21:34 -0400)
treefa2f3ced91fb4c3699e4c5c9b7d15e428141b690
parent01d0cc2df7c9e1aa758ed0eefc9b0b68bd4edb25
set_protocol_handler: set name property of webapp handlers

Webapp handlers must have a name or else an error is thrown in
nsIHandlerService.store().  We use the webapp's host name for this.
modules/utils.js