summaryrefslogtreecommitdiff
path: root/libre/iceweasel-libre/libre.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/iceweasel-libre/libre.patch')
-rw-r--r--libre/iceweasel-libre/libre.patch28
1 files changed, 24 insertions, 4 deletions
diff --git a/libre/iceweasel-libre/libre.patch b/libre/iceweasel-libre/libre.patch
index 744ecaef3..a4eb23831 100644
--- a/libre/iceweasel-libre/libre.patch
+++ b/libre/iceweasel-libre/libre.patch
@@ -114,7 +114,7 @@ index c270318..8a647c7 100644
#aboutMozilla::before {
transform: scale(.5);
diff --git a/browser/base/content/abouthome/aboutHome.js b/browser/base/content/abouthome/aboutHome.js
-index 432fcdc..bd1692a 100644
+index 432fcdc..0d81017 100644
--- a/browser/base/content/abouthome/aboutHome.js
+++ b/browser/base/content/abouthome/aboutHome.js
@@ -3,152 +3,44 @@
@@ -312,7 +312,18 @@ index 432fcdc..bd1692a 100644
gInitialized = true;
}
return;
-@@ -181,117 +72,6 @@ window.addEventListener("pagehide", function() {
+@@ -170,10 +61,6 @@ window.addEventListener("pageshow", function () {
+ window.gObserver.observe(document.documentElement, { attributes: true });
+ fitToWidth();
+ window.addEventListener("resize", fitToWidth);
+-
+- // Ask chrome to update snippets.
+- var event = new CustomEvent("AboutHomeLoad", {bubbles:true});
+- document.dispatchEvent(event);
+ });
+
+ window.addEventListener("pagehide", function() {
+@@ -181,117 +68,6 @@ window.addEventListener("pagehide", function() {
window.removeEventListener("resize", fitToWidth);
});
@@ -430,11 +441,20 @@ index 432fcdc..bd1692a 100644
function onSearchSubmit(aEvent)
{
let searchTerms = document.getElementById("searchText").value;
-@@ -350,147 +130,6 @@ function loadSucceeded()
- document.dispatchEvent(event);
+@@ -341,156 +117,6 @@ function setupSearchEngine()
+
}
-/**
+- * Inform the test harness that we're done loading the page.
+- */
+-function loadSucceeded()
+-{
+- var event = new CustomEvent("AboutHomeLoadSnippetsSucceeded", {bubbles:true});
+- document.dispatchEvent(event);
+-}
+-
+-/**
- * Update the local snippets from the remote storage, then show them through
- * showSnippets.
- */