Closed Bug 1759975 Opened 2 years ago Closed 2 years ago

Duplicated breakpoints for files loaded in content process in the MBT

Categories

(DevTools :: Debugger, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1734768

People

(Reporter: jdescottes, Unassigned)

References

(Blocks 1 open bug)

Details

STRs for non-devtools files:

  • start firefox, clean profile
  • open MBT
  • in target firefox, right click to open the context menu in the default tab (about:newtab normally)
  • in MBT set a breakpoint in ContextMenuChild.jsm at L9 (var EXPORTED...)
  • in target firefox, open a new tab (eg on mozilla.org) and right click to open the context menu
  • MBT will break but there are now 2 ContextMenuChild.jsm entries listed in the breakpoints panel of the debugger

As you open more tabs and use other context menus, more ContextMenuChild.jsm entries will be added every time.

Other STRs for devtools files and new breakpoints appearing when restarting the MBT:

  • open firefox, clean profile
  • open one tab on reddit (can be replaced with other websites, eg wikipedia)
  • open devtools, select storage inspector (optionally you can close devtools here as well)
  • open MBT, debugger, open resource://devtools/server/actors/storage.js
  • set breakpoint at L159
  • restart MBT

You should now see the storage.js breakpoint 3 times in the breakpoints list.
Everytime you restart the MBT, there will be 2 additional storage.js entries.
Note that with wikipedia, I only get +1 per restart, I guess this depends on how many iframes are in the page.

Not 100% sure this is the same issue as the one above.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.