Closed Bug 1502069 Opened 2 years ago Closed 2 years ago
Tab Empty should be a property on the tab rather than a global function
46 bytes, text/x-phabricator-request
|Details | Review|
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()`.
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
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=600e9fa1090fbfc83c29259ac9ce458961a4e9bf
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/8af56b879033 isTabEmpty should be a property on the tab rather than a global function. r=dao
You need to log in before you can comment on or make changes to this bug.