firefox: test firefox v133 release
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 7 KiB |
|
|
@ -40,8 +40,9 @@
|
|||
}
|
||||
|
||||
#rightBox {
|
||||
margin-left: 30px;
|
||||
margin-right: 30px;
|
||||
background-size: auto 64px;
|
||||
margin-inline: 30px;
|
||||
padding-top: 64px;
|
||||
}
|
||||
|
||||
#bottomBox {
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 6.9 KiB |
|
|
@ -33,15 +33,6 @@ index c5f7cf3a..f0124235 100644
|
|||
diff -Nru a/browser/base/content/test/static/browser_all_files_referenced.js b/browser/base/content/test/static/browser_all_files_referenced.js
|
||||
--- a/browser/base/content/test/static/browser_all_files_referenced.js 2022-05-22 09:35:55.336673325 +0000
|
||||
+++ b/browser/base/content/test/static/browser_all_files_referenced.js 2022-05-22 21:50:33.783348501 +0000
|
||||
@@ -32,8 +32,6 @@
|
||||
"chrome://activity-stream/content/data/content/assets/remote/",
|
||||
"chrome://browser/content/assets/moz-vpn.svg",
|
||||
"chrome://browser/content/assets/vpn-logo.svg",
|
||||
- "chrome://browser/content/assets/focus-promo.png",
|
||||
- "chrome://browser/content/assets/klar-qr-code.svg",
|
||||
|
||||
// These app marketplace icons are referenced based on the user's locale
|
||||
// in browser/components/newtab/content-src/aboutwelcome/components/MobileDownloads.jsx
|
||||
@@ -145,15 +145,6 @@ var whitelist = [
|
||||
// extensions/pref/autoconfig/src/nsReadConfig.cpp
|
||||
{ file: "resource://gre/defaults/autoconfig/prefcalls.js" },
|
||||
|
|
@ -790,3 +781,16 @@ diff -Nru a/browser/components/privatebrowsing/content/assets/klar-qr-code.svg b
|
|||
-</defs>
|
||||
-</svg>
|
||||
|
||||
diff --git a/browser/base/content/test/static/browser_all_files_referenced.js b/browser/base/content/test/static/browser_all_files_referenced.js
|
||||
index 3888af10..1d6c606f 100644
|
||||
--- a/browser/base/content/test/static/browser_all_files_referenced.js
|
||||
+++ b/browser/base/content/test/static/browser_all_files_referenced.js
|
||||
@@ -41,8 +41,6 @@ var gExceptionPaths = [
|
||||
"chrome://activity-stream/content/data/content/assets/euo-chatbot.svg",
|
||||
"chrome://browser/content/assets/moz-vpn.svg",
|
||||
"chrome://browser/content/assets/vpn-logo.svg",
|
||||
- "chrome://browser/content/assets/focus-promo.png",
|
||||
- "chrome://browser/content/assets/klar-qr-code.svg",
|
||||
"chrome://browser/content/asrouter/assets/fox-with-box-on-cloud.svg",
|
||||
"chrome://browser/content/asrouter/assets/fox-with-devices.svg",
|
||||
"chrome://browser/content/asrouter/assets/fox-with-locked-box.svg",
|
||||
|
|
|
|||
|
|
@ -24,3 +24,66 @@ index 12fef6c..c52b65e 100644
|
|||
const { expectedTimestamp, lastEtag = "", filters = {} } = options;
|
||||
|
||||
let url = serverUrl + Utils.CHANGES_PATH;
|
||||
diff --git a/toolkit/components/telemetry/app/TelemetryUtils.sys.mjs b/toolkit/components/telemetry/app/TelemetryUtils.sys.mjs
|
||||
index 803d52a1..1a3ef5ba 100644
|
||||
--- a/toolkit/components/telemetry/app/TelemetryUtils.sys.mjs
|
||||
+++ b/toolkit/components/telemetry/app/TelemetryUtils.sys.mjs
|
||||
@@ -124,6 +124,11 @@ export var TelemetryUtils = {
|
||||
* Takes a date and returns it truncated to a date with daily precision.
|
||||
*/
|
||||
truncateToDays(date) {
|
||||
+ console.warn("Function 'truncateToDays' called with:", date);
|
||||
+ if (!date || !(date instanceof Date)) {
|
||||
+ console.warn("Function 'truncateToDays' disabled in Abrowser due to privacy concerns. Received invalid or undefined date.");
|
||||
+ return null; // Retorna null para evitar errores posteriores
|
||||
+ }
|
||||
return new Date(
|
||||
date.getFullYear(),
|
||||
date.getMonth(),
|
||||
@@ -172,6 +172,10 @@ export var TelemetryUtils = {
|
||||
* @return {Object} The Date object representing the next midnight.
|
||||
*/
|
||||
getNextMidnight(date) {
|
||||
+ if (!date || !(date instanceof Date)) {
|
||||
+ console.warn("Function 'getNextMidnight' disabled in Abrowser due to privacy concerns.");
|
||||
+ return null;
|
||||
+ }
|
||||
let nextMidnight = new Date(this.truncateToDays(date));
|
||||
nextMidnight.setDate(nextMidnight.getDate() + 1);
|
||||
return nextMidnight;
|
||||
@@ -185,6 +189,10 @@ export var TelemetryUtils = {
|
||||
* is not within the midnight tolerance.
|
||||
*/
|
||||
getNearestMidnight(date, tolerance) {
|
||||
+ if (!date || !(date instanceof Date)) {
|
||||
+ console.warn("Function 'getNearestMidnight' disabled in Abrowser due to privacy concerns.");
|
||||
+ return null;
|
||||
+ }
|
||||
let lastMidnight = this.truncateToDays(date);
|
||||
if (this.areTimesClose(date.getTime(), lastMidnight.getTime(), tolerance)) {
|
||||
return lastMidnight;
|
||||
diff --git a/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs b/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs
|
||||
index 539447a..43d846b 100644
|
||||
--- a/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs
|
||||
+++ b/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs
|
||||
@@ -183,8 +183,20 @@ export var TelemetryScheduler = {
|
||||
},
|
||||
|
||||
_sentPingToday(pingTime, nowDate) {
|
||||
+ // Validar 'nowDate' antes de usarlo
|
||||
+ if (!nowDate || !(nowDate instanceof Date)) {
|
||||
+ console.warn("Invalid 'nowDate' passed to _sentPingToday. Function disabled in Abrowser due to privacy concerns.");
|
||||
+ return false; // Devolvemos 'false' para evitar errores
|
||||
+ }
|
||||
+
|
||||
// This is today's date and also the previous midnight (0:00).
|
||||
const todayDate = TelemetryUtils.truncateToDays(nowDate);
|
||||
+
|
||||
+ if (!todayDate) {
|
||||
+ console.warn("TelemetryUtils.truncateToDays returned null. Skipping _sentPingToday.");
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
// We consider a ping sent for today if it occured after or at 00:00 today.
|
||||
return pingTime >= todayDate.getTime();
|
||||
},
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"schema": 40960,
|
||||
"imageSize": 48,
|
||||
"attachment": {
|
||||
"hash": "0b077376b224b66159130f587371d67f97454fd692296c449590a9123591c9f6",
|
||||
"size": 3441,
|
||||
"filename": "trisquel-packages-48-firefox.png",
|
||||
"location": "main-workspace/search-config-icons/b5fd21a8-e369-477f-a3f2-b47a370f9030.png",
|
||||
"mimetype": "image/png"
|
||||
},
|
||||
"engineIdentifiers": [
|
||||
"trisquel-packages"
|
||||
],
|
||||
"filter_expression": "env.appinfo.ID == \"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}\"",
|
||||
"id": "b5fd21a8-e369-477f-a3f2-b47a370f9030",
|
||||
"last_modified": 1734316560
|
||||
}
|
||||
|
After Width: | Height: | Size: 4.4 KiB |
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"schema": 45056,
|
||||
"imageSize": 48,
|
||||
"attachment": {
|
||||
"hash": "93bc9a505442520b44ae5ffb880979943826308bcc051b966e1cbd67dbc64125",
|
||||
"size": 4493,
|
||||
"filename": "trisquel-48-firefox.png",
|
||||
"location": "main-workspace/search-config-icons/b99ed276-9557-4492-8bbb-d59826381893",
|
||||
"mimetype": "image/png"
|
||||
},
|
||||
"engineIdentifiers": [
|
||||
"trisquel"
|
||||
],
|
||||
"filter_expression": "env.appinfo.ID == \"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}\"",
|
||||
"id": "b99ed276-9557-4492-8bbb-d59826381893",
|
||||
"last_modified": 1734316560
|
||||
}
|
||||