NEW198594
Web Inspector: Uncaught Exception: TypeError: selection.focusNode.closest is not a function. (In 'selection.focusNode.closest("." + WI.LogContentView.ItemWrapperStyleClassName)', 'selection.focusNode.closest' is undefined)
https://bugs.webkit.org/show_bug.cgi?id=198594
Summary Web Inspector: Uncaught Exception: TypeError: selection.focusNode.closest is ...
Devin Rousso
Reported 2019-06-05 19:31:48 PDT
------- 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
Note You need to log in before you can comment on or make changes to this bug.