estivo / Instantfox

Instantfox Quick Search » Firefox Add-On for a smart address bar
http://www.instantfox.net
GNU General Public License v2.0
59 stars 11 forks source link

Fix FF 35 switch-to-tab bug #99

Closed BobVul closed 9 years ago

BobVul commented 9 years ago

Trying to use switch-to-tab in FF 35 results in no action. This pull request fixes the bug.

Details:


NS_ERROR_MALFORMED_URI: Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIIOService2.newURI] browser.js:16542

This was due to a change in FF35 (https://github.com/mozilla/gecko-dev/commit/b660c827ef578584a6d302e51dd37d3bc1e25502#diff-32ca2785c0a7d5a2a606a647e164bfe3L742), apparently related to the new search bar.

_parseActionUrl now returns an object with a params property instead of the param property InstantFox expects. The params property itself is a string containing a url property, which should be (in this case) functionally identical to the old param property.

Instantfox commented 9 years ago

Looks good! Thanks for the fix.