Open Bug 1758454 Opened 3 years ago Updated 6 months ago

Source text content of garbaged collected scripts can be wrong.

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

(Blocks 1 open bug)

Details

The test added in bug 1754407 (testGarbageCollectedSourceTextContent) highlights that the text content of sources that have been cleared before opening DevTools can be wrong.

This is probably an edge case as it requires having a script whose content changes while keeping the exact same URL. And this is an issue that only reproduces when opening DevTools after having loaded/reloaded the page.

STR:

  • open a page with same simple <script src="source.js"> tag
  • force a GC
  • open DevTools
  • open source.js in the debugger

AR: if the http server deliver a different content for source.js, you will see a content different from the one that runs in the page.
ER: you should see the source content that was served when loading the page

The severity field is not set for this bug.
:bomsy, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(hmanilla)
Severity: -- → S3
Flags: needinfo?(hmanilla)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.