add error handling when getAllStyleSheets is not found in inspector protocol