Closed Bug 1648511 Opened 4 years ago Closed 4 years ago

the channel should be resumed even the applyChange throws

Categories

(WebExtensions :: Request Handling, defect)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: CuveeHsu, Unassigned)

Details

The channel is already resumed outside the large try-catch block (containing the .suspend() call): https://searchfox.org/mozilla-central/rev/cfaa250d14e344834932de4c2eed0061701654da/toolkit/components/extensions/webrequest/WebRequest.jsm#1064

What is missing?

Flags: needinfo?(juhsu)

Thanks for taking a look, Rob and Shane.
It might be somewhere else given we see two suspension but one resumption.
I'll take another look to see where the suspension is.

Flags: needinfo?(juhsu)

Please see https://bugzilla.mozilla.org/show_bug.cgi?id=1648101#c12
I believe it's not about the SetNewListener failure.

INVALID given I failed to find a way to reproduce and figure out where the suspension is. (Even it's right after SetNewListener, but it still possible suspended by other on-modify observers for the log https://bugzilla.mozilla.org/show_bug.cgi?id=1648101#c3)

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