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 --- browser/base/content/test/forms/browser.toml | 34 + .../base/content/test/forms/browser_selectpopup.js | 914 +++++++++++++++++++++ .../test/forms/browser_selectpopup_colors.js | 867 +++++++++++++++++++ .../content/test/forms/browser_selectpopup_dir.js | 21 + .../content/test/forms/browser_selectpopup_hr.js | 55 ++ .../test/forms/browser_selectpopup_large.js | 323 ++++++++ .../test/forms/browser_selectpopup_searchfocus.js | 36 + .../test/forms/browser_selectpopup_showPicker.js | 60 ++ .../forms/browser_selectpopup_text_transform.js | 40 + .../test/forms/browser_selectpopup_toplevel.js | 25 + .../test/forms/browser_selectpopup_user_input.js | 90 ++ .../test/forms/browser_selectpopup_width.js | 49 ++ .../test/forms/browser_selectpopup_xhtml.js | 36 + browser/base/content/test/forms/head.js | 51 ++ 14 files changed, 2601 insertions(+) create mode 100644 browser/base/content/test/forms/browser.toml create mode 100644 browser/base/content/test/forms/browser_selectpopup.js create mode 100644 browser/base/content/test/forms/browser_selectpopup_colors.js create mode 100644 browser/base/content/test/forms/browser_selectpopup_dir.js create mode 100644 browser/base/content/test/forms/browser_selectpopup_hr.js create mode 100644 browser/base/content/test/forms/browser_selectpopup_large.js create mode 100644 browser/base/content/test/forms/browser_selectpopup_searchfocus.js create mode 100644 browser/base/content/test/forms/browser_selectpopup_showPicker.js create mode 100644 browser/base/content/test/forms/browser_selectpopup_text_transform.js create mode 100644 browser/base/content/test/forms/browser_selectpopup_toplevel.js create mode 100644 browser/base/content/test/forms/browser_selectpopup_user_input.js create mode 100644 browser/base/content/test/forms/browser_selectpopup_width.js create mode 100644 browser/base/content/test/forms/browser_selectpopup_xhtml.js create mode 100644 browser/base/content/test/forms/head.js (limited to 'browser/base/content/test/forms') diff --git a/browser/base/content/test/forms/browser.toml b/browser/base/content/test/forms/browser.toml new file mode 100644 index 0000000000..33d73ba8bf --- /dev/null +++ b/browser/base/content/test/forms/browser.toml @@ -0,0 +1,34 @@ +[DEFAULT] +prefs = ["gfx.font_loader.delay=0", "dom.select.showPicker.enabled=true"] +support-files = ["head.js"] + +["browser_selectpopup.js"] +skip-if = [ + "os == 'linux'", # Bug 1329991 + "os == 'mac'", # Bug 1661132, 1775896 + "verify && os == 'win'", +] + +["browser_selectpopup_colors.js"] +skip-if = ["os == 'linux'"] # Bug 1329991 - test fails intermittently on Linux builds + +["browser_selectpopup_dir.js"] + +["browser_selectpopup_hr.js"] + +["browser_selectpopup_large.js"] + +["browser_selectpopup_searchfocus.js"] +fail-if = ["a11y_checks"] # Bug 1854233 input may not be labeled + +["browser_selectpopup_showPicker.js"] + +["browser_selectpopup_text_transform.js"] + +["browser_selectpopup_toplevel.js"] + +["browser_selectpopup_user_input.js"] + +["browser_selectpopup_width.js"] + +["browser_selectpopup_xhtml.js"] diff --git a/browser/base/content/test/forms/browser_selectpopup.js b/browser/base/content/test/forms/browser_selectpopup.js new file mode 100644 index 0000000000..abcdee486f --- /dev/null +++ b/browser/base/content/test/forms/browser_selectpopup.js @@ -0,0 +1,914 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ +/* eslint-disable mozilla/no-arbitrary-setTimeout */ + +// This test tests " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " " + + " Text" + + ""; + +const PAGECONTENT_XSLT = + "" + + "" + + "" + + PAGECONTENT + + "" + + ""; + +const PAGECONTENT_SMALL = + "" + + ""; + +const PAGECONTENT_GROUPS = + "" + + ""; + +const PAGECONTENT_SOMEHIDDEN = + "" + + ""; + +const PAGECONTENT_TRANSLATED = + "" + + "
" + + "