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   

Description Patrick Angle 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
```
Comment 1 Radar WebKit Bug Importer 2021-05-18 17:44:56 PDT
<rdar://problem/78182057>