Closed Bug 1539294 Opened 7 years ago Closed 6 years ago

Extensions can cause XHR Breakpoint pauses in index file, not on the right fetch

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1548707

People

(Reporter: Harald, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached image image.png

What were you doing?

  1. Open Debugger on https://panoramic-kitty.glitch.me/
  2. Enable to pause on XHR
  3. Wait for pausing

What happened?

Pauses on fetch in index.js

What should have happened?

Pauses on first line in index.html

Logan, I am not sure if I have seen this working correctly before. Is the backend providing enough information to pause in index.js?

Flags: needinfo?(lsmyth)
Attached image image.png

I am not sure if it behaves the same for me.

The execution pauses in client.js, line 7 on my machine.

Honza

I'm also not able to reproduce this on Nightly, but it does happen to me on 66. Perhaps this is something we fixed with Brian's source work?

Flags: needinfo?(lsmyth)

This is probably an extension that overrides the fetch behavior, as I can see the minified fetch inspected in the scope. Trying to see which extension this would be …

Summary: XHR Breakpoint pauses in index file, not on the right fetch → Extensions can cause XHR Breakpoint pauses in index file, not on the right fetch
Priority: -- → P3
Blocks: dbg-addon
No longer blocks: dbg-event-bps

Harald, can you point me to an extension that you think caused the problem? I can test it. Currently, I am still seeing the same, the execution pauses in client.js, line 7 on my machine - there is no issue.

Or we might want to close this one.

Honza

Flags: needinfo?(hkirschner)

Confirmed that the extension causing this is LastPass, which overrides fetch in its content script.

Flags: needinfo?(hkirschner)

Perfect. I think this is a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1548707 It just shouldn't be showing that HTML file in the first place. It should show you the extension script, or not pause.

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

Attachment

General

Created:
Updated:
Size: