forked from mirrors/gecko-dev
Bug 1894958: Render more complex WebGL canvases r=timhuang,sylvestre,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209595
This commit is contained in:
parent
43be32f818
commit
b46c162909
9 changed files with 413 additions and 0 deletions
|
|
@ -1447,6 +1447,7 @@ toolkit/components/normandy/vendor/
|
||||||
toolkit/components/passwordmgr/PasswordRulesParser.sys.mjs
|
toolkit/components/passwordmgr/PasswordRulesParser.sys.mjs
|
||||||
toolkit/components/protobuf/
|
toolkit/components/protobuf/
|
||||||
toolkit/components/reader/readability/
|
toolkit/components/reader/readability/
|
||||||
|
toolkit/components/resistfingerprinting/content/gl-matrix.js
|
||||||
toolkit/components/translation/cld2/
|
toolkit/components/translation/cld2/
|
||||||
toolkit/components/translations/bergamot-translator/thirdparty
|
toolkit/components/translations/bergamot-translator/thirdparty
|
||||||
toolkit/components/translations/bergamot-translator/bergamot-translator.js
|
toolkit/components/translations/bergamot-translator/bergamot-translator.js
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
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.
|
||||||
28
toolkit/components/resistfingerprinting/content/gl-matrix.js
Normal file
28
toolkit/components/resistfingerprinting/content/gl-matrix.js
Normal file
File diff suppressed because one or more lines are too long
20
toolkit/components/resistfingerprinting/content/moz.yaml
Normal file
20
toolkit/components/resistfingerprinting/content/moz.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
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.
|
||||||
|
|
@ -196,7 +196,31 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
|
|
||||||
|
<script src="chrome://global/content/usercharacteristics/gl-matrix.js"></script>
|
||||||
<script src="chrome://global/content/usercharacteristics/usercharacteristics.js"></script>
|
<script src="chrome://global/content/usercharacteristics/usercharacteristics.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -3,6 +3,7 @@
|
||||||
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
toolkit.jar:
|
toolkit.jar:
|
||||||
|
content/global/usercharacteristics/gl-matrix.js (content/gl-matrix.js)
|
||||||
content/global/usercharacteristics/usercharacteristics.css (content/usercharacteristics.css)
|
content/global/usercharacteristics/usercharacteristics.css (content/usercharacteristics.css)
|
||||||
content/global/usercharacteristics/usercharacteristics.html (content/usercharacteristics.html)
|
content/global/usercharacteristics/usercharacteristics.html (content/usercharacteristics.html)
|
||||||
content/global/usercharacteristics/usercharacteristics.js (content/usercharacteristics.js)
|
content/global/usercharacteristics/usercharacteristics.js (content/usercharacteristics.js)
|
||||||
|
|
|
||||||
|
|
@ -3628,6 +3628,7 @@ SOFTWARE.
|
||||||
<li><code>third_party/rust/void</code></li>
|
<li><code>third_party/rust/void</code></li>
|
||||||
<li><code>js/src/zydis</code> (unless otherwise specified)</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>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>
|
</ul>
|
||||||
See the individual LICENSE files or headers for copyright owners.</p>
|
See the individual LICENSE files or headers for copyright owners.</p>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -189,6 +189,7 @@ toolkit/components/normandy/vendor/
|
||||||
toolkit/components/passwordmgr/PasswordRulesParser.sys.mjs
|
toolkit/components/passwordmgr/PasswordRulesParser.sys.mjs
|
||||||
toolkit/components/protobuf/
|
toolkit/components/protobuf/
|
||||||
toolkit/components/reader/readability/
|
toolkit/components/reader/readability/
|
||||||
|
toolkit/components/resistfingerprinting/content/gl-matrix.js
|
||||||
toolkit/components/translation/cld2/
|
toolkit/components/translation/cld2/
|
||||||
toolkit/components/translations/bergamot-translator/thirdparty
|
toolkit/components/translations/bergamot-translator/thirdparty
|
||||||
toolkit/components/translations/bergamot-translator/bergamot-translator.js
|
toolkit/components/translations/bergamot-translator/bergamot-translator.js
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue