diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /browser/tools/mozscreenshots/mozscreenshots/extension/lib | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/tools/mozscreenshots/mozscreenshots/extension/lib')
16 files changed, 273 insertions, 0 deletions
diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/borderify.xpi b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/borderify.xpi Binary files differnew file mode 100644 index 0000000000..66ae92ed21 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/borderify.xpi diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/mixed.html b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/mixed.html new file mode 100644 index 0000000000..d71d9946d3 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/mixed.html @@ -0,0 +1,15 @@ +<!-- 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 http://mozilla.org/MPL/2.0/. --> + +<!DOCTYPE HTML> +<html> + <head> + <meta charset="utf8"> + <title>Mixed Content test</title> + </head> + <body> + <iframe style="visibility:hidden" src="http://example.com"></iframe> + <img style="visibility:hidden" src="http://example.com/tests/image/test/mochitest/blue.png"></img> + </body> +</html> diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/mixed_active.html b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/mixed_active.html new file mode 100644 index 0000000000..4ce8e78dc4 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/mixed_active.html @@ -0,0 +1,14 @@ +<!-- 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 http://mozilla.org/MPL/2.0/. --> + +<!DOCTYPE html> +<html> + <head> + <meta charset="utf8" /> + <title>Mixed Active Content test</title> + </head> + <body> + <iframe style="visibility: hidden" src="http://example.com"></iframe> + </body> +</html> diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/mixed_passive.html b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/mixed_passive.html new file mode 100644 index 0000000000..a8b74e08b2 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/mixed_passive.html @@ -0,0 +1,14 @@ +<!-- 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 http://mozilla.org/MPL/2.0/. --> + +<!DOCTYPE HTML> +<html> + <head> + <meta charset="utf8"> + <title>Mixed Passive Content test</title> + </head> + <body> + <img style="visibility:hidden" src="http://example.com/tests/image/test/mochitest/blue.png"></img> + </body> +</html> diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/password.html b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/password.html new file mode 100644 index 0000000000..c51ee25732 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/password.html @@ -0,0 +1,17 @@ +<!-- 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 http://mozilla.org/MPL/2.0/. --> + +<!DOCTYPE html> +<html> + <head> + <meta charset="utf8" /> + <title>HTTP Password test</title> + </head> + <body> + <form> + <input type="password" /> + <button type="submit">Submit</button> + </form> + </body> +</html> diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/tracking.html b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/tracking.html new file mode 100644 index 0000000000..8ef07c3e73 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/controlCenter/tracking.html @@ -0,0 +1,17 @@ +<!-- 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 http://mozilla.org/MPL/2.0/. --> + +<!DOCTYPE html> +<html> + <head> + <meta charset="utf8" /> + <title>Tracking test</title> + </head> + <body> + <iframe + style="visibility: hidden" + src="http://tracking.example.com/" + ></iframe> + </body> +</html> diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-script.js b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-script.js new file mode 100644 index 0000000000..808c08c8d3 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-script.js @@ -0,0 +1,21 @@ +/* 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 http://mozilla.org/MPL/2.0/. */ + +console.log(document, document.body); +console.assert(false, "Failing mozscreenshots assertion"); + +console.group("Grouped Message"); +console.log("group message 1"); +console.groupEnd(); + +console.count("counter"); +console.count("counter"); + +console.log("first", { a: 1 }, "second", { b: "hello" }, "third", { + c: new Map(), +}); +console.log("first", { a: 1 }, "second", { b: "hello" }); +console.log("first", { a: 1 }, "\nsecond", { b: "hello" }); +console.log("first", "\nsecond"); +console.log("\nfirst", "second"); diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-style.css b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-style.css new file mode 100644 index 0000000000..145a4e57d4 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-style.css @@ -0,0 +1,28 @@ +/* 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 http://mozilla.org/MPL/2.0/. */ + +body { + --background-color: #f3f3f3; + background: tomato; +} + +body { + background: var(--background-color); + color: #222; + padding: 0 10px; + margin: 0; +} + +header { + background: #eee; + border-bottom: solid 2px #ccc; + margin: 0 -10px; + margin-bottom: 5px; + padding: 4px; +} + +header h1 { + margin: 0; + padding: 0; +} diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots.html b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots.html new file mode 100644 index 0000000000..494bdba159 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots.html @@ -0,0 +1,83 @@ +<!DOCTYPE html> +<!-- 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 http://mozilla.org/MPL/2.0/. --> +<html> + <head> + <meta charset="UTF-8" /> + <title>mozscreenshots</title> + <link rel="stylesheet" href="mozscreenshots-style.css" /> + <script> + console.info("This page was generated by mozscreenshots"); + </script> + </head> + + <body> + <header><h1>mozscreenshots</h1></header> + + <p>This page was generated by mozscreenshots</p> + + <img src="robot.png" /> + + <p> + Welcome Humans! We invite others to keep the Manifesto’s principles; use + the creation delivery and commitment. Advancing the Manifesto. We have + shiny metal posteriors which <strong>should not be bitten</strong>. And + they have distilled a public benefit is committed to use Mozilla project + one basic and communities of modern life. + </p> + + <p> + Robots have + <mark>distilled a balance between commercial aspects of life</mark>. + </p> + + <p> + Robots may not they have shown in education communication collaboration + business entertainment and other people to pursue; speak to continue; and + opportunity are many different ways to benefit the public benefit the + Manifesto’s principles; build and motivate us and trademarks + infrastructure funds and trademarks infrastructure funds and enable + open-source technologies and provide a whole. + </p> + + <p> + And they have seen things you people who believe that Mozilla Manifesto. + We are to: articulate a vision of individual human being to benefit the + lives of these efforts we will: build and promote models for creating + economic value for the Internet. We create world-class open and anticipate + the Mozilla Manifesto + <strong>There are Your Plastic Pal Who's Fun To Be With</strong> + </p> + + <p> + Some Foundation to advance this vision of individual human being or not + deeply involved in groups and promote models for the Manifesto principles + will not come to support the Mozilla Foundation Pledge The Mozilla + Manifesto in its activities. People are to: articulate a set of consumer + products that support <mark>the Internet is a human being</mark> or not be + treated as individuals working together in the development of the Internet + open and with goodwill!Specifically we believe that we will: build and + society as a public good as a result of the lives of collaborative + activities. Specifically we have seen things you people acting as + optional. Individuals must not come to continue to develop new ways of the + Internet are fundamental and with us to ensure that openness innovation + and very effective way that the Manifesto There are many benefits; a + global public benefit; and society as optional. + </p> + + <p> + <strong + >We have metal posteriors which should not deeply involved in a + reality.</strong + > + Individuals must remain open source software promotes the Internet is a + balance between commercial profit and within the Mozilla Corporation. + Invitation The Internet are key to join us to life on their own. The + Internet a whole. The Internet as a vision of the Mozilla contributors + proud of time attention and motivate us and provide a reality. + </p> + + <script src="mozscreenshots-script.js"></script> + </body> +</html> diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/permissionPrompts.html b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/permissionPrompts.html new file mode 100644 index 0000000000..92ec9805b5 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/permissionPrompts.html @@ -0,0 +1,64 @@ +<!-- 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 http://mozilla.org/MPL/2.0/. --> + +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8" /> + <title>Permission Prompts</title> + </head> + <body> + <button + id="geo" + onclick="navigator.geolocation.getCurrentPosition(() => {})" + > + Geolocation + </button> + <button id="xr" onclick="content.navigator.getVRDisplays();">WebXR</button> + <button id="persistent-storage" onclick="navigator.storage.persist()"> + Persistent Storage + </button> + <button + id="webRTC-shareDevices" + onclick="shareDevice({video: true, fake: true});" + > + Video + </button> + <button + id="webRTC-shareMicrophone" + onclick="shareDevice({audio: true, fake: true});" + > + Audio + </button> + <button + id="webRTC-shareDevices2" + onclick="shareDevice({audio: true, video: true, fake: true});" + > + Audio and Video + </button> + <button + id="webRTC-shareScreen" + onclick="shareDevice({video: {mediaSource: 'screen'}});" + > + Screen + </button> + <button id="web-notifications" onclick="Notification.requestPermission()"> + web-notifications + </button> + <a id="addons" href="borderify.xpi">Install Add-On</a> + <form> + <input type="email" id="email" value="email@example.com" /> + <input type="password" id="password" value="" /> + <button type="submit" id="login-capture">Login</button> + </form> + + <script> + // Share device used in onclick calls above. + /* exported shareDevice */ + function shareDevice(config) { + navigator.mediaDevices.getUserMedia(config); + } + </script> + </body> +</html> diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot.png b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot.png Binary files differnew file mode 100644 index 0000000000..e94c4e3621 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot.png diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_center.png b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_center.png Binary files differnew file mode 100644 index 0000000000..9207d38ed4 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_center.png diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_cropped_diagonal.png b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_cropped_diagonal.png Binary files differnew file mode 100644 index 0000000000..3a23fe8794 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_cropped_diagonal.png diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_diagonal.png b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_diagonal.png Binary files differnew file mode 100644 index 0000000000..56ab0cc380 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_diagonal.png diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_uncropped.png b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_uncropped.png Binary files differnew file mode 100644 index 0000000000..83760bbae7 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_uncropped.png diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_upperleft.png b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_upperleft.png Binary files differnew file mode 100644 index 0000000000..dc0d1b2371 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/robot_upperleft.png |