Created attachment 499560 [details] [diff] [review] patch, v1 This is pretty much a straight copy-paste of the dictUtils.js in comm-central. The only thing I've changed is let to var in ES5 strict mode, per Waldo's comment.
Comment on attachment 499560 [details] [diff] [review] patch, v1 Over to Dave to signoff on the addition to toolkit - this doesn't really need actual code review (though I did read through it just to familiarize myself with it).
Comment on attachment 499560 [details] [diff] [review] patch, v1 Fine by me as long as you document it on MDC
https://hg.mozilla.org/mozilla-central/rev/048b078d112d (for the record, since it was missed in the commit message, sr=Standard8 carried over from the comm-central patch.)