From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- dom/webshare/moz.build | 10 +++++ dom/webshare/test/mochitest/mochitest.toml | 6 +++ ...st_navigator_share_consume_user_activation.html | 43 ++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 dom/webshare/moz.build create mode 100644 dom/webshare/test/mochitest/mochitest.toml create mode 100644 dom/webshare/test/mochitest/test_navigator_share_consume_user_activation.html (limited to 'dom/webshare') diff --git a/dom/webshare/moz.build b/dom/webshare/moz.build new file mode 100644 index 0000000000..30c0a3b961 --- /dev/null +++ b/dom/webshare/moz.build @@ -0,0 +1,10 @@ +# -*- 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/. + +with Files("**"): + BUG_COMPONENT = ("Core", "DOM: Core & HTML") + +MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"] diff --git a/dom/webshare/test/mochitest/mochitest.toml b/dom/webshare/test/mochitest/mochitest.toml new file mode 100644 index 0000000000..5f7355a202 --- /dev/null +++ b/dom/webshare/test/mochitest/mochitest.toml @@ -0,0 +1,6 @@ +[DEFAULT] +prefs = ["dom.webshare.enabled=true"] +scheme = "https" +skip-if = ["os == 'win'"] # https://bugzilla.mozilla.org/show_bug.cgi?id=1641280 + +["test_navigator_share_consume_user_activation.html"] diff --git a/dom/webshare/test/mochitest/test_navigator_share_consume_user_activation.html b/dom/webshare/test/mochitest/test_navigator_share_consume_user_activation.html new file mode 100644 index 0000000000..9cb3f04d96 --- /dev/null +++ b/dom/webshare/test/mochitest/test_navigator_share_consume_user_activation.html @@ -0,0 +1,43 @@ + +Web Share: consume transient activation + + + + + + + -- cgit v1.2.3