Bug 917996 - XDR Lazy Scripts. r=till
Bug 946849 - XDR restore singleton type of functions. r=bhackett