gecko-dev/browser/modules
Andrew Swan f1d137eff5 Bug 1555060 Stop using dom structure for <tabs>/<tab> relationships
A bunch of existing code assumes that <tab> elements are the immediate
and only children of a <tabs> element, and uses dom apis to traverse
relationships between these elements.  To simplify conversion of <tabs>
to a custom element (and hopefully improve readability a bit at the same
time!), introduce new apis:

On <tab>
this.parentNode -> this.container
this.nextElementSibling -> this.container.findNextTab(...)
this.previousElementSibiling -> this.container.findNextTab(...)

On <tabs>
this.children -> this.allTabs

Differential Revision: https://phabricator.services.mozilla.com/D34648

--HG--
extra : source : f4e21e465f384b90fa1e768141c4db708748bf66
extra : histedit_source : 95d8a4242e8e04df9e29c2b647558d37e910b845
2019-06-11 14:49:46 -07:00
..
test Bug 1555060 Stop using dom structure for <tabs>/<tab> relationships 2019-06-11 14:49:46 -07:00
AboutNewTab.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
AsanReporter.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
AsyncTabSwitcher.jsm Bug 1544834 - Replace non-test uses of deprecated Array generics r=evilpie,dao 2019-04-17 19:03:17 +00:00
BrowserUsageTelemetry.jsm Bug 1505535 - Add tab usage probes for pinned tabs r=janerik 2019-03-26 09:12:10 +00:00
BrowserWindowTracker.jsm Backed out changeset 59c8fffe9e41 (bug 1442694) 2019-03-07 11:41:29 +01:00
ContentClick.jsm Bug 1557887 - Part 5: Pass a storage principal argument through the browser loadURI()/addTab() APIs; r=baku,mconley 2019-06-12 23:05:36 +00:00
ContentCrashHandlers.jsm Bug 1533955 - Show some UI to indicate that a subframe has crashed. r=NeilDeakin 2019-05-01 20:05:24 +00:00
ContentMetaHandler.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
ContentObservers.js Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
ContentSearch.jsm Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
Discovery.jsm Bug 1554464 - Merge nsICookie2 and nsICookie in 1 single interface, r=Ehsan 2019-05-31 09:36:44 +00:00
EveryWindow.jsm Bug 1416163 - Implement EveryWindow.jsm to run arbitrary per-window code. r=johannh 2019-04-16 16:17:25 +00:00
ExtensionsUI.jsm Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
FaviconLoader.jsm Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
FormValidationHandler.jsm Bug 1529205 - Remove DateTimePickerParent's dependency on gBrowser; r=mconley 2019-06-26 18:15:28 +00:00
HomePage.jsm Bug 1537736 - Use HomePage.get()/set() more consistently r=nanj 2019-04-23 18:30:07 +00:00
LaterRun.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
LiveBookmarkMigrator.jsm Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
moz.build Bug 1536454 - Part 4 - Add event telemetry for permission prompt studies. r=Ehsan 2019-04-18 13:43:29 +00:00
NewTabPagePreloading.jsm Bug 1544811 - Use web processes on a per-site basis for fission-enabled windows, r=mconley 2019-05-03 21:31:57 +00:00
OpenInTabsUtils.jsm Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
PageActions.jsm Bug 1557871 Fix badged-button leftovers r=dao 2019-06-11 14:36:18 +00:00
PermissionUI.jsm Bug 1557729 - Use principal for permission post prompts instead of URI. r=xeonchen 2019-06-14 15:49:25 +00:00
PermissionUITelemetry.jsm Bug 1536454 - Part 4 - Add event telemetry for permission prompt studies. r=Ehsan 2019-04-18 13:43:29 +00:00
PingCentre.jsm Bug 1548388 - Add focus states, fill telemetry and bug fixes to Activity Stream r=r1cky 2019-05-01 22:55:10 +00:00
ProcessHangMonitor.jsm Bug 1527495 - migrate text-link binding to CE, r=bgrins 2019-02-12 19:14:40 -05:00
ReaderParent.jsm Bug 1524688: Part 2 - Convert BrowserGlue and friends to static registration. r=mconley 2019-01-29 17:44:35 -08:00
RemotePrompt.jsm Bug 1560192 - Clean up prompt open calls in Prompter.jsm. r=Gijs 2019-06-19 21:59:18 +00:00
Sanitizer.jsm Bug 1549830 - Create content blocking database. r=johannh 2019-06-21 22:45:47 +00:00
SelectionChangedMenulist.jsm Bug 1518932 - Convert menulist to custom element r=paolo 2019-01-28 18:24:08 +00:00
SiteDataManager.jsm Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
SitePermissions.jsm Bug 1557579 - Fix autoplay permission label r=johannh,flod 2019-06-22 12:51:03 +00:00
TabsList.jsm Bug 1528459 - Show PiP Icon in parent tab of media. r=mconley 2019-05-22 18:44:28 +00:00
TabUnloader.jsm Bug 675539 - Unload tabs in low-memory scenarios r=mconley 2019-02-27 22:24:27 +00:00
ThemeVariableMap.jsm Bug 1541910 - Use the chrome/content separator color for the urlbar results popup's top and bottom borders consistently across platforms and remove left and right borders. r=mak 2019-04-11 11:47:18 +00:00
TransientPrefs.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
webrtcUI.jsm Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
Windows8WindowFrameColor.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
WindowsJumpLists.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
WindowsPreviewPerTab.jsm Bug 1539311 - Fix incorrect parameter in the Windows Taskbar Previews code. r=Standard8 2019-03-27 10:26:53 +00:00
ZoomUI.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00