5digits / dactyl

Pentadactyl and other related Gecko extensions
Other
468 stars 98 forks source link

:open and :tab commands throw error with non-URL input #138

Closed veeven closed 8 years ago

veeven commented 8 years ago

With xpi compiled from latest code, Pentadactyl throws the following error for o and t commands when the input is a non-URL string (for example, :open the lorax):

resource://dactyl/util.jsm: 1583: TypeError: can't assign to properties of (new String(" ")): not an object

Error from the console:

pentadactyl: TypeError: can't assign to properties of (new String(" ")): not an object::
pentadactyl: stack:     split@resource://dactyl/util.jsm:1583:9