fune/browser/base/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
..
defaultthemes
docs Bug 1176019 - Cache layers of background tabs r=mconley 2018-04-16 15:35:41 -07:00
illustrations
overrides
pageinfo Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
test Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-09 09:25:15 +03:00
aboutDialog-appUpdater.js Bug 1420514 - Remove pref app.update.enabled from the update mechanism r=rstrong 2018-05-21 14:58:34 -07:00
aboutDialog.css
aboutDialog.js
aboutDialog.xul Bug 1420514 - Remove pref app.update.enabled from the update mechanism r=rstrong 2018-05-21 14:58:34 -07:00
aboutNetError-new.xhtml Bug 1480038 - Update the Continue button in new cert-error pages r=flod 2018-08-01 15:31:43 +05:30
aboutNetError.js Bug 1475025 - Vertically center the various error pages r=johannh 2018-07-17 21:36:53 +05:30
aboutNetError.xhtml
aboutRestartRequired.js
aboutRestartRequired.xhtml
aboutRobots-icon.png
aboutRobots-widget-left.png
aboutRobots.css
aboutRobots.js
aboutRobots.xhtml
aboutTabCrashed.css
aboutTabCrashed.js Bug 1463663 - Prefix exported functions of the RemotePageManager with RPM. r=mossop 2018-06-27 09:08:32 +02:00
aboutTabCrashed.xhtml
blockedSite.js Bug 1452604 - Meta CSP applied to content privileged about:blocked r=Gijs,ckerschb 2018-07-04 09:12:52 +00:00
blockedSite.xhtml Bug 1452604 - Meta CSP applied to content privileged about:blocked r=Gijs,ckerschb 2018-07-04 09:12:52 +00:00
browser-addons.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
browser-allTabsMenu.inc.xul Bug 1470947 - Part 5: Remove block padding from scrollbars in all tabs menu r=dao 2018-06-25 13:23:03 -04:00
browser-allTabsMenu.js Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins 2018-07-31 19:13:38 +00:00
browser-captivePortal.js
browser-compacttheme.js Bug 1413144 - Make accentcolor and textcolor optional. r=jaws 2018-07-10 13:27:55 +01:00
browser-context.inc Bug 1365626 - Remove View MathML Source feature. r=mconley 2018-06-28 20:45:31 +00:00
browser-ctrlTab.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
browser-customization.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
browser-data-submission-info-bar.js
browser-development-helpers.js Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins 2018-07-31 19:13:38 +00:00
browser-doctype.inc Bug 1396839 - "Nightly Start Page" tooltip is displayed for "Home" button when Activity Stream overrides about:home. r=Felipe,flod 2018-05-21 11:41:58 -07:00
browser-feeds.js Bug 1477670 - remove content handler code from browser/, r=florian,jkt 2018-07-24 17:54:40 +01:00
browser-fullScreenAndPointerLock.js Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
browser-fullZoom.js
browser-gestureSupport.js
browser-media.js Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins 2018-07-31 19:13:38 +00:00
browser-menubar.inc Bug 1465477 Part 1 - Add menu items and prefs for recording/replaying tabs, r=markh. 2018-07-24 21:32:16 +00:00
browser-pageActions.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
browser-places.js Bug 1479722 - Rework PlacesUtils.setCharsetForURI to PlacesUIUtils.setCharsetForPage and avoid main thread sync io. r=mak 2018-08-01 10:13:59 +00:00
browser-plugins.js Backed out changeset 1e9ecba54e7b (bug 1348273) for failing on widget/tests/test_bug1123480.xul 2018-08-04 12:39:40 +03:00
browser-safebrowsing.js Bug 1475304 - Remove broadcasters that only have one observer;r=Gijs,johannh 2018-07-16 11:47:58 -07:00
browser-sets.inc Bug 1478626 - Remove unused Browser:NextTab and Browser:PrevTab commands. r=dao 2018-08-03 00:04:04 +07:00
browser-sidebar.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
browser-siteIdentity.js Bug 1480082 - Remove broadcasters from the identity panel. r=johannh 2018-08-01 13:51:39 +01:00
browser-sync.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
browser-tabsintitlebar.js
browser-thumbnails.js
browser-trackingprotection.js Bug 1476317 - Fix identity popup display for pages with exceptions that have blocked content. r=nhnt11 2018-07-18 16:33:06 +02:00
browser-webrender.js Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
browser.css Bug 1480541 - Remove em-dash from search string dropdown text when the search query is empty. r=mak 2018-08-08 19:52:59 +00:00
browser.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
browser.xul Bug 1358443 - remove reflows from adjustHeight itself, r=mak,florian 2018-07-26 13:17:41 +00:00
content-refreshblocker.js Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
content.js Bug 1474155: Part 5 - Null out frame script singleton init methods after they're called. r=mconley 2018-07-07 20:49:30 -07:00
contentSearchUI.css
contentSearchUI.js
contentTheme.js Bug 1474163 - Make use of sharedData for content theme data. r=mconley 2018-07-13 16:21:34 +01:00
global-scripts.inc
hiddenWindow.xul Bug 1472787 - Remove hiddenWindow.xul from non-mac builds r=enndeakin+6102 2018-07-02 13:41:32 -07:00
history-swipe-arrow.svg
macWindow.inc.xul Bug 1473160 - Move non browser window startup and shutdown functionality into a separate JS file;r=Gijs 2018-07-11 06:47:16 -07:00
moz.build Bug 1446101 - Part 2: Convert the all tabs panel to photon styles r=dao 2018-06-06 15:48:21 -05:00
nonbrowser-mac.js Bug 1473160 - Move the startup and shutdown functions out of gBrowserInit;r=Gijs 2018-07-11 06:47:19 -07:00
nsContextMenu.js Bug 1480310. Use docshell's editingSession getter instead of getInterface to get editing sessions. r=kmag 2018-08-02 19:15:27 +00:00
popup-notifications.inc
robot.ico
safeMode.css
safeMode.js
safeMode.xul
sanitize.xul Bug 1473275 - Remove the details expander in the Clear Recent History dialog. r=johannh 2018-07-04 17:27:15 +01:00
sanitizeDialog.css
sanitizeDialog.js Bug 1473275 - Remove the details expander in the Clear Recent History dialog. r=johannh 2018-07-04 17:27:15 +01:00
static-robot.png
tab-content.js Backed out 12 changesets (bug 1479309, bug 1479312, bug 1479313, bug 1479310, bug 1479235, bug 1479945, bug 1479241, bug 1479318) for causing a big performance regression on OS X. a=backout 2018-08-07 17:30:52 +03:00
tabbrowser.css Bug 1458018 - Add style for multiselected tabs. r=jaws 2018-06-03 05:04:48 +00:00
tabbrowser.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
tabbrowser.xml 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
theme-vars.inc.css
urlbarBindings.xml 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
utilityOverlay.js Backed out changeset 4cba8b6eb37a (bug 1466801) for wpt failures. CLOSED TREE 2018-07-25 00:37:59 +03:00
webext-panels.js
webext-panels.xul Bug 1470870 - Load "menu.css" as a document stylesheet. r=bgrins 2018-07-13 10:20:21 +01:00
webrtcIndicator.js
webrtcIndicator.xul