Closed Bug 1763364 Opened 2 years ago Closed 2 years ago

Remove RootActor#getTab/BrowserTabList.getTab obsolete options

Categories

(DevTools :: Framework, task)

task

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(2 files)

Since Bug 1755963, the codebase migrated most callsites to pass a browserId to getTab.
Now that Firefox 99 is in release, the 2 other options, outerWindowID and tabId can be removed.
The only downside would be that we can break 3rd party tools using those, but I'd argue that if we did migrate to browserId to fix an issue, they should too.

This allows to remove the outerWindowID option from getTab.

Depends on D143026

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fc3ef78f1291
[devtools] Call getTab with browserId instead of outerWindowID. r=ochameau,devtools-backward-compat-reviewers,bomsy.
https://hg.mozilla.org/integration/autoland/rev/e680e874ca0d
[devtools] Remove getTab unused option tabId. r=ochameau,devtools-backward-compat-reviewers,bomsy.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: