Backed out 7 changesets (bug 1894958) for causing bc failures @ browser_usercharacteristics.js CLOSED TREE

Backed out changeset f0b3873afbbf (bug 1894958)
Backed out changeset 0163ab00de90 (bug 1894958)
Backed out changeset dc5209d0115f (bug 1894958)
Backed out changeset c7c58e406791 (bug 1894958)
Backed out changeset 1ff86ac5480e (bug 1894958)
Backed out changeset 862f163cf35c (bug 1894958)
Backed out changeset 4ad50fcd042b (bug 1894958)
This commit is contained in:
Sandor Molnar 2024-06-05 00:07:37 +03:00
Родитель 4e0ffe1a17
Коммит cc6a87da40
17 изменённых файлов: 56 добавлений и 1242 удалений

Просмотреть файл

@ -1447,7 +1447,6 @@ toolkit/components/normandy/vendor/
toolkit/components/passwordmgr/PasswordRulesParser.sys.mjs
toolkit/components/protobuf/
toolkit/components/reader/readability/
toolkit/components/resistfingerprinting/content/gl-matrix.js
toolkit/components/translation/cld2/
toolkit/components/translations/bergamot-translator/thirdparty
toolkit/components/translations/bergamot-translator/bergamot-translator.js

Просмотреть файл

