fune/browser/modules
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
..
test Bug 1463291: Move docShell getter from Document to Window. r=bz 2018-05-21 16:58:23 -07:00
AboutNewTab.jsm Bug 1369466 - Change consumers to the new location of RemotePageManager. r=mossop 2018-07-26 22:09:12 -03:00
AsyncTabSwitcher.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
BlockedSiteContent.jsm Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
BrowserErrorReporter.jsm Bug 1470505: Disable browser error collection for webextension errors. r=Gijs 2018-07-09 18:27:22 +00:00
BrowserUsageTelemetry.jsm Bug 1475571 - Replace follow-on addon with in tree telemetry. r=mikedeboer,florian 2018-08-07 11:59:16 +00:00
BrowserWindowTracker.jsm Bug 1466071: Part 1: Prevent orderedWindows from changing while iterating. r=mikedeboer 2018-06-05 13:47:58 -07:00
ClickEventHandler.jsm Bug 1480130 - Shadow DOM interferes with Cmd+click handling, r=felipe 2018-08-02 14:55:09 +03:00
ContentClick.jsm Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer 2018-07-25 09:10:07 +01:00
ContentCrashHandlers.jsm Bug 1369466 - Change consumers to the new location of RemotePageManager. r=mossop 2018-07-26 22:09:12 -03:00
ContentLinkHandler.jsm Bug 1478823: Start loading the default favicon as soon as the head element is complete. r=mak 2018-08-07 12:42:15 +00:00
ContentMetaHandler.jsm
ContentObservers.js Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag 2018-08-02 23:49:09 -04:00
ContentSearch.jsm Bug 1437942 - Remove search engines from langpacks. r=adw 2018-06-04 16:45:50 -05:00
ContentWebRTC.jsm Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag 2018-08-02 23:49:09 -04:00
ContextMenu.jsm Bug 1449968 - Add support for Inspect Element in Shadow DOM;r=bgrins 2018-07-05 18:48:24 +02:00
ExtensionsUI.jsm Bug 1463291: Move docShell getter from Document to Window. r=bz 2018-05-21 16:58:23 -07:00
Feeds.jsm Bug 1477670 - remove content handler code from browser/, r=florian,jkt 2018-07-24 17:54:40 +01:00
FormSubmitObserver.jsm Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag 2018-08-02 23:49:09 -04:00
FormValidationHandler.jsm Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer 2018-07-25 09:10:07 +01:00
HomePage.jsm Bug 721211: consolidate home page retrieval code, make it support non-localized prefs, r=jaws 2018-05-28 12:38:01 +02:00
LaterRun.jsm
LightweightThemeChildHelper.jsm Bug 1481270 - Small cleanups to LightweightThemeChildHelper.jsm. r=kmag 2018-08-06 18:33:55 +01:00
LightWeightThemeWebInstallListener.jsm Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag 2018-08-02 23:49:09 -04:00
moz.build Bug 1474163 - Make use of sharedData for content theme data. r=mconley 2018-07-13 16:21:34 +01:00
NetErrorContent.jsm Bug 1463291: Move docShell getter from Document to Window. r=bz 2018-05-21 16:58:23 -07:00
OpenInTabsUtils.jsm
PageActions.jsm Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer 2018-07-25 09:10:07 +01:00
PageInfoListener.jsm
PageStyleHandler.jsm Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag 2018-08-02 23:49:09 -04:00
PermissionUI.jsm Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
PingCentre.jsm
PluginContent.jsm Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
ProcessHangMonitor.jsm
ReaderParent.jsm Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer 2018-07-25 09:10:07 +01:00
RemotePrompt.jsm Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer 2018-07-25 09:10:07 +01:00
Sanitizer.jsm Bug 1477539 - Sanitizer.jsm must cleanup content preferences, r=Gijs 2018-07-30 23:15:15 +02:00
SavantShieldStudy.jsm Bug 1465694 - Add tab event telemetry for Savant Shield study; r=dao 2018-06-06 03:44:48 -07:00
SchedulePressure.jsm
SiteDataManager.jsm
SitePermissions.jsm Bug 1470082 - Change autoplay checkbox to combobox. r=cpearce,flod,johannh 2018-06-29 14:14:33 +01:00
TabsList.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
ThemeVariableMap.jsm Backed out 2 changesets (bug 1347204) for ESlint failure on browser_ext_themes_ntp_colors. CLOSED TREE 2018-07-06 01:13:43 +03:00
TransientPrefs.jsm
webrtcUI.jsm Bug 1459613 - Show extension name in PermissionUI / webrtcUI doorhangers and menus items. r=johannh 2018-05-16 19:32:42 +02:00
Windows8WindowFrameColor.jsm Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer 2018-07-25 09:10:07 +01:00
WindowsJumpLists.jsm Bug 1476238 - Use nsresult/promise rejection in initListBuild r=Gijs 2018-07-20 16:56:01 +00:00
WindowsPreviewPerTab.jsm Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
ZoomUI.jsm