fune/browser/components/downloads
Brian Grinstead abf1620630 Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.

The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):

  firstChild->firstElementChild
  lastChild->lastElementChild
  nextSibling->nextElementSibling
  previousSibling->previousElementSibling
  childNodes->children

MozReview-Commit-ID: 95NQ8syBhYw

--HG--
extra : rebase_source : 186d805f7a2a56694dda9032aceac2dfe5424753
2018-08-08 15:22:53 -07:00
..
content Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo 2018-08-08 15:22:53 -07:00
test/browser Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
DownloadsCommon.jsm Bug 1468980 - Change downloads code to save downloads via the new async history API. r=mak 2018-07-27 11:35:27 +01:00
DownloadsSubview.jsm Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo 2018-08-08 15:22:53 -07:00
DownloadsTaskbar.jsm Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
DownloadsViewUI.jsm Bug 1034036 - Part 2: Rename and shorten getMostRecentBrowserWindow to getTopWindow and modernize the style used in BrowserWindowTracker.jsm. r=dao 2018-04-11 12:05:59 +02:00
jar.mn Bug 1443971 - Remove allDownloadsViewOverlay.xul. r=Paolo 2018-03-19 16:21:50 -07:00
moz.build Bug 1354532 - Part 1 - Implement a new Downloads view as part of the Library widget. r=Paolo 2017-09-06 16:23:00 +02:00