Bug 851527 Strip null bytes in document titles when setting the chrome window's title r=Neil.