vuejs / devtools-v6

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools-v6.vuejs.org/
MIT License
24.68k stars 4.15k forks source link

fix(iframe): Add optional chaining on unsafe-type element #2092

Closed Azurewarth0920 closed 9 months ago

Azurewarth0920 commented 1 year ago

Description

Fix: #2078

Check the existence of the root element as the root element may be empty. (Eg. described in #2078, using custom render that doesn't generate DOM may cause the empty root)

Additional context


What is the purpose of this pull request?

Before submitting the PR, please make sure you do the following