Worker inspectors do not have Elements panel, so we should check if it's present before accessing it.
Created attachment 116325 [details] Patch
Committed r101047: <http://trac.webkit.org/changeset/101047>
Why do workers get their own Inspector?