Sanity check to prevent hang in WebKitGtk content.