fune/browser/components
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
..
about Bug 1369466 - Change consumers to the new location of RemotePageManager. r=mossop 2018-07-26 22:09:12 -03:00
attribution Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE 2018-07-26 11:13:28 +03:00
build Bug 1344771 - Implement attribution on OSX using quarantine data, r=mossop,spohl 2018-07-23 11:01:26 -03:00
contextualidentity
controlcenter/content Bug 1480082 - Remove broadcasters from the identity panel. r=johannh 2018-08-01 13:51:39 +01:00
customizableui 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
dirprovider
downloads 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
enterprisepolicies Bug 1470324 - Clean up some unused code in EnterprisePoliciesContent.js. r=kmag 2018-07-27 14:51:12 -03:00
extensions 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
feeds Backed out 3 changesets (bug 1479569) for devtools/client/responsive.html failures. CLOSED TREE 2018-08-03 10:39:12 +03:00
library
migration Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE 2018-08-08 22:11:56 +03:00
newtab Merge inbound to mozilla-central. a=merge 2018-08-08 12:58:36 +03:00
originattributes Bug 1473247 - Part 2: Add a test case for making sure that IP addresses can work properly for the firstPartyDomain. r=arthuredelstein,baku 2018-07-13 19:55:02 +00:00
payments Backed out 2 changesets (bug 1481021) for bc failures on security/sandbox/test/browser_bug1393259.js. 2018-08-08 03:22:16 +03:00
places 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
preferences Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-02 12:03:09 +03:00
privatebrowsing Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE 2018-08-08 22:11:56 +03:00
resistfingerprinting Bug 1471814 - Add a preference for Web Animations timelines; r=bz,hiro 2018-07-14 09:23:03 +09:00
safebrowsing/content/test Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE 2018-08-08 22:11:56 +03:00
search 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
sessionstore Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE 2018-08-08 22:11:56 +03:00
shell Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag 2018-08-03 00:05:07 +00:00
syncedtabs 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
tests Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs 2018-07-24 08:12:50 -07:00
translation Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE 2018-07-26 11:13:28 +03:00
uitour Backed out 2 changesets (bug 1481021) for bc failures on security/sandbox/test/browser_bug1393259.js. 2018-08-08 03:22:16 +03:00
.eslintrc.js
BrowserComponents.manifest
distribution.js Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs 2018-07-24 08:12:50 -07:00
moz.build Bug 1478041 - Remove some old UI migration steps. r=Gijs 2018-07-25 14:30:38 +02:00
nsBrowserContentHandler.js Bug 1369456 - Replace nsSessionStartup.js with SessionStartup.jsm. r=florian 2018-08-04 13:27:40 +02:00
nsBrowserGlue.js Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE 2018-08-08 22:11:56 +03:00
nsIBrowserHandler.idl