isTabEmpty should be a property on the tab rather than a global function

RESOLVED FIXED in Firefox 65

Status

()

enhancement
RESOLVED FIXED
8 months ago
8 months ago

People

(Reporter: standard8, Assigned: standard8)

Tracking

Trunk
Firefox 65
Points:
---

Firefox Tracking Flags

(firefox65 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

8 months ago
isTabEmpty is currently a global function on the browser window. This means we have to do calls such as `isTabEmpty(selectedTab)` or (worse) `window.isTabEmpty(selectedTab).

These should just be `selectedTab.isEmpty()`.
Assignee

Updated

8 months ago
Summary: isTabEmpty should be a function on the tab rather than a global function → isTabEmpty should be a property on the tab rather than a global function
Assignee

Comment 2

8 months ago
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=600e9fa1090fbfc83c29259ac9ce458961a4e9bf
Assignee: nobody → standard8
Status: NEW → ASSIGNED

Comment 3

8 months ago
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8af56b879033
isTabEmpty should be a property on the tab rather than a global function. r=dao

Comment 4

8 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/8af56b879033
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in before you can comment on or make changes to this bug.