The old behavior would only fire an `error` event from `Inspector`. This new behavior will respond back to the caller (via callback or promise) passing in an error argument. We still fire an error event for backwards compatibility. 

The new error callback is used when testing availability of `CSS.getAllStyleSheets`.