Bug 758872 - Fix missing null-check for plugin instance. r=bsmedberg, a=bajaj
bug 857291 - fix 807678 regression of DNS::GetCanonicalName r=josh a=bajaj