Avoid unnecessary work during page loading.
Created attachment 221865 [details] patch
http://trac.webkit.org/changeset/162518