Browse Source

rebase after pushes

Frank-Rainer Grahl 9 months ago
parent
commit
e139cc4b85

+ 0 - 50
comm-central/patches/9999999-port1850647-suite-bustage.patch

@@ -1,50 +0,0 @@
-# HG changeset patch
-# User Bill Gianopoulos <wgianopoulos@gmail.com>
-# Date 1697193985 0
-Bug 9999999 - Port bug 1850647 to suite.
-Bug 1850647 Add optional filename argument to preprocessor.
-
-diff --git a/suite/app/Makefile.in b/suite/app/Makefile.in
---- a/suite/app/Makefile.in
-+++ b/suite/app/Makefile.in
-@@ -35,17 +35,17 @@ ifeq ($(OS_ARCH),WINNT)
- EXTRA_DEPS += $(srcdir)/seamonkey.exe.manifest
- endif
- 
- include $(topsrcdir)/config/rules.mk
- 
- # channel-prefs.js is handled separate from other prefs due to bug 756325.
- libs:: $(srcdir)/profile/channel-prefs.js
- 	$(NSINSTALL) -D $(DIST)/bin/defaults/pref
--	$(call py_action,preprocessor,-Fsubstitution $(PREF_PPFLAGS) $(ACDEFINES) $^ -o $(DIST)/bin/defaults/pref/channel-prefs.js)
-+	$(call py_action,preprocessor channel-prefs.js,-Fsubstitution $(PREF_PPFLAGS) $(ACDEFINES) $^ -o $(DIST)/bin/defaults/pref/channel-prefs.js)
- 
- libs:: $(LICENSE_TXT_FILE)
- ifeq ($(OS_ARCH),WINNT)
- 	$(EXIT_ON_ERROR) \
- 	perl -pe 's/(?<!\r)\n/\r\n/g;' < $^ > $(DIST)/bin/license.txt
- 
- else
- 	$(INSTALL) $(IFLAGS1) $^ $(DIST)/bin/
-diff --git a/suite/installer/windows/Makefile.in b/suite/installer/windows/Makefile.in
---- a/suite/installer/windows/Makefile.in
-+++ b/suite/installer/windows/Makefile.in
-@@ -37,17 +37,17 @@ endif
- 
- $(CONFIG_DIR)/setup.exe::
- 	$(RM) -r $(CONFIG_DIR)
- 	$(MKDIR) $(CONFIG_DIR)
- 	$(INSTALL) $(addprefix $(srcdir)/,$(INSTALLER_FILES)) $(CONFIG_DIR)
- 	$(INSTALL) $(addprefix $(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)/,$(BRANDING_FILES)) $(CONFIG_DIR)
- 	$(PYTHON3) $(topsrcdir)/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py \
- 	  --convert-utf8-utf16le $(topsrcdir)/comm/suite/installer/license.txt $(CONFIG_DIR)/license.txt
--	$(call py_action,preprocessor,-Fsubstitution $(DEFINES) $(ACDEFINES) \
-+	$(call py_action,preprocessor defines.nsi,-Fsubstitution $(DEFINES) $(ACDEFINES) \
- 	  $(srcdir)/nsis/defines.nsi.in -o $(CONFIG_DIR)/defines.nsi)
- 	$(PYTHON3) $(topsrcdir)/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py \
- 	  --preprocess-locale $(topsrcdir) \
- 	  $(PPL_LOCALE_ARGS) $(AB_CD) $(CONFIG_DIR)
- 
- GARBARGE_DIRS += instgen
- 
- include $(topsrcdir)/config/rules.mk

+ 0 - 47
comm-central/patches/9999999-port1859739-suite-bustage.patch

@@ -1,47 +0,0 @@
-# HG changeset patch
-# User Bill Gianopoulos <wgianopoulos@gmail.com>
-# Date 1697716235 0
-Bug 9999999 - Port bug 1859739 to suite.
-Bug 1859739 - Give more explicit name to preprocessor function F in migration code.
-
-diff --git a/suite/components/migration/src/nsSuiteProfileMigratorBase.h b/suite/components/migration/src/nsSuiteProfileMigratorBase.h
---- a/suite/components/migration/src/nsSuiteProfileMigratorBase.h
-+++ b/suite/components/migration/src/nsSuiteProfileMigratorBase.h
-@@ -24,23 +24,33 @@ struct fileTransactionEntry {
-   nsString newName; // only valid if the file should be renamed after
-                     // getting copied
- };
- 
- #define FILE_NAME_PREFS           "prefs.js"
- #define FILE_NAME_JUNKTRAINING    "training.dat"
- #define FILE_NAME_VIRTUALFOLDERS  "virtualFolders.dat"
- 
--#define F(a) nsSuiteProfileMigratorBase::a
-+#define TRANSFORMFUNCTION(a) nsSuiteProfileMigratorBase::a
- 
- #define MAKEPREFTRANSFORM(pref, newpref, getmethod, setmethod) \
--  { pref, newpref, F(Get##getmethod), F(Set##setmethod), false, { -1 } }
-+  {                                                            \
-+    pref, newpref, TRANSFORMFUNCTION(Get##getmethod),          \
-+        TRANSFORMFUNCTION(Set##setmethod), false, {            \
-+      -1                                                       \
-+    }                                                          \
-+  }
- 
--#define MAKESAMETYPEPREFTRANSFORM(pref, method) \
--  { pref, 0, F(Get##method), F(Set##method), false, { -1 } }
-+#define MAKESAMETYPEPREFTRANSFORM(pref, method)                              \
-+  {                                                                          \
-+    pref, 0, TRANSFORMFUNCTION(Get##method), TRANSFORMFUNCTION(Set##method), \
-+        false, {                                                             \
-+      -1                                                                     \
-+    }                                                                        \
-+  }
- 
- class nsSuiteProfileMigratorBase : public nsISuiteProfileMigrator,
-                                    public nsITimerCallback,
-                                    public nsINamed
- {
- public:
-   NS_DECL_ISUPPORTS
-   NS_DECL_NSITIMERCALLBACK

+ 0 - 569
comm-central/patches/TOP-1611010-DOMEventListener-cc.patch

@@ -1,569 +0,0 @@
-# HG changeset patch
-# User Ian Neal <iann_cvs@blueyonder.co.uk>
-# Date 1579738200 -3600
-# Parent  0a3a7c8d42accfdb20558afb67e8d43d70d3a019
-Bug 1611010 - Port |Bug 1453345 part 5 - Remove pointless JS implementaions of QI to nsIDOMEventListener| and |Bug 1453487 part 2 - Remove useless implements="nsIDOMEventListener" from XBL bindings| to SeaMonkey. r=frg
-
-diff --git a/suite/base/content/viewZoomOverlay.js b/suite/base/content/viewZoomOverlay.js
---- a/suite/base/content/viewZoomOverlay.js
-+++ b/suite/base/content/viewZoomOverlay.js
-@@ -29,18 +29,17 @@ var FullZoom = FullZoom || {
-   get siteSpecific() {
-     return this._siteSpecificPref;
-   },
- 
-   //**************************************************************************//
-   // nsISupports
- 
-   QueryInterface:
--  XPCOMUtils.generateQI([Ci.nsIDOMEventListener,
--                         Ci.nsIObserver,
-+  XPCOMUtils.generateQI([Ci.nsIObserver,
-                          Ci.nsIContentPrefObserver,
-                          Ci.nsIContentPrefCallback2,
-                          Ci.nsISupportsWeakReference]),
- 
-   //**************************************************************************//
-   // Initialization & Destruction
- 
-   init: function FullZoom_init() {
-@@ -67,17 +66,17 @@ var FullZoom = FullZoom || {
-     Services.contentPrefs2.removeObserverForName(this.name, this);
-     window.removeEventListener("wheel", this, true);
-   },
- 
- 
-   //**************************************************************************//
-   // Event Handlers
- 
--  // nsIDOMEventListener
-+  // EventListener
- 
-   handleEvent: function FullZoom_handleEvent(event) {
-     switch (event.type) {
-       case "wheel":
-         this._handleMouseScrolled(event);
-         break;
-     }
-   },
-diff --git a/suite/browser/browser-places.js b/suite/browser/browser-places.js
---- a/suite/browser/browser-places.js
-+++ b/suite/browser/browser-places.js
-@@ -62,17 +62,17 @@ var StarUI = {
-   _restoreCommandsState: function SU__restoreCommandsState() {
-     this._blockedCommands.forEach(function (elt) {
-       if (elt.getAttribute("wasDisabled") != "true")
-         elt.removeAttribute("disabled");
-       elt.removeAttribute("wasDisabled");
-     });
-   },
- 
--  // nsIDOMEventListener
-+  // EventListener
-   handleEvent: function SU_handleEvent(aEvent) {
-     switch (aEvent.type) {
-       case "popuphidden":
-         if (aEvent.originalTarget == this.panel) {
-           if (!this._element("editBookmarkPanelContent").hidden)
-             this.quitEditMode();
- 
-           this._restoreCommandsState();
-diff --git a/suite/browser/nsTypeAheadFind.js b/suite/browser/nsTypeAheadFind.js
---- a/suite/browser/nsTypeAheadFind.js
-+++ b/suite/browser/nsTypeAheadFind.js
-@@ -64,17 +64,16 @@ typeAheadFind.prototype = {
-   mTimer: null,
-   mXULBrowserWindow: null,
- 
-   /* nsISupports */
-   QueryInterface: XPCOMUtils.generateQI([
-       Ci.nsISupportsWeakReference,
-       Ci.nsIObserver,
-       Ci.nsITimerCallback,
--      Ci.nsIDOMEventListener,
-       Ci.nsISelectionListener]),
- 
-   /* nsIObserver */
-   observe: function(aSubject, aTopic, aData) {
-     if (aTopic == "app-startup") {
-       // It's now safe to get our pref branch.
-       this.mPrefs = Services.prefs.getBranch("accessibility.typeaheadfind.");
-       // We need to add our event listeners to all windows.
-@@ -111,17 +110,17 @@ typeAheadFind.prototype = {
-     }
-   },
- 
-   /* nsITimerCallback */
-   notify: function(aTimer) {
-     this.stopFind(false);
-   },
- 
--  /* nsIDOMEventListener */
-+  /* EventListener */
-   handleEvent: function(aEvent) {
-     if (!aEvent.type.startsWith("key")) {
-       this.stopFind(false);
-       return true;
-     }
- 
-     // We don't care about these keys.
-     if (aEvent.altKey || aEvent.ctrlKey || aEvent.metaKey)
-diff --git a/suite/browser/tabbrowser.xml b/suite/browser/tabbrowser.xml
---- a/suite/browser/tabbrowser.xml
-+++ b/suite/browser/tabbrowser.xml
-@@ -3382,17 +3382,17 @@
-               </xul:hbox>
-             </xul:stack>
-           </xul:hbox>
-           <xul:spacer class="tabs-bottom-spacer"/>
-         </xul:vbox>
-       </xul:stack>
-     </content>
- 
--    <implementation implements="nsIDOMEventListener">
-+    <implementation>
-       <constructor>
-         <![CDATA[
-           var tab = this.firstChild;
-           // set the tabstrip's minWidth too, otherwise it immediately overflows
-           this.arrowScrollbox.style.minWidth =
-           tab.style.minWidth = Services.prefs.getIntPref("browser.tabs.tabMinWidth") + "px";
-           tab.style.maxWidth = Services.prefs.getIntPref("browser.tabs.tabMaxWidth") + "px";
-           window.addEventListener("resize", this);
-@@ -3541,17 +3541,17 @@
-           this._handleMouseScroll(event);
-         ]]>
-       </handler>
-     </handlers>
-   </binding>
- 
-   <binding id="tabbrowser-alltabs-popup"
-            extends="chrome://global/content/bindings/popup.xml#popup">
--    <implementation implements="nsIDOMEventListener">
-+    <implementation>
-       <method name="_tabOnTabClose">
-         <parameter name="aEvent"/>
-         <body>
-           <![CDATA[
-             let menuItem = aEvent.target.mCorrespondingMenuitem;
-             if (menuItem)
-               menuItem.remove();
-           ]]>
-diff --git a/suite/browser/urlbarBindings.xml b/suite/browser/urlbarBindings.xml
---- a/suite/browser/urlbarBindings.xml
-+++ b/suite/browser/urlbarBindings.xml
-@@ -44,17 +44,17 @@
-         <xul:panel type="autocomplete" anonid="popup"
-                    ignorekeys="true" noautofocus="true" level="top"
-                    xbl:inherits="for=id,nomatch"/>
-       </xul:popupset>
- 
-       <children includes="menupopup"/>
-     </content>
- 
--    <implementation implements="nsIObserver, nsIDOMEventListener">
-+    <implementation implements="nsIObserver">
-       <constructor><![CDATA[
-         this._prefs = Services.prefs.getBranch("browser.urlbar.");
-         this._prefs.addObserver("", this);
- 
-         this.updatePref("showPopup");
-         this.updatePref("autoFill");
-         this.updatePref("showSearch");
-         this.updatePref("formatting.enabled");
-diff --git a/suite/components/bindings/notification.xml b/suite/components/bindings/notification.xml
---- a/suite/components/bindings/notification.xml
-+++ b/suite/components/bindings/notification.xml
-@@ -13,17 +13,17 @@
- 
- <bindings id="browserNotificationBindings"
-           xmlns="http://www.mozilla.org/xbl"
-           xmlns:xbl="http://www.mozilla.org/xbl"
-           xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- 
-   <binding id="browser-notificationbox"
-            extends="chrome://global/content/bindings/notification.xml#notificationbox">
--    <implementation implements="nsIObserver, nsIFormSubmitObserver, nsIWebProgressListener, nsIWebProgressListener2, nsIDOMEventListener">
-+    <implementation implements="nsIObserver, nsIFormSubmitObserver, nsIWebProgressListener, nsIWebProgressListener2">
-       <field name="_stringBundle" readonly="true">
-         <![CDATA[
-           Services.strings.createBundle("chrome://communicator/locale/notification.properties");
-         ]]>
-       </field>
- 
-       <field name="_brandStringBundle" readonly="true">
-         <![CDATA[
-diff --git a/suite/components/feeds/FeedWriter.js b/suite/components/feeds/FeedWriter.js
---- a/suite/components/feeds/FeedWriter.js
-+++ b/suite/components/feeds/FeedWriter.js
-@@ -700,17 +700,17 @@ FeedWriter.prototype = {
-             break;
-         }
- 
-         checkbox.setAttribute("label", this._getFormattedString(stringLabel, [handlerName]));
-       }
-     }
-   },
- 
--  // nsIDOMEventListener
-+  // EventListener
-   handleEvent: function(event) {
-     if (event.target != this._document &&
-         event.target.ownerDocument != this._document) {
-       LOG("FeedWriter.handleEvent: Someone passed the feed writer as a listener to the events of another document!");
-       return;
-     }
- 
-     if (event.type == "load")
-@@ -1197,14 +1197,13 @@ FeedWriter.prototype = {
-         case PREF_AUDIO_SELECTED_ACTION:
-           this._setAlwaysUseCheckedState(feedType);
-       }
-     }
-   },
- 
-   classID: FEEDWRITER_CID,
-   QueryInterface: XPCOMUtils.generateQI([ Ci.nsIDOMGlobalPropertyInitializer,
--                                          Ci.nsIDOMEventListener,
-                                           Ci.nsIObserver])
- 
- };
- 
- var NSGetFactory = XPCOMUtils.generateNSGetFactory([FeedWriter]);
-diff --git a/suite/components/places/content/bookmarkProperties.js b/suite/components/places/content/bookmarkProperties.js
---- a/suite/components/places/content/bookmarkProperties.js
-+++ b/suite/components/places/content/bookmarkProperties.js
-@@ -344,17 +344,17 @@ var BookmarkPropertiesPanel = {
-               .addEventListener("input", this);
-         }
-       }
-     }
-     // Only enable the accept button once we've finished everything.
-     acceptButton.disabled = acceptButtonDisabled;
-   },
- 
--  // nsIDOMEventListener
-+  // EventListener
-   handleEvent: function BPP_handleEvent(aEvent) {
-     var target = aEvent.target;
-     switch (aEvent.type) {
-       case "input":
-         if (target.id == "editBMPanel_locationField" ||
-             target.id == "editBMPanel_keywordField") {
-           // Check uri fields to enable accept button if input is valid
-           document.documentElement
-@@ -368,18 +368,17 @@ var BookmarkPropertiesPanel = {
-           elementsHeight.set(id, newHeight);
-         }
-         break;
-     }
-   },
- 
-   // nsISupports
-   QueryInterface: function BPP_QueryInterface(aIID) {
--    if (aIID.equals(Ci.nsIDOMEventListener) ||
--        aIID.equals(Ci.nsISupports))
-+    if (aIID.equals(Ci.nsISupports))
-       return this;
- 
-     throw Cr.NS_NOINTERFACE;
-   },
- 
-   _element: function BPP__element(aID) {
-     return document.getElementById("editBMPanel_" + aID);
-   },
-diff --git a/suite/components/places/content/browserPlacesViews.js b/suite/components/places/content/browserPlacesViews.js
---- a/suite/components/places/content/browserPlacesViews.js
-+++ b/suite/components/places/content/browserPlacesViews.js
-@@ -998,18 +998,17 @@ function PlacesToolbar(aPlace) {
- 
- PlacesToolbar.prototype = {
-   __proto__: PlacesViewBase.prototype,
- 
-   _cbEvents: ["dragstart", "dragover", "dragexit", "dragend", "drop",
-               "mousemove", "mouseover", "mouseout"],
- 
-   QueryInterface: function PT_QueryInterface(aIID) {
--    if (aIID.equals(Ci.nsIDOMEventListener) ||
--        aIID.equals(Ci.nsITimerCallback))
-+    if (aIID.equals(Ci.nsITimerCallback))
-       return this;
- 
-     return PlacesViewBase.prototype.QueryInterface.apply(this, arguments);
-   },
- 
-   uninit: function PT_uninit() {
-     this._removeEventListeners(this._viewElt, this._cbEvents, false);
-     this._removeEventListeners(this._rootElt, ["popupshowing", "popuphidden"],
-@@ -1881,23 +1880,16 @@ function PlacesMenu(aPopupShowingEvent, 
- 
-   PlacesViewBase.call(this, aPlace, aOptions);
-   this._onPopupShowing(aPopupShowingEvent);
- }
- 
- PlacesMenu.prototype = {
-   __proto__: PlacesViewBase.prototype,
- 
--  QueryInterface: function PM_QueryInterface(aIID) {
--    if (aIID.equals(Ci.nsIDOMEventListener))
--      return this;
--
--    return PlacesViewBase.prototype.QueryInterface.apply(this, arguments);
--  },
--
-   _removeChild: function PM_removeChild(aChild) {
-     PlacesViewBase.prototype._removeChild.apply(this, arguments);
-   },
- 
-   uninit: function PM_uninit() {
-     this._removeEventListeners(this._rootElt, ["popupshowing", "popuphidden"],
-                                true);
-     this._removeEventListeners(window, ["unload"], false);
-diff --git a/suite/components/places/content/editBookmarkOverlay.js b/suite/components/places/content/editBookmarkOverlay.js
---- a/suite/components/places/content/editBookmarkOverlay.js
-+++ b/suite/components/places/content/editBookmarkOverlay.js
-@@ -454,18 +454,17 @@ var gEditItemOverlay = {
-                                       this._folderMenuList.selectedIndex);
- 
-     // Hide the folders-separator if no folder is annotated as recently-used
-     this._element("foldersSeparator").hidden = (menupopup.childNodes.length <= 6);
-     this._folderMenuList.disabled = this.readOnly;
-   },
- 
-   QueryInterface:
--  XPCOMUtils.generateQI([Ci.nsIDOMEventListener,
--                         Ci.nsINavBookmarkObserver]),
-+  XPCOMUtils.generateQI([Ci.nsINavBookmarkObserver]),
- 
-   _element(aID) {
-     return document.getElementById("editBMPanel_" + aID);
-   },
- 
-   uninitPanel(aHideCollapsibleElements) {
-     if (aHideCollapsibleElements) {
-       // Hide the folder tree if it was previously visible.
-@@ -934,17 +933,17 @@ var gEditItemOverlay = {
-     this._folderTree.focus();
-     this._folderTree.selectItems([ip.itemId]);
-     PlacesUtils.asContainer(this._folderTree.selectedNode).containerOpen = true;
-     this._folderTree.selectItems([this._lastNewItem]);
-     this._folderTree.startEditing(this._folderTree.view.selection.currentIndex,
-                                   this._folderTree.columns.getFirstColumn());
-   },
- 
--  // nsIDOMEventListener
-+  // EventListener
-   handleEvent(aEvent) {
-     switch (aEvent.type) {
-     case "CheckboxStateChange":
-       // Update the tags field when items are checked/unchecked in the listbox
-       let tags = this._getTagsArrayFromTagsInputField();
-       let tagCheckbox = aEvent.target;
- 
-       let curTagIndex = tags.indexOf(tagCheckbox.label);
-diff --git a/suite/components/places/content/places.js b/suite/components/places/content/places.js
---- a/suite/components/places/content/places.js
-+++ b/suite/components/places/content/places.js
-@@ -157,18 +157,17 @@ var PlacesOrganizer = {
-     // remove the "Properties" context-menu item, we've our own details pane
-     document.getElementById("placesContext")
-             .removeChild(document.getElementById("placesContext_show:info"));
- 
-     ContentArea.focus();
-   },
- 
-   QueryInterface: function PO_QueryInterface(aIID) {
--    if (aIID.equals(Ci.nsIDOMEventListener) ||
--        aIID.equals(Ci.nsISupports))
-+    if (aIID.equals(Ci.nsISupports))
-       return this;
- 
-     throw Cr.NS_NOINTERFACE;
-   },
- 
-   handleEvent: function PO_handleEvent(aEvent) {
-     if (aEvent.type != "AppCommand")
-       return;
-diff --git a/suite/components/pref/content/pref-applications.js b/suite/components/pref/content/pref-applications.js
---- a/suite/components/pref/content/pref-applications.js
-+++ b/suite/components/pref/content/pref-applications.js
-@@ -759,35 +759,34 @@ var gApplicationsPane = {
-     Services.prefs.removeObserver(PREF_AUDIO_FEED_SELECTED_WEB, this);
-     Services.prefs.removeObserver(PREF_AUDIO_FEED_SELECTED_ACTION, this);
-   },
- 
- 
-   //**************************************************************************//
-   // nsISupports
- 
--  QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver,
--                                         Ci.nsIDOMEventListener]),
-+  QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver]),
- 
-   //**************************************************************************//
-   // nsIObserver
- 
-   observe(aSubject, aTopic, aData) {
-     // Rebuild the list when there are changes to preferences that influence
-     // whether or not to show certain entries in the list.
-     if (aTopic == "nsPref:changed" && !this._storingAction) {
-       // All the prefs we observe can affect what we display, so we rebuild
-       // the view when any of them changes.
-       this._rebuildView();
-     }
-   },
- 
- 
-   //**************************************************************************//
--  // nsIDOMEventListener
-+  // EventListener
- 
-   handleEvent(aEvent) {
-     switch (aEvent.type) {
-       case "unload":
-         this.destroy();
-         break;
-       case "select":
-         if (this._list.selectedItem)
-diff --git a/suite/components/sessionstore/nsSessionStore.js b/suite/components/sessionstore/nsSessionStore.js
---- a/suite/components/sessionstore/nsSessionStore.js
-+++ b/suite/components/sessionstore/nsSessionStore.js
-@@ -118,17 +118,16 @@ function SessionStoreService() {
-     this._prefBranch.addObserver("sessionstore.resume_from_crash", this, true);
-     return this._prefBranch.getBoolPref("sessionstore.resume_from_crash");
-   });
- }
- 
- SessionStoreService.prototype = {
-   classID: Components.ID("{d37ccdf1-496f-4135-9575-037180af010d}"),
-   QueryInterface: XPCOMUtils.generateQI([Ci.nsISessionStore,
--                                         Ci.nsIDOMEventListener,
-                                          Ci.nsIObserver,
-                                          Ci.nsISupportsWeakReference]),
- 
-   // xul:tab attributes to (re)store (extensions might want to hook in here);
-   // the favicon is always saved for the about:sessionrestore page
-   xulAttributes: {"image": true},
- 
-   // set default load state
-@@ -487,17 +486,17 @@ SessionStoreService.prototype = {
-       this.saveState();
-       break;
-     }
-   },
- 
- /* ........ Window Event Handlers .............. */
- 
-   /**
--   * Implement nsIDOMEventListener for handling various window and tab events
-+   * Implement EventListener for handling various window and tab events
-    */
-   handleEvent: function sss_handleEvent(aEvent) {
-     var win = aEvent.currentTarget.ownerDocument.defaultView;
-     switch (aEvent.type) {
-       case "load":
-         // If __SS_restore_data is set, then we need to restore the document
-         // (form data, scrolling, etc.). This will only happen when a tab is
-         // first restored.
-diff --git a/suite/mailnews/content/tabmail.xml b/suite/mailnews/content/tabmail.xml
---- a/suite/mailnews/content/tabmail.xml
-+++ b/suite/mailnews/content/tabmail.xml
-@@ -1051,17 +1051,17 @@
-                                position="after_end"/>
-               </xul:toolbarbutton>
-             </xul:stack>
-           </xul:hbox>
-         </xul:stack>
-       </xul:stack>
-     </content>
- 
--    <implementation implements="nsITimerCallback, nsIDOMEventListener, nsIObserver">
-+    <implementation implements="nsITimerCallback, nsIObserver">
-       <constructor>
-         <![CDATA[
-           this.mTabMinWidth  = Services.prefs.getIntPref ("browser.tabs.tabMinWidth");
-           this.mTabMaxWidth  = Services.prefs.getIntPref ("browser.tabs.tabMaxWidth");
-           this.mTabClipWidth = Services.prefs.getIntPref ("browser.tabs.tabClipWidth");
-           this.mCloseButtons = Services.prefs.getIntPref ("browser.tabs.closeButtons");
-           this.firstChild.minWidth = this.mTabMinWidth;
-           this.firstChild.maxWidth = this.mTabMaxWidth;
-@@ -1319,17 +1319,17 @@
-        This binding relies on the structure of the tabbrowser binding.
-        Therefore it should only be used as a child of the tabs element.
-        This binding is exposed as a pseudo-public-API so themes can customize
-        the tabbar appearance without having to be scriptable
-        (see globalBindings.xml in osx for example).
-   -->
-   <binding id="tabmail-alltabs-popup"
-            extends="chrome://global/content/bindings/popup.xml#popup">
--    <implementation implements="nsIDOMEventListener">
-+    <implementation>
-       <method name="_tabOnTabClose">
-         <parameter name="aEvent"/>
-         <body>
-           <![CDATA[
-             let menuItem = aEvent.target.mCorrespondingMenuitem;
-             if (menuItem)
-               menuItem.remove();
-           ]]>
-diff --git a/suite/modules/WindowsPreviewPerTab.jsm b/suite/modules/WindowsPreviewPerTab.jsm
---- a/suite/modules/WindowsPreviewPerTab.jsm
-+++ b/suite/modules/WindowsPreviewPerTab.jsm
-@@ -154,18 +154,17 @@ function PreviewController(win, tab) {
-   XPCOMUtils.defineLazyGetter(this, "canvasPreview", function () {
-     let canvas = PageThumbs.createCanvas();
-     canvas.mozOpaque = true;
-     return canvas;
-   });
- }
- 
- PreviewController.prototype = {
--  QueryInterface: XPCOMUtils.generateQI([Ci.nsITaskbarPreviewController,
--                                         Ci.nsIDOMEventListener]),
-+  QueryInterface: XPCOMUtils.generateQI([Ci.nsITaskbarPreviewController]),
- 
-   _cachedWidth: 0,
-   _cachedHeight: 0,
- 
-   destroy: function () {
-     this.tab.removeEventListener("TabAttrModified", this);
- 
-     // Break cycles, otherwise we end up leaking the window with everything
-@@ -332,17 +331,17 @@ PreviewController.prototype = {
-   onActivate: function () {
-     this.win.tabbrowser.selectedTab = this.tab;
- 
-     // Accept activation - this will restore the browser window
-     // if it's minimized.
-     return true;
-   },
- 
--  // nsIDOMEventListener
-+  // EventListener
-   handleEvent: function (evt) {
-     switch (evt.type) {
-       case "TabAttrModified":
-         this.updateTitleAndTooltip();
-         break;
-     }
-   }
- };
-@@ -497,17 +496,17 @@ TabWindow.prototype = {
-     // on it the sorting order of our local array.  To do so we must walk
-     // the local array backwards, otherwise we would send move requests in the
-     // wrong order. See bug 522610 for details.
-     for (let i = inorder.length - 1; i >= 0; i--) {
-       inorder[i].move(inorder[i + 1] || null);
-     }
-   },
- 
--  //// nsIDOMEventListener
-+  // EventListener
-   handleEvent: function (evt) {
-     let tab = evt.originalTarget;
-     switch (evt.type) {
-       case "TabOpen":
-         this.newTab(tab);
-         this.updateTabOrdering();
-         break;
-       case "TabClose":

+ 1 - 1
comm-central/patches/TOP-1611647-1-rename-xul-suite.patch

@@ -3,7 +3,7 @@
 # Date 1658141568 14400
 # Date 1658141568 14400
 #      Mon Jul 18 06:52:48 2022 -0400
 #      Mon Jul 18 06:52:48 2022 -0400
 # Node ID e352984c73426802110888060346b9643b9ee735
 # Node ID e352984c73426802110888060346b9643b9ee735
-# Parent  b86f657f4e96ec99412335f5a4d079e9a07f269c
+# Parent  f97678cf9d67a765eafca6a61438dc8701bd7ecc
 Bug 1611647 - Port bug 1579952 - Mass rename .xul files to .xhtml in suite.
 Bug 1611647 - Port bug 1579952 - Mass rename .xul files to .xhtml in suite.
 
 
 diff --git a/suite/base/content/aboutPrivateBrowsing.xul b/suite/base/content/aboutPrivateBrowsing.xhtml
 diff --git a/suite/base/content/aboutPrivateBrowsing.xul b/suite/base/content/aboutPrivateBrowsing.xhtml

+ 3 - 3
comm-central/patches/TOP-1611647-2-fix-xul-references-suite.patch

@@ -3,7 +3,7 @@
 # Date 1697712739 14400
 # Date 1697712739 14400
 #      Thu Oct 19 06:52:19 2023 -0400
 #      Thu Oct 19 06:52:19 2023 -0400
 # Node ID aa370e119f11ae9c6df0dcd87822ab665f63193e
 # Node ID aa370e119f11ae9c6df0dcd87822ab665f63193e
-# Parent  3042ab3aed3be0a36023606580ccedd6bb018ba9
+# Parent  36b7dc3096a19f1f8ed97d994943cd73ea739877
 Bug 1611647 - Port bug 1579952 - Fix references to xul files in suite.
 Bug 1611647 - Port bug 1579952 - Fix references to xul files in suite.
 
 
 diff --git a/suite/app/profile/suite-prefs.js b/suite/app/profile/suite-prefs.js
 diff --git a/suite/app/profile/suite-prefs.js b/suite/app/profile/suite-prefs.js
@@ -3186,7 +3186,7 @@ diff --git a/suite/components/shell/jar.mn b/suite/components/shell/jar.mn
 diff --git a/suite/components/sidebar/content/customize.js b/suite/components/sidebar/content/customize.js
 diff --git a/suite/components/sidebar/content/customize.js b/suite/components/sidebar/content/customize.js
 --- a/suite/components/sidebar/content/customize.js
 --- a/suite/components/sidebar/content/customize.js
 +++ b/suite/components/sidebar/content/customize.js
 +++ b/suite/components/sidebar/content/customize.js
-@@ -287,17 +287,17 @@ function PreviewPanel()
+@@ -285,17 +285,17 @@ function PreviewPanel()
      for (var index = min.value; index <= max.value; ++index) {
      for (var index = min.value; index <= max.value; ++index) {
        var item = tree.contentView.getItemAtIndex(index);
        var item = tree.contentView.getItemAtIndex(index);
        var res = RDF.GetResource(item.id);
        var res = RDF.GetResource(item.id);
@@ -3205,7 +3205,7 @@ diff --git a/suite/components/sidebar/content/customize.js b/suite/components/si
  
  
  // Add the selected panel(s).
  // Add the selected panel(s).
  function AddPanel()
  function AddPanel()
-@@ -407,30 +407,30 @@ function CustomizePanel()
+@@ -405,30 +405,30 @@ function CustomizePanel()
      var selectedNode = tree.contentView.getItemAtIndex(index);
      var selectedNode = tree.contentView.getItemAtIndex(index);
      var panel_id = selectedNode.getAttribute('id');
      var panel_id = selectedNode.getAttribute('id');
      var customize_url = selectedNode.getAttribute('customize');
      var customize_url = selectedNode.getAttribute('customize');

+ 3 - 3
comm-central/patches/TOP-1614671-port1456035-4-and-5-61a1-cc.patch

@@ -1,7 +1,7 @@
 # HG changeset patch
 # HG changeset patch
 # User Ian Neal <iann_cvs@blueyonder.co.uk>
 # User Ian Neal <iann_cvs@blueyonder.co.uk>
 # Date 1581435120 -3600
 # Date 1581435120 -3600
-# Parent  d9425987ce5e12053e9f13e277a18b24a1c46b98
+# Parent  10fa8911ada5a6afab1a7c6f0e9eb849d8c786f8
 Bug 1614671 - Port |Bug 1456035 Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI|, |Bug 1456035 Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI| and |Bug 1460092 - Add ESLint rule to enforce use of ChromeUtils.generateQI| to SeaMonkey. r=frg
 Bug 1614671 - Port |Bug 1456035 Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI|, |Bug 1456035 Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI| and |Bug 1460092 - Add ESLint rule to enforce use of ChromeUtils.generateQI| to SeaMonkey. r=frg
 
 
 diff --git a/suite/base/content/viewZoomOverlay.js b/suite/base/content/viewZoomOverlay.js
 diff --git a/suite/base/content/viewZoomOverlay.js b/suite/base/content/viewZoomOverlay.js
@@ -777,7 +777,7 @@ diff --git a/suite/components/nsGopherProtocolStubHandler.js b/suite/components/
 diff --git a/suite/components/nsSuiteGlue.js b/suite/components/nsSuiteGlue.js
 diff --git a/suite/components/nsSuiteGlue.js b/suite/components/nsSuiteGlue.js
 --- a/suite/components/nsSuiteGlue.js
 --- a/suite/components/nsSuiteGlue.js
 +++ b/suite/components/nsSuiteGlue.js
 +++ b/suite/components/nsSuiteGlue.js
-@@ -1562,20 +1562,20 @@ SuiteGlue.prototype = {
+@@ -1560,20 +1560,20 @@ SuiteGlue.prototype = {
      } catch (e) {
      } catch (e) {
        Cu.reportError("Error displaying tab received by Sync: " + e);
        Cu.reportError("Error displaying tab received by Sync: " + e);
      }
      }
@@ -802,7 +802,7 @@ diff --git a/suite/components/nsSuiteGlue.js b/suite/components/nsSuiteGlue.js
   * simple permission prompts when content requests additional
   * simple permission prompts when content requests additional
   * capabilities.
   * capabilities.
   *
   *
-@@ -1620,17 +1620,17 @@ var ContentPermissionIntegration = {
+@@ -1618,17 +1618,17 @@ var ContentPermissionIntegration = {
    },
    },
  };
  };
  
  

+ 2 - 2
comm-central/patches/TOP-1642188-remove-nsDOMIEvent-cc.patch

@@ -1,13 +1,13 @@
 # HG changeset patch
 # HG changeset patch
 # User Ian Neal <iann_cvs@blueyonder.co.uk>
 # User Ian Neal <iann_cvs@blueyonder.co.uk>
 # Date 1590913490 -3600
 # Date 1590913490 -3600
-# Parent  69696318aa960bddd9b29d5c2ecac39b5cf5779a
+# Parent  c9d15a79a5e041adef13e0472b1f2a122ead72be
 Bug 1642188 - Port |Bug 1455052 part 12 - Remove JS uses of nsIDOMEvent| to SeaMonkey. r=frg
 Bug 1642188 - Port |Bug 1455052 part 12 - Remove JS uses of nsIDOMEvent| to SeaMonkey. r=frg
 
 
 diff --git a/suite/browser/nsTypeAheadFind.js b/suite/browser/nsTypeAheadFind.js
 diff --git a/suite/browser/nsTypeAheadFind.js b/suite/browser/nsTypeAheadFind.js
 --- a/suite/browser/nsTypeAheadFind.js
 --- a/suite/browser/nsTypeAheadFind.js
 +++ b/suite/browser/nsTypeAheadFind.js
 +++ b/suite/browser/nsTypeAheadFind.js
-@@ -128,17 +128,17 @@ typeAheadFind.prototype = {
+@@ -127,17 +127,17 @@ typeAheadFind.prototype = {
        return true;
        return true;
  
  
      if (aEvent.type != "keypress") {
      if (aEvent.type != "keypress") {

+ 2 - 2
comm-central/patches/TOP-9999999-port1514936-suite-102a1.patch

@@ -1,7 +1,7 @@
 # HG changeset patch
 # HG changeset patch
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # Date 1652731241 0
 # Date 1652731241 0
-# Parent  30bb244a42f362a051478e3a9c5290cbb240967b
+# Parent  14083812bb3ebf664877a11a3de4364488856e5b
 Bug 9999999 - Port bug 1514936 to suite
 Bug 9999999 - Port bug 1514936 to suite
 Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance.
 Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance.
 
 
@@ -82,7 +82,7 @@ diff --git a/suite/chatzilla/js/lib/chatzilla-service.js b/suite/chatzilla/js/li
 diff --git a/suite/chatzilla/js/lib/protocol-handlers.jsm b/suite/chatzilla/js/lib/protocol-handlers.jsm
 diff --git a/suite/chatzilla/js/lib/protocol-handlers.jsm b/suite/chatzilla/js/lib/protocol-handlers.jsm
 --- a/suite/chatzilla/js/lib/protocol-handlers.jsm
 --- a/suite/chatzilla/js/lib/protocol-handlers.jsm
 +++ b/suite/chatzilla/js/lib/protocol-handlers.jsm
 +++ b/suite/chatzilla/js/lib/protocol-handlers.jsm
-@@ -103,39 +103,33 @@ IRCProtocolHandler.prototype =
+@@ -94,39 +94,33 @@ IRCProtocolHandler.prototype =
  
  
          return new BogusChannel(URI, this.isSecure);
          return new BogusChannel(URI, this.isSecure);
      },
      },

+ 1 - 1
comm-central/patches/TOP-9999999-port1646560-suite-91a1.patch

@@ -1,7 +1,7 @@
 # HG changeset patch
 # HG changeset patch
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # Date 1623804470 0
 # Date 1623804470 0
-# Parent  b7712f67d2e6d9269c35e3faa4cb785235f759cc
+# Parent  5baac9de16364064c2579f094bd64c65f13a7931
 Bug 9999999 - Port Bug 1646560 - Move allowJavascript and friends from DocShell to BrowsingContext and WindowContext.
 Bug 9999999 - Port Bug 1646560 - Move allowJavascript and friends from DocShell to BrowsingContext and WindowContext.
 
 
 diff --git a/suite/base/content/nsContextMenu.js b/suite/base/content/nsContextMenu.js
 diff --git a/suite/base/content/nsContextMenu.js b/suite/base/content/nsContextMenu.js

+ 1 - 1
comm-central/patches/TOP-9999999-port1769442-suite-102a1.patch

@@ -1,7 +1,7 @@
 # HG changeset patch
 # HG changeset patch
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # Date 1652730873 0
 # Date 1652730873 0
-# Parent  9acd7bf5aa580cc761ea769516d95137d52302d8
+# Parent  1e52597082be9b384cfa1547ec461f1a1984ae7b
 Bug 9999999 - Port bug 1769442 to suite.
 Bug 9999999 - Port bug 1769442 to suite.
 Bug 1769442 - Remove nsIFactory::lockFactory, breaking compatibility with IClassFactory.
 Bug 1769442 - Remove nsIFactory::lockFactory, breaking compatibility with IClassFactory.
 
 

+ 1 - 1
comm-central/patches/WIP-1650630-2-port-1603712-suite.patch

@@ -1,7 +1,7 @@
 # HG changeset patch
 # HG changeset patch
 # User Frank-Rainer Grahl <frgrahl@gmx.net>
 # User Frank-Rainer Grahl <frgrahl@gmx.net>
 # Date 1593949764 -7200
 # Date 1593949764 -7200
-# Parent  357ccfb82bf53ec557ab5b8adf36ba288afcc733
+# Parent  5796e1ee890dbfe596df945ae2370580fc015596
 Bug 1650630 - Part 2: Remove usage of intl.charset.detector.ng.enabled from SeaMonkey. r=IanN
 Bug 1650630 - Part 2: Remove usage of intl.charset.detector.ng.enabled from SeaMonkey. r=IanN
 
 
 diff --git a/suite/base/content/charsetOverlay.xhtml b/suite/base/content/charsetOverlay.xhtml
 diff --git a/suite/base/content/charsetOverlay.xhtml b/suite/base/content/charsetOverlay.xhtml

+ 1 - 1
comm-central/patches/WIP-1783623-port1524687-suite.patch

@@ -1,7 +1,7 @@
 # HG changeset patch
 # HG changeset patch
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # Date 1659988365 0
 # Date 1659988365 0
-# Parent  65d9df42752567f4d9b0b109ccf8c0c162afc02f
+# Parent  b714fbb93a5d1cf4c23a45deb42bd401615bce69
 Bug 1783623 - Convert suite binary components registration to components.conf.
 Bug 1783623 - Convert suite binary components registration to components.conf.
 Port Bug 1524687 Part 11  to suite.
 Port Bug 1524687 Part 11  to suite.
 
 

+ 1 - 1
comm-central/patches/WIP-9999999-port1712633-suite-90a1.patch

@@ -2,7 +2,7 @@
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # Date 1622108993 14400
 # Date 1622108993 14400
 #      Thu May 27 05:49:53 2021 -0400
 #      Thu May 27 05:49:53 2021 -0400
-# Parent  123fe84f6a5b6411a7386cf43355f2374788ee53
+# Parent  ec78271dd5f988d718f796f329ad1f8f5efced67
 Bug 9999999 - Set MOZ_REQUIRE_SIGNING to not defined. r=frg
 Bug 9999999 - Set MOZ_REQUIRE_SIGNING to not defined. r=frg
 Port Bug 1712633 "Set MOZ_REQUIRE_SIGNING appropriately by default".
 Port Bug 1712633 "Set MOZ_REQUIRE_SIGNING appropriately by default".
 
 

+ 0 - 3
comm-central/patches/series

@@ -1,7 +1,4 @@
-9999999-port1850647-suite-bustage.patch
-9999999-port1859739-suite-bustage.patch
 TOP-1642188-remove-nsDOMIEvent-cc.patch
 TOP-1642188-remove-nsDOMIEvent-cc.patch
-TOP-1611010-DOMEventListener-cc.patch
 TOP-1614671-port1456035-4-and-5-61a1-cc.patch
 TOP-1614671-port1456035-4-and-5-61a1-cc.patch
 TOP-1611647-1-rename-xul-suite.patch
 TOP-1611647-1-rename-xul-suite.patch
 TOP-1611647-2-fix-xul-references-suite.patch
 TOP-1611647-2-fix-xul-references-suite.patch