@ -108,7 +108,7 @@ static const RedirEntry kRedirMap[] = {
{"credits", "https://www.mozilla.org/credits/",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::URI_MUST_LOAD_IN_CHILD},
{"fingerprintingprotection",
{"fingerprinting",
"chrome://global/content/usercharacteristics/usercharacteristics.html",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::HIDE_FROM_ABOUTABOUT | nsIAboutModule::ALLOW_SCRIPT |

Просмотреть файл

@ -16,7 +16,7 @@ about_pages = [
'crashgpu',
'crashextensions',
'credits',
'fingerprintingprotection',
'fingerprinting',
'httpsonlyerror',
'license',
'logging',

Просмотреть файл

@ -1332,20 +1332,19 @@ void nsContentSecurityUtils::AssertAboutPageHasCSP(Document* aDocument) {
// This allowlist contains about: pages that are permanently allowed to
// render without a CSP applied.
static nsLiteralCString sAllowedAboutPagesWithNoCSP[] = {
// about:blank is a special about page -> no CSP
"about:blank"_ns,
// about:srcdoc is a special about page -> no CSP
"about:srcdoc"_ns,
// about:sync-log displays plain text only -> no CSP
"about:sync-log"_ns,
// about:logo just displays the firefox logo -> no CSP
"about:logo"_ns,
// about:sync is a special mozilla-signed developer addon with low usage
// ->
// no CSP
"about:sync"_ns,
// about:blank is a special about page -> no CSP
"about:blank"_ns,
// about:srcdoc is a special about page -> no CSP
"about:srcdoc"_ns,
// about:sync-log displays plain text only -> no CSP
"about:sync-log"_ns,
// about:logo just displays the firefox logo -> no CSP
"about:logo"_ns,
// about:sync is a special mozilla-signed developer addon with low usage ->
// no CSP
"about:sync"_ns,
# if defined(ANDROID)
"about:config"_ns,
"about:config"_ns,
# endif
};
@ -1364,20 +1363,20 @@ void nsContentSecurityUtils::AssertAboutPageHasCSP(Document* aDocument) {
"about: page must contain a CSP denying object-src");
// preferences and downloads allow legacy inline scripts through hash src.
MOZ_ASSERT(
!foundScriptSrc || StringBeginsWith(aboutSpec, "about:preferences"_ns) ||
StringBeginsWith(aboutSpec, "about:settings"_ns) ||
StringBeginsWith(aboutSpec, "about:downloads"_ns) ||
StringBeginsWith(aboutSpec, "about:fingerprintingprotection"_ns) ||
StringBeginsWith(aboutSpec, "about:asrouter"_ns) ||
StringBeginsWith(aboutSpec, "about:newtab"_ns) ||
StringBeginsWith(aboutSpec, "about:logins"_ns) ||
StringBeginsWith(aboutSpec, "about:compat"_ns) ||
StringBeginsWith(aboutSpec, "about:welcome"_ns) ||
StringBeginsWith(aboutSpec, "about:profiling"_ns) ||
StringBeginsWith(aboutSpec, "about:studies"_ns) ||
StringBeginsWith(aboutSpec, "about:home"_ns),
"about: page must not contain a CSP including script-src");
MOZ_ASSERT(!foundScriptSrc ||
StringBeginsWith(aboutSpec, "about:preferences"_ns) ||
StringBeginsWith(aboutSpec, "about:settings"_ns) ||
StringBeginsWith(aboutSpec, "about:downloads"_ns) ||
StringBeginsWith(aboutSpec, "about:fingerprinting"_ns) ||
StringBeginsWith(aboutSpec, "about:asrouter"_ns) ||
StringBeginsWith(aboutSpec, "about:newtab"_ns) ||
StringBeginsWith(aboutSpec, "about:logins"_ns) ||
StringBeginsWith(aboutSpec, "about:compat"_ns) ||
StringBeginsWith(aboutSpec, "about:welcome"_ns) ||
StringBeginsWith(aboutSpec, "about:profiling"_ns) ||
StringBeginsWith(aboutSpec, "about:studies"_ns) ||
StringBeginsWith(aboutSpec, "about:home"_ns),
"about: page must not contain a CSP including script-src");
MOZ_ASSERT(!foundWorkerSrc,
"about: page must not contain a CSP including worker-src");

Просмотреть файл

@ -118,7 +118,7 @@ class _RFPHelper {
UserCharacteristicsDataDone: { wantUntrusted: true },
},
},
matches: ["about:fingerprintingprotection"],
matches: ["about:fingerprinting"],
remoteTypes: ["privilegedabout"],
});
}
@ -324,11 +324,6 @@ class _RFPHelper {
}
_registerLetterboxingActor() {
/*
* It turns out that this triggers a warning that we're registering a Desktop-only actor
* in toolkit (which will also run on mobile.) It just happens this actor only handles
* letterboxing, which isn't used on mobile, but we should resolve this.
*/
ChromeUtils.registerWindowActor("RFPHelper", {
parent: {
esModuleURI: "resource:///actors/RFPHelperParent.sys.mjs",

Просмотреть файл

@ -169,7 +169,7 @@ export class UserCharacteristicsPageService {
};
let userCharacteristicsPageURI = Services.io.newURI(
"about:fingerprintingprotection"
"about:fingerprinting"
);
browser.loadURI(userCharacteristicsPageURI, loadURIOptions);
@ -190,39 +190,8 @@ export class UserCharacteristicsPageService {
for (let gamepad of data.output.gamepads) {
Glean.characteristics.gamepads.add(gamepad);
}
Glean.characteristics.zoomCount.set(await this.populateZoomPrefs());
try {
Glean.characteristics.canvasdata1.set(data.output.canvas1data);
Glean.characteristics.canvasdata2.set(data.output.canvas2data);
Glean.characteristics.canvasdata3.set(data.output.canvas3data);
Glean.characteristics.canvasdata4.set(data.output.canvas4data);
Glean.characteristics.canvasdata5.set(data.output.canvas5data);
Glean.characteristics.canvasdata6.set(data.output.canvas6data);
Glean.characteristics.canvasdata7.set(data.output.canvas7data);
Glean.characteristics.canvasdata8.set(data.output.canvas8data);
Glean.characteristics.canvasdata9.set(data.output.canvas9data);
Glean.characteristics.canvasdata10.set(data.output.canvas10data);
Glean.characteristics.canvasdata11Webgl.set(data.output.glcanvasdata);
Glean.characteristics.canvasdata12Fingerprintjs1.set(
data.output.fingerprintjscanvas1data
);
Glean.characteristics.canvasdata13Fingerprintjs2.set(
data.output.fingerprintjscanvas2data
);
for (let gamepad of data.output.gamepads) {
Glean.characteristics.gamepads.add(gamepad);
}
} catch (e) {
// Grab the exception and send it to the console
// (we don't see it otherwise)
lazy.console.debug(e);
// But still fail
throw e;
}
lazy.console.debug("Unregistering actor");
Services.obs.notifyObservers(
null,

Просмотреть файл

@ -1,19 +0,0 @@
Copyright (c) 2015-2021, Brandon Jones, Colin MacKenzie IV.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,20 +0,0 @@
schema: 1
bugzilla:
product: "Core"
component: "Privacy: Anti-Tracking"
origin:
name: "gl-matrix"
description: "High performance matrix and vector operations"
url: "https://github.com/toji/gl-matrix/tree/master"
license: "MIT"
license-file: "gl-matrix.LICENSE"
release: 2.7.0
revision: b836df92c5a959ebf766b53d50148123d0844db4
notes: >
This library is not exposed to attacker input and indeed only given fixed input from usercharacteristics.js
so although it is out of date, this is not a concern.

Просмотреть файл

@ -1,7 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
.testcanvas {
border: 1px solid #2600ff;
}

Просмотреть файл

@ -8,263 +8,11 @@
<meta charset="utf-8" />
<meta
http-equiv="Content-Security-Policy"
content="default-src data: resource:; style-src-elem chrome:; object-src 'none'; script-src chrome:"
/>
<title>about:fingerprintingprotection</title>
<link
href="chrome://global/content/usercharacteristics/usercharacteristics.css"
rel="stylesheet"
type="text/css"
content="default-src 'none'; object-src 'none'; script-src chrome:"
/>
<title>about:fingerprinting</title>
</head>
<body>
<div id="test_canvases">
<h2>Test Canvases</h2>
<div>
<h3>Canvas 1</h3>
<canvas
class="testcanvas"
width="250"
height="250"
id="canvas1"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input type="text" name="canvas1data" id="canvas1data" readonly />
</td>
</tr>
</table>
</div>
<div>
<h3>Canvas 2</h3>
<canvas
class="testcanvas"
width="250"
height="250"
id="canvas2"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input type="text" name="canvas2data" id="canvas2data" readonly />
</td>
</tr>
</table>
</div>
<div>
<h3>Canvas 3</h3>
<canvas
class="testcanvas"
width="250"
height="250"
id="canvas3"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input type="text" name="canvas3data" id="canvas3data" readonly />
</td>
</tr>
</table>
</div>
<div>
<h3>Canvas 4</h3>
<canvas
class="testcanvas"
width="250"
height="250"
id="canvas4"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input type="text" name="canvas4data" id="canvas4data" readonly />
</td>
</tr>
</table>
</div>
<div>
<h3>Canvas 5</h3>
<canvas
class="testcanvas"
width="250"
height="250"
id="canvas5"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input type="text" name="canvas5data" id="canvas5data" readonly />
</td>
</tr>
</table>
</div>
<div>
<h3>Canvas 6</h3>
<canvas
class="testcanvas"
width="250"
height="250"
id="canvas6"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input type="text" name="canvas6data" id="canvas6data" readonly />
</td>
</tr>
</table>
</div>
<div>
<h3>Canvas 7</h3>
<canvas
class="testcanvas"
width="250"
height="250"
id="canvas7"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input type="text" name="canvas7data" id="canvas7data" readonly />
</td>
</tr>
</table>
</div>
<div>
<h3>Canvas 8</h3>
<canvas
class="testcanvas"
width="250"
height="250"
id="canvas8"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input type="text" name="canvas8data" id="canvas8data" readonly />
</td>
</tr>
</table>
</div>
<div>
<h3>Canvas 9</h3>
<canvas
class="testcanvas"
width="250"
height="250"
id="canvas9"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input type="text" name="canvas9data" id="canvas9data" readonly />
</td>
</tr>
</table>
</div>
<div>
<h3>Canvas 10</h3>
<canvas
class="testcanvas"
width="250"
height="250"
id="canvas10"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input
type="text"
name="canvas10data"
id="canvas10data"
readonly
/>
</td>
</tr>
</table>
</div>
<div>
<h3>WebGL Canvas</h3>
<canvas
class="testcanvas"
width="250"
height="250"
id="glcanvas"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input
type="text"
name="glcanvasdata"
id="glcanvasdata"
readonly
/>
</td>
</tr>
</table>
</div>
<div>
<h3>FingerprintJS Canvas 1 (Text)</h3>
<canvas
class="testcanvas"
width="240"
height="60"
id="fingerprintjscanvas1"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input
type="text"
name="fingerprintjscanvas1data"
id="fingerprintjscanvas1data"
readonly
/>
</td>
</tr>
</table>
</div>
<div>
<h3>FingerprintJS Canvas 2 (Geometry)</h3>
<canvas
class="testcanvas"
width="122"
height="110"
id="fingerprintjscanvas2"
></canvas>
<table>
<tr>
<td>ImageData:</td>
<td>
<input
type="text"
name="fingerprintjscanvas2data"
id="fingerprintjscanvas2data"
readonly
/>
</td>
</tr>
</table>
</div>
</div>
<script src="chrome://global/content/usercharacteristics/gl-matrix.js"></script>
<script src="chrome://global/content/usercharacteristics/usercharacteristics.js"></script>
</body>
</html>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -3,7 +3,5 @@
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
toolkit.jar:
content/global/usercharacteristics/gl-matrix.js (content/gl-matrix.js)
content/global/usercharacteristics/usercharacteristics.css (content/usercharacteristics.css)
content/global/usercharacteristics/usercharacteristics.html (content/usercharacteristics.html)
content/global/usercharacteristics/usercharacteristics.js (content/usercharacteristics.js)

Просмотреть файл

@ -1047,266 +1047,6 @@ characteristics:
data_sensitivity:
- interaction
canvasdata1:
type: text
description: >
The base64 encoded form of an image rendered on a canvas. The image is a simple organge box and used as a control image
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata2:
type: text
description: >
The base64 encoded form of an image rendered on a canvas. The image is a bordered triage, and used to test point interpolation
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata3:
type: text
description: >
The base64 encoded form of an image rendered on a canvas. The image is a stretched photographic image, used to test image operations.
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata4:
type: text
description: >
The base64 encoded form of an image rendered on a canvas. The image is two rotated, semi-transparenct overlapping squares, used to test transparency and point interpolation.
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata5:
type: text
description: >
The base64 encoded form of an image rendered on a canvas. The image is a local font rendered normally.
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata6:
type: text
description: >
The base64 encoded form of an image rendered on a canvas. The image is a local font rendered with italics, rotation, and shadow-blur.
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata7:
type: text
description: >
The base64 encoded form of an image rendered on a canvas. The image is a system-ui font rendered normally.
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata8:
type: text
description: >
The base64 encoded form of an image rendered on a canvas. The image is a system-ui font rendered with italics, rotation, and shadow-blur.
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata9:
type: text
description: >
The base64 encoded form of an image rendered on a canvas. The image is a font shipped with Firefox rendered normally.
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata10:
type: text
description: >
The base64 encoded form of an image rendered on a canvas. The image is a font shipped with Firefox rendered with italics, rotation, and shadow-blur.
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata11_webgl:
type: text
description: >
The base64 encoded form of an image rendered on a WebGL canvas (instead of Canvas2D). IT is a RGB gradient cube.
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata12_fingerprintjs1:
type: text
description: >
The base64 encoded form of an image rendered on a canvas, it is a copy of fingerprintjs' text canvas
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
canvasdata13_fingerprintjs2:
type: text
description: >
The base64 encoded form of an image rendered on a canvas, it is a copy of fingerprintjs' geometry canvas
lifetime: application
send_in_pings:
- user-characteristics
notification_emails:
- tom@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1879151
- https://bugzilla.mozilla.org/show_bug.cgi?id=1894958
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=xxx
expires: never
data_sensitivity:
# Text metrics are _required_ to be web_activity or highly_sensitive, so even though this
# is more like 'technical' (per the Data Review), I'm marking highly sensitive.
- highly_sensitive
font_size_monospace_modified:
type: quantity
unit: int

Просмотреть файл

@ -16,8 +16,13 @@ function promiseObserverNotification() {
GleanPings.userCharacteristics.testBeforeNextSubmit(_ => {
submitted = true;
// Did we assign a value we got out of about:fingerprintingprotection?
Assert.notEqual("", Glean.characteristics.canvasdata1.testGetValue());
// Did we assign a value we got out of about:fingerprinting?
// For now, we are sticking the test value in a random telemetry
// metric, but once we have a real metric, we'll update this
Assert.equal(
"Hello World",
Glean.characteristics.timezone.testGetValue()
);
});
GleanPings.userCharacteristics.submit();

Просмотреть файл

@ -3628,7 +3628,6 @@ SOFTWARE.
<li><code>third_party/rust/void</code></li>
<li><code>js/src/zydis</code> (unless otherwise specified)</li>
<li><code>js/src/vm/Float16.h</code>(the code contained in the half namespace)</li>
<li><code>toolkit/components/resistfingerprinting/content/gl-matrix.js</code></li>
</ul>
See the individual LICENSE files or headers for copyright owners.</p>

Просмотреть файл

@ -189,7 +189,6 @@ toolkit/components/normandy/vendor/
toolkit/components/passwordmgr/PasswordRulesParser.sys.mjs
toolkit/components/protobuf/
toolkit/components/reader/readability/
toolkit/components/resistfingerprinting/content/gl-matrix.js
toolkit/components/translation/cld2/
toolkit/components/translations/bergamot-translator/thirdparty
toolkit/components/translations/bergamot-translator/bergamot-translator.js