Closed Bug 1884618 Opened 1 year ago Closed 5 months ago

Remove unnecessary `filterStack` function from ExtensionUtils.sys.mjs

Categories

(WebExtensions :: General, task, P3)

task

Tracking

(firefox143 fixed)

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: standard8, Assigned: reachcmphere, Mentored)

Details

(Keywords: good-first-bug)

Attachments

(1 file, 4 obsolete files)

The filterStack function in ExtensionUtils.sys.mjs is intended for replacing Task.jsm and Promise-backed.js in stacks with <Promise chain>. However, neither of those files now exist, so this function is no longer necessary.

Summary: Remove unnecessary `filterStack` function from ExtensionUtils.sy.mjs → Remove unnecessary `filterStack` function from ExtensionUtils.sys.mjs
Mentor: wdurand
Severity: -- → N/A
Keywords: good-first-bug
Priority: -- → P3

The bug explanation indicates filterStack function needs removing from file ExtensionUtils.sys.mjs, but we found that filterStack was referenced in at least 1 other location (ExtensionCommon.sys.mjs), too. The second location uses the reference in a way that seems to need some context. Should these references be replaced with something else or safely removed?

Flags: needinfo?(wdurand)

Yes, I suppose we need to remove both.

Flags: needinfo?(wdurand)
Attachment #9499073 - Attachment is obsolete: true
Attachment #9499865 - Attachment is obsolete: true

Are there any tests I should run for this?

Flags: needinfo?(wdurand)
Assignee: nobody → reachcmphere
Status: NEW → ASSIGNED
Attachment #9500117 - Attachment is obsolete: true
Attachment #9500230 - Attachment is obsolete: true

Comment on attachment 9500249 [details]
Bug 1884618 - Remove unnecessary filterStack function from ExtensionUtils.sys.mjs. r?willdurand!

Revision D257110 was moved to bug 1884619. Setting attachment 9500249 [details] to obsolete.

Attachment #9500249 - Attachment is obsolete: true
Attachment #9500249 - Attachment description: Bug 1884618 - Remove unnecessary function from ExtensionUtils.sys.mjs. r?willdurand! → Bug 1884618 - Remove unnecessary filterStack function from ExtensionUtils.sys.mjs. r?willdurand!
Attachment #9500249 - Attachment is obsolete: false
Pushed by rob@robwu.nl: https://github.com/mozilla-firefox/firefox/commit/b09675f0f335 https://hg.mozilla.org/integration/autoland/rev/29cd8acaa5ac Remove unnecessary filterStack function from ExtensionUtils.sys.mjs. r=robwu
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
Flags: needinfo?(wdurand)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: