Bug 944309: Change null check for window from assert to full check/fail in Notification.cpp; r=mrbkap r=mhenretty