Closed Bug 1757310 Opened 4 years ago Closed 4 years ago

Temporary extension Ispect tool lose connection after second reload

Categories

(WebExtensions :: Developer Tools, defect)

Firefox 97
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1778951

People

(Reporter: firefox, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

  1. Load a temporary extension with a backgroud script from about:debugging#/runtime/this-firefox
  2. Open Inspect Console with persistent logs
  3. Reload the temporary extension twice

manifest.json=
{
"description": "Test",
"manifest_version": 2,
"name": "test",
"version": "1.0",

"background": {
"scripts": ["background.js"]
}
}

background.js=
console.log("Test Ok ",Date.now());

Actual results:

Content of the console:
13:42:44.982 Test Ok 1645962164983 background.js:1:9
13:43:00.404 Navigated to about:blank
13:43:00.429 Navigated to moz-extension://abe10288-0736-48f0-9646-c11a66a6cd32/_generated_background_page.html
13:43:00.461 Test Ok 1645962180462

Expected results:

The second reload shoud add more text to the console. The 3rd Test Ok line is missing. Missing text is visible if the console is closed and opened again from the Inspect button.

The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Product: Firefox → WebExtensions
Component: Untriaged → Developer Tools
Flags: needinfo?(lgreco)

I am able to reproduce on 98.

Status: UNCONFIRMED → NEW
Ever confirmed: true

This seems to don't be reproducible anymore, the underlying issue was likely the same as Bug 1778951.

Closing as a duplicate of Bug 1778951.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(lgreco)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.