Persistent selection of iframe as target document
Categories
(DevTools :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: filip.stamcar, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
I have some website which contains an iframe. I can point the developer tools at a specific iframe within a document with the button in the toolbar. This works.
Actual results:
When I reload the website, developer tools are pointed back to the main document. If I still want to use iframe, I have to point the developer tools again.
Expected results:
Developer tools should remember currently chosen iframe and use it even after reloading the website.
Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
This sounds useful indeed. Thank you for filing this enhancement request.
I think the way to go would be to remember the target frame with some kind of unique identifier, so it can be re-selected after reloading the entire page.
Something similar is done for re-selecting DOM nodes in the inspector today: https://searchfox.org/mozilla-central/rev/7944190ad1668a94223b950a19f1fffe8662d6b8/devtools/client/inspector/inspector.js#1190-1230
Reporter | ||
Comment 2•6 years ago
|
||
Note that on some websites, iframe URL contains random "nonce". In this case, iframe's URL will be different on each request.
Is it possible to also handle this?
Updated•2 years ago
|
Description
•