From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- dom/plugins/test/crashtests/110650-1.html | 11 +++ dom/plugins/test/crashtests/41276-1.html | 28 ++++++++ dom/plugins/test/crashtests/48856-1.html | 10 +++ dom/plugins/test/crashtests/752340.html | 19 +++++ dom/plugins/test/crashtests/843086.xhtml | 1 + dom/plugins/test/crashtests/crashtests.list | 5 ++ dom/plugins/test/mochitest/block_all_plugins.html | 10 +++ dom/plugins/test/mochitest/browser.ini | 5 ++ .../test/mochitest/browser_blockallplugins.js | 64 +++++++++++++++++ dom/plugins/test/mochitest/large-pic.jpg | Bin 0 -> 98570 bytes dom/plugins/test/mochitest/mixed_case_mime.sjs | 7 ++ dom/plugins/test/mochitest/mochitest.ini | 10 +++ .../test/mochitest/test_mixed_case_mime.html | 25 +++++++ .../test/mochitest/test_plugin_fallback_focus.html | 80 +++++++++++++++++++++ dom/plugins/test/moz.build | 9 +++ 15 files changed, 284 insertions(+) create mode 100644 dom/plugins/test/crashtests/110650-1.html create mode 100644 dom/plugins/test/crashtests/41276-1.html create mode 100644 dom/plugins/test/crashtests/48856-1.html create mode 100644 dom/plugins/test/crashtests/752340.html create mode 100644 dom/plugins/test/crashtests/843086.xhtml create mode 100644 dom/plugins/test/crashtests/crashtests.list create mode 100644 dom/plugins/test/mochitest/block_all_plugins.html create mode 100644 dom/plugins/test/mochitest/browser.ini create mode 100644 dom/plugins/test/mochitest/browser_blockallplugins.js create mode 100644 dom/plugins/test/mochitest/large-pic.jpg create mode 100644 dom/plugins/test/mochitest/mixed_case_mime.sjs create mode 100644 dom/plugins/test/mochitest/mochitest.ini create mode 100644 dom/plugins/test/mochitest/test_mixed_case_mime.html create mode 100644 dom/plugins/test/mochitest/test_plugin_fallback_focus.html create mode 100644 dom/plugins/test/moz.build (limited to 'dom/plugins/test') diff --git a/dom/plugins/test/crashtests/110650-1.html b/dom/plugins/test/crashtests/110650-1.html new file mode 100644 index 0000000000..9826227b03 --- /dev/null +++ b/dom/plugins/test/crashtests/110650-1.html @@ -0,0 +1,11 @@ + + +123246 testcase + + + + + + + + diff --git a/dom/plugins/test/crashtests/41276-1.html b/dom/plugins/test/crashtests/41276-1.html new file mode 100644 index 0000000000..ba35c34fa0 --- /dev/null +++ b/dom/plugins/test/crashtests/41276-1.html @@ -0,0 +1,28 @@ +Plugin Limit + + +Mozilla has a hardcoded limit of 10 simultaneously embedded plugins.
+If that limit is exceeded, plugin instances are prematurely destroyed (see the empty boxes below).
+Leave or reload a page that has a prematurely destroyed plugin and mozilla will crash.
+Sometimes, just loading this page will cause mozilla to crash.
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ diff --git a/dom/plugins/test/crashtests/48856-1.html b/dom/plugins/test/crashtests/48856-1.html new file mode 100644 index 0000000000..cd0de2ab94 --- /dev/null +++ b/dom/plugins/test/crashtests/48856-1.html @@ -0,0 +1,10 @@ + + + + Mozilla Bug 48856 + + + + + diff --git a/dom/plugins/test/crashtests/752340.html b/dom/plugins/test/crashtests/752340.html new file mode 100644 index 0000000000..c4c8c464f5 --- /dev/null +++ b/dom/plugins/test/crashtests/752340.html @@ -0,0 +1,19 @@ + + + + + + + + + + diff --git a/dom/plugins/test/mochitest/test_plugin_fallback_focus.html b/dom/plugins/test/mochitest/test_plugin_fallback_focus.html new file mode 100644 index 0000000000..e89abb44df --- /dev/null +++ b/dom/plugins/test/mochitest/test_plugin_fallback_focus.html @@ -0,0 +1,80 @@ + + + + + Test that plugins reject focus + + + + + +
+ + + +
+ + + + + diff --git a/dom/plugins/test/moz.build b/dom/plugins/test/moz.build new file mode 100644 index 0000000000..c3f85d5c48 --- /dev/null +++ b/dom/plugins/test/moz.build @@ -0,0 +1,9 @@ +# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# 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/. + +if CONFIG["MOZ_WIDGET_TOOLKIT"] in ("gtk", "cocoa", "windows"): + MOCHITEST_MANIFESTS += ["mochitest/mochitest.ini"] + BROWSER_CHROME_MANIFESTS += ["mochitest/browser.ini"] -- cgit v1.2.3