dillon1000/react

Commit

Allow Inspecting Elements Within Iframes (#355)

This change adds support for element inspecting within `<iframe/>`s.

The iframes are kept in a Set so that we only append listeners once and
clean them up properly. I’ve run a few tests and it seems to behave as
expected.

The fixture includes a cross-origin iframe to make sure we do not error
in this case.
Browse files
Changed paths4 files
First-parent comparison
A shells/dev/app/Iframe/index.js AddedM shells/dev/app/index.js ModifiedM src/backend/agent.js ModifiedM src/backend/views/Highlighter/index.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…