From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- comm/mail/test/browser/content-policy/html/401.sjs | 10 ++++++++++ .../test/browser/content-policy/html/mailtolink.html | 8 ++++++++ comm/mail/test/browser/content-policy/html/pass.png | Bin 0 -> 732 bytes .../test/browser/content-policy/html/plugin.html | 10 ++++++++++ .../browser/content-policy/html/remote-noscript.html | 19 +++++++++++++++++++ .../browser/content-policy/html/remoteimage.html | 9 +++++++++ .../browser/content-policy/html/remoteimagedata.html | 9 +++++++++ .../browser/content-policy/html/remotevideo.html | 9 +++++++++ comm/mail/test/browser/content-policy/html/video.ogv | Bin 0 -> 40604 bytes 9 files changed, 74 insertions(+) create mode 100644 comm/mail/test/browser/content-policy/html/401.sjs create mode 100644 comm/mail/test/browser/content-policy/html/mailtolink.html create mode 100644 comm/mail/test/browser/content-policy/html/pass.png create mode 100644 comm/mail/test/browser/content-policy/html/plugin.html create mode 100644 comm/mail/test/browser/content-policy/html/remote-noscript.html create mode 100644 comm/mail/test/browser/content-policy/html/remoteimage.html create mode 100644 comm/mail/test/browser/content-policy/html/remoteimagedata.html create mode 100644 comm/mail/test/browser/content-policy/html/remotevideo.html create mode 100644 comm/mail/test/browser/content-policy/html/video.ogv (limited to 'comm/mail/test/browser/content-policy/html') diff --git a/comm/mail/test/browser/content-policy/html/401.sjs b/comm/mail/test/browser/content-policy/html/401.sjs new file mode 100644 index 0000000000..93757fe5a5 --- /dev/null +++ b/comm/mail/test/browser/content-policy/html/401.sjs @@ -0,0 +1,10 @@ +/* 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/. */ + +function handleRequest(request, response) { + if (!request.hasHeader("Authorization")) { + response.setStatusLine("1.1", 401, "Unauthorized"); + response.setHeader("WWW-Authenticate", `Basic realm="401test"`); + } +} diff --git a/comm/mail/test/browser/content-policy/html/mailtolink.html b/comm/mail/test/browser/content-policy/html/mailtolink.html new file mode 100644 index 0000000000..4027a5248e --- /dev/null +++ b/comm/mail/test/browser/content-policy/html/mailtolink.html @@ -0,0 +1,8 @@ + + + Mailto Link Test + + + mailtolink + + diff --git a/comm/mail/test/browser/content-policy/html/pass.png b/comm/mail/test/browser/content-policy/html/pass.png new file mode 100644 index 0000000000..4b0d444cf6 Binary files /dev/null and b/comm/mail/test/browser/content-policy/html/pass.png differ diff --git a/comm/mail/test/browser/content-policy/html/plugin.html b/comm/mail/test/browser/content-policy/html/plugin.html new file mode 100644 index 0000000000..f8a3f4e241 --- /dev/null +++ b/comm/mail/test/browser/content-policy/html/plugin.html @@ -0,0 +1,10 @@ + + + Plugin Test + + + + + + diff --git a/comm/mail/test/browser/content-policy/html/remote-noscript.html b/comm/mail/test/browser/content-policy/html/remote-noscript.html new file mode 100644 index 0000000000..28445bfe11 --- /dev/null +++ b/comm/mail/test/browser/content-policy/html/remote-noscript.html @@ -0,0 +1,19 @@ + + + + noscript test + + +

remote-noscript.html

+

This content is served over http!

+ + +
+ + + diff --git a/comm/mail/test/browser/content-policy/html/remoteimage.html b/comm/mail/test/browser/content-policy/html/remoteimage.html new file mode 100644 index 0000000000..f7a005cf57 --- /dev/null +++ b/comm/mail/test/browser/content-policy/html/remoteimage.html @@ -0,0 +1,9 @@ + + + + Remote Image Test + + + + + diff --git a/comm/mail/test/browser/content-policy/html/remoteimagedata.html b/comm/mail/test/browser/content-policy/html/remoteimagedata.html new file mode 100644 index 0000000000..aca2427376 --- /dev/null +++ b/comm/mail/test/browser/content-policy/html/remoteimagedata.html @@ -0,0 +1,9 @@ + + + Remote Image Test + + + + (that's smiley-tongue-out.png) + + diff --git a/comm/mail/test/browser/content-policy/html/remotevideo.html b/comm/mail/test/browser/content-policy/html/remotevideo.html new file mode 100644 index 0000000000..2a4cad15b5 --- /dev/null +++ b/comm/mail/test/browser/content-policy/html/remotevideo.html @@ -0,0 +1,9 @@ + + + + Remote Image Test + + +