fune/browser/components/downloads/content
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
..
allDownloadsView.js Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
contentAreaDownloadsView.css
contentAreaDownloadsView.js
contentAreaDownloadsView.xul
download.xml
downloads.css Bug 1473521 - Load "richlistbox.css" as a document stylesheet. r=bgrins 2018-07-06 19:25:18 +01:00
downloads.js 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
downloadsCommands.inc.xul
downloadsContextMenu.inc.xul
downloadsPanel.inc.xul
downloadsRichListBox.inc.xul
indicator.js