vuejs / devtools-v6

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools-v6.vuejs.org/
MIT License
24.69k stars 4.14k 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