Bug 198594
| Summary: | Web Inspector: Uncaught Exception: TypeError: selection.focusNode.closest is not a function. (In 'selection.focusNode.closest("." + WI.LogContentView.ItemWrapperStyleClassName)', 'selection.focusNode.closest' is undefined) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Devin Rousso <hi> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | hi, inspector-bugzilla-changes |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | data:text/html,<html><body><script>console.log(new Error("Wrong style in dark mode"));</script></body></html> | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=207248 | ||
Devin Rousso
-------
Inspected URL: data:text/html,<html>%20%20%20%20%20<body>%20%20%20%20%20%20%20%20%20<script>%20%20%20%20%20%20%20%20%20%20%20%20%20console.log(new%20Error("Wrong%20style%20in%20dark%20mode"));%20%20%20%20%20%20%20%20%20</script>%20%20%20%20%20</body>%20</html>
Loading completed: true
Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko)
Uncaught Exceptions:
- TypeError: selection.focusNode.closest is not a function. (In 'selection.focusNode.closest("." + WI.LogContentView.ItemWrapperStyleClassName)', 'selection.focusNode.closest' is undefined) (at LogContentView.js:552:54)
_mousemove @ LogContentView.js:552:54
handleEvent @ LogContentView.js:653:28
-------
* STEPS TO REPRODUCE
1. inspect `data:text/html,<html><body><script>console.log(new Error("Wrong style in dark mode"));</script></body></html>`
2. open the Console tab
3. mousedown on the "-" separating the "... mode - data: ..."
4. move your mouse up into the empty space above the log and console prompt
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |