Closed Bug 606859 Opened 14 years ago Closed 14 years ago

Unable to add Sherlock search plugin

Categories

(Firefox :: Search, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 4.0b7
Tracking Status
blocking2.0 --- beta8+

People

(Reporter: mail, Assigned: Gavin)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

Am unable to add any Sherlock search plugins recently - haven't checked with builds before and after but bug 599751 seems like the obvious candidate esp. as the error is:

_onLoad: Failed to init engine!
ReferenceError: valueEnd is not defined

Linked url gives example to try.
Ineed, valueEnd is used outside the block where it is declared - let makes that an error.
Blocks: 599751
blocking2.0: --- → beta8+
https://hg.mozilla.org/mozilla-central/rev/859ffcd7933a
Assignee: nobody → gavin.sharp
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b8
Attached patch testSplinter Review
This bug was caused by not applying some of the whitespace changes :-(

To be specific, Serge had outdented the block in question (which was an else after return, so should never have been indented in the first place) which would have meant that let would have worked.
Confirm now works as expected again.
Thanks for catching this, Charles.
Marking as verified fixed then.
Status: RESOLVED → VERIFIED
Target Milestone: Firefox 4.0b8 → Firefox 4.0b7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: