| Summary: | Crash when interacting with certain elements in WebCore::EventHandler::dispatchMouseEvent | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zac west <webkitbugzilla> | ||||
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED DUPLICATE | ||||||
| Severity: | Normal | CC: | lizmitchell, rniwa | ||||
| Priority: | P2 | ||||||
| Version: | Safari Technology Preview | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
zac west
2020-08-21 08:59:33 PDT
This error is related to delegatesFocus. When set to true, the tab will crash when the user creates focus by clicking on the ShadowRoot's content. If the element is programmatically focused via element.focus(), the tab does not crash and element.shadowRoot.activeElement is properly set to the delegated focus target. If delegatesFocus is set to false, the tab does not crash when the user clicks on the ShadowRoot's content. Crash: https://jsbin.com/hudimuseya/edit?html,output No crash: https://jsbin.com/hegogibike/edit?html,output Safari TP 112 (Safari 14.0, WebKit 15610.1.25.5.1) Thank you for the report! I believe that this was just fixed a couple days ago as bug 215622. *** This bug has been marked as a duplicate of bug 215622 *** |