fune/browser/components/customizableui
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 Bug 1470910 - Migrate input-box and input-box-spell to a Custom Element;r=paolo 2018-08-02 20:53:59 -07:00
CustomizableUI.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
CustomizableWidgets.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
CustomizeMode.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
DragPositionManager.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
moz.build Bug 1444392 - Part 1 - Add test-only helpers to open and close the main menu. r=Gijs 2018-04-04 11:34:16 +01:00
PanelMultiView.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
ScrollbarSampler.jsm Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer 2018-07-25 09:10:07 +01:00
SearchWidgetTracker.jsm Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer 2018-07-25 09:10:07 +01:00