Steps to reproduce:
- Open the test page and the devtools
- Select one of the nested
<details> or <menu> elements inside of the <menu is="context-menu"> in the hierarchy
- Right click on the page
Result: the page or the whole browser crashes.
Tested on: Arc, Chrome, Firefox