Open Bug 1762381 Opened 3 years ago Updated 3 months ago

Unable to display iframe html content in the debugger on page reload

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

(Blocks 1 open bug)

Details

The test added in bug 1747105 highlights that the source text content for iframe is possibly broken on reload.

Instead of seeing the html content we see Error: Incorrect contents fetched, please reload., which is probably a dead end as we just reloaded.

Note that it doesn't seem to reproduce with a simple data URL equivalent:
data:text/html,<iframe src="data:text/html,foo<script>console.log('bar')</script>"></iframe>
So there might be something special in the test itself.

Severity: -- → S3
Priority: -- → P3

devtools/client/debugger/test/mochitest/browser_dbg-features-breakable-lines.js started failing intermittently because we are now sometime able to fetch the iframe's content.
So it looks like a race condition.

You need to log in before you can comment on or make changes to this bug.