Summary: | Web Inspector: REGRESSION(r251227): Uncaught Exception: undefined is not an object (evaluating 'target.DOMAgent.setInspectModeEnabled') | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||
Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, hi, inspector-bugzilla-changes, joepeck, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | 200384 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Devin Rousso
2019-12-11 17:58:23 PST
Created attachment 385469 [details]
Patch
Comment on attachment 385469 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=385469&action=review r=me > Source/WebInspectorUI/ChangeLog:22 > + * UserInterface/Base/Main.js: > + Drive-by: remove duplicate function `WI._toggleInspectMode` as it already exists. !! How did a linter not catch this? Comment on attachment 385469 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=385469&action=review >> Source/WebInspectorUI/ChangeLog:22 >> + Drive-by: remove duplicate function `WI._toggleInspectMode` as it already exists. > > !! How did a linter not catch this? As we discussed in person, it’s not a function on a class or a variable in a scope, so it’s not as easily statically analyzable :( Comment on attachment 385469 [details] Patch Clearing flags on attachment: 385469 Committed r253421: <https://trac.webkit.org/changeset/253421> All reviewed patches have been landed. Closing bug. |