Bug 225947

Summary: Web Inspector: Uncaught exception: Page.setShowRulers' was not found when starting remote inspection
Product: WebKit Reporter: Patrick Angle <pangle>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes, pangle, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Patrick Angle
Reported 2021-05-18 17:44:43 PDT
It looks like we aren't checking for Page.setShowRulers somewhere in the frontend, and since iOS doesn't support rulers, this fails. The Rulers button also appears in the Elements Tab, even though it doesn't do anything. ``` 'Page.setShowRulers' was not found (at Connection.js:​162:​29)​ _dispatchResponseToPromise @ Connection.js:​162:​29 _dispatchResponse @ Connection.js:​124:​44 dispatch @ Connection.js:​77:​35 dispatchMessageFromTarget @ TargetManager.js:​176:​39 dispatchMessageFromTarget @ TargetObserver.js:​47:​51 _dispatchEvent @ Connection.js:​210:​26 dispatch @ Connection.js:​79:​32 dispatch @ InspectorBackend.js:​232:​52 ?​ @ MessageDispatcher.js:​42:​34 ```
Attachments
Radar WebKit Bug Importer
Comment 1 2021-05-18 17:44:56 PDT
Note You need to log in before you can comment on or make changes to this bug.