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/tests/mochitest/chrome/489127.html | 268 +++ .../mochitest/chrome/DOMWindowCreated_chrome.xhtml | 33 + .../mochitest/chrome/DOMWindowCreated_content.html | 9 + dom/tests/mochitest/chrome/child_focus_frame.html | 57 + dom/tests/mochitest/chrome/chrome.ini | 91 ++ .../chrome/file_DOM_element_instanceof.xhtml | 32 + .../mochitest/chrome/file_bug1224790-1_modal.xhtml | 34 + .../chrome/file_bug1224790-1_nonmodal.xhtml | 28 + .../mochitest/chrome/file_bug1224790-2_modal.xhtml | 36 + .../chrome/file_bug1224790-2_nonmodal.xhtml | 42 + dom/tests/mochitest/chrome/file_bug800817.xhtml | 79 + dom/tests/mochitest/chrome/file_bug830858.xhtml | 66 + .../chrome/file_clipboard_events_chrome.html | 1 + .../chrome/file_popup_blocker_chrome.html | 6 + .../chrome/file_resize_move_windows_1.html | 19 + .../chrome/file_resize_move_windows_2.html | 8 + .../mochitest/chrome/file_subscript_bindings.js | 1 + dom/tests/mochitest/chrome/focus_dialog.xhtml | 71 + dom/tests/mochitest/chrome/focus_frameset.html | 25 + dom/tests/mochitest/chrome/focus_window2.xhtml | 26 + dom/tests/mochitest/chrome/queryCaretRectUnix.html | 209 +++ dom/tests/mochitest/chrome/queryCaretRectWin.html | 218 +++ .../mochitest/chrome/selectAtPoint-innerframe.html | 6 + dom/tests/mochitest/chrome/selectAtPoint.html | 278 ++++ .../mochitest/chrome/sizemode_attribute.xhtml | 87 + .../mochitest/chrome/test_DOMWindowCreated.xhtml | 29 + .../chrome/test_DOM_element_instanceof.xhtml | 34 + dom/tests/mochitest/chrome/test_activation.xhtml | 42 + dom/tests/mochitest/chrome/test_bug1224790-1.xhtml | 69 + dom/tests/mochitest/chrome/test_bug1224790-2.xhtml | 70 + dom/tests/mochitest/chrome/test_bug800817.xhtml | 43 + dom/tests/mochitest/chrome/test_bug830858.xhtml | 36 + .../mochitest/chrome/test_callback_wrapping.xhtml | 22 + .../chrome/test_clipboard_events_chrome.html | 60 + dom/tests/mochitest/chrome/test_clonewrapper.xhtml | 117 ++ .../mochitest/chrome/test_cyclecollector.xhtml | 54 + .../mochitest/chrome/test_docshell_swap.xhtml | 71 + .../mochitest/chrome/test_elements_proto.xhtml | 29 + dom/tests/mochitest/chrome/test_focus.xhtml | 32 + dom/tests/mochitest/chrome/test_focus_dialog.xhtml | 33 + dom/tests/mochitest/chrome/test_focus_docnav.xhtml | 27 + .../chrome/test_focused_link_scroll.xhtml | 46 + dom/tests/mochitest/chrome/test_geolocation.xhtml | 54 + .../mochitest/chrome/test_getTransformTo.html | 117 ++ dom/tests/mochitest/chrome/test_indexedSetter.html | 38 + .../chrome/test_intlUtils_getDisplayNames.html | 351 ++++ .../chrome/test_intlUtils_isAppLocaleRTL.html | 37 + .../mochitest/chrome/test_moving_nodeList.xhtml | 44 + dom/tests/mochitest/chrome/test_moving_xhr.xhtml | 40 + .../mochitest/chrome/test_nodesFromPoint.html | 119 ++ dom/tests/mochitest/chrome/test_nodesFromRect.html | 21 + dom/tests/mochitest/chrome/test_parsingMode.html | 72 + .../chrome/test_popup_blocker_chrome.xhtml | 66 + .../mochitest/chrome/test_queryCaretRect.html | 22 + .../chrome/test_resize_move_windows.xhtml | 249 +++ .../mochitest/chrome/test_sandbox_bindings.xhtml | 317 ++++ .../chrome/test_sandbox_eventhandler.xhtml | 37 + .../mochitest/chrome/test_sandbox_image.xhtml | 37 + .../mochitest/chrome/test_sandbox_postMessage.html | 36 + dom/tests/mochitest/chrome/test_selectAtPoint.html | 21 + .../mochitest/chrome/test_sizemode_attribute.xhtml | 26 + .../mochitest/chrome/test_subscript_bindings.xhtml | 44 + .../test_window_getRegionalPrefsLocales.html | 28 + .../chrome/test_xray_event_constructor.xhtml | 35 + dom/tests/mochitest/chrome/window_activation.xhtml | 37 + .../chrome/window_callback_wrapping.xhtml | 21 + .../mochitest/chrome/window_docshell_swap.xhtml | 8 + dom/tests/mochitest/chrome/window_focus.xhtml | 1699 ++++++++++++++++++++ .../mochitest/chrome/window_focus_docnav.xhtml | 124 ++ .../mochitest/chrome/window_focus_inner.xhtml | 12 + 70 files changed, 6256 insertions(+) create mode 100644 dom/tests/mochitest/chrome/489127.html create mode 100644 dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xhtml create mode 100644 dom/tests/mochitest/chrome/DOMWindowCreated_content.html create mode 100644 dom/tests/mochitest/chrome/child_focus_frame.html create mode 100644 dom/tests/mochitest/chrome/chrome.ini create mode 100644 dom/tests/mochitest/chrome/file_DOM_element_instanceof.xhtml create mode 100644 dom/tests/mochitest/chrome/file_bug1224790-1_modal.xhtml create mode 100644 dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xhtml create mode 100644 dom/tests/mochitest/chrome/file_bug1224790-2_modal.xhtml create mode 100644 dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xhtml create mode 100644 dom/tests/mochitest/chrome/file_bug800817.xhtml create mode 100644 dom/tests/mochitest/chrome/file_bug830858.xhtml create mode 100644 dom/tests/mochitest/chrome/file_clipboard_events_chrome.html create mode 100644 dom/tests/mochitest/chrome/file_popup_blocker_chrome.html create mode 100644 dom/tests/mochitest/chrome/file_resize_move_windows_1.html create mode 100644 dom/tests/mochitest/chrome/file_resize_move_windows_2.html create mode 100644 dom/tests/mochitest/chrome/file_subscript_bindings.js create mode 100644 dom/tests/mochitest/chrome/focus_dialog.xhtml create mode 100644 dom/tests/mochitest/chrome/focus_frameset.html create mode 100644 dom/tests/mochitest/chrome/focus_window2.xhtml create mode 100644 dom/tests/mochitest/chrome/queryCaretRectUnix.html create mode 100644 dom/tests/mochitest/chrome/queryCaretRectWin.html create mode 100644 dom/tests/mochitest/chrome/selectAtPoint-innerframe.html create mode 100644 dom/tests/mochitest/chrome/selectAtPoint.html create mode 100644 dom/tests/mochitest/chrome/sizemode_attribute.xhtml create mode 100644 dom/tests/mochitest/chrome/test_DOMWindowCreated.xhtml create mode 100644 dom/tests/mochitest/chrome/test_DOM_element_instanceof.xhtml create mode 100644 dom/tests/mochitest/chrome/test_activation.xhtml create mode 100644 dom/tests/mochitest/chrome/test_bug1224790-1.xhtml create mode 100644 dom/tests/mochitest/chrome/test_bug1224790-2.xhtml create mode 100644 dom/tests/mochitest/chrome/test_bug800817.xhtml create mode 100644 dom/tests/mochitest/chrome/test_bug830858.xhtml create mode 100644 dom/tests/mochitest/chrome/test_callback_wrapping.xhtml create mode 100644 dom/tests/mochitest/chrome/test_clipboard_events_chrome.html create mode 100644 dom/tests/mochitest/chrome/test_clonewrapper.xhtml create mode 100644 dom/tests/mochitest/chrome/test_cyclecollector.xhtml create mode 100644 dom/tests/mochitest/chrome/test_docshell_swap.xhtml create mode 100644 dom/tests/mochitest/chrome/test_elements_proto.xhtml create mode 100644 dom/tests/mochitest/chrome/test_focus.xhtml create mode 100644 dom/tests/mochitest/chrome/test_focus_dialog.xhtml create mode 100644 dom/tests/mochitest/chrome/test_focus_docnav.xhtml create mode 100644 dom/tests/mochitest/chrome/test_focused_link_scroll.xhtml create mode 100644 dom/tests/mochitest/chrome/test_geolocation.xhtml create mode 100644 dom/tests/mochitest/chrome/test_getTransformTo.html create mode 100644 dom/tests/mochitest/chrome/test_indexedSetter.html create mode 100644 dom/tests/mochitest/chrome/test_intlUtils_getDisplayNames.html create mode 100644 dom/tests/mochitest/chrome/test_intlUtils_isAppLocaleRTL.html create mode 100644 dom/tests/mochitest/chrome/test_moving_nodeList.xhtml create mode 100644 dom/tests/mochitest/chrome/test_moving_xhr.xhtml create mode 100644 dom/tests/mochitest/chrome/test_nodesFromPoint.html create mode 100644 dom/tests/mochitest/chrome/test_nodesFromRect.html create mode 100644 dom/tests/mochitest/chrome/test_parsingMode.html create mode 100644 dom/tests/mochitest/chrome/test_popup_blocker_chrome.xhtml create mode 100644 dom/tests/mochitest/chrome/test_queryCaretRect.html create mode 100644 dom/tests/mochitest/chrome/test_resize_move_windows.xhtml create mode 100644 dom/tests/mochitest/chrome/test_sandbox_bindings.xhtml create mode 100644 dom/tests/mochitest/chrome/test_sandbox_eventhandler.xhtml create mode 100644 dom/tests/mochitest/chrome/test_sandbox_image.xhtml create mode 100644 dom/tests/mochitest/chrome/test_sandbox_postMessage.html create mode 100644 dom/tests/mochitest/chrome/test_selectAtPoint.html create mode 100644 dom/tests/mochitest/chrome/test_sizemode_attribute.xhtml create mode 100644 dom/tests/mochitest/chrome/test_subscript_bindings.xhtml create mode 100644 dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html create mode 100644 dom/tests/mochitest/chrome/test_xray_event_constructor.xhtml create mode 100644 dom/tests/mochitest/chrome/window_activation.xhtml create mode 100644 dom/tests/mochitest/chrome/window_callback_wrapping.xhtml create mode 100644 dom/tests/mochitest/chrome/window_docshell_swap.xhtml create mode 100644 dom/tests/mochitest/chrome/window_focus.xhtml create mode 100644 dom/tests/mochitest/chrome/window_focus_docnav.xhtml create mode 100644 dom/tests/mochitest/chrome/window_focus_inner.xhtml (limited to 'dom/tests/mochitest/chrome') diff --git a/dom/tests/mochitest/chrome/489127.html b/dom/tests/mochitest/chrome/489127.html new file mode 100644 index 0000000000..0e2fd4efd4 --- /dev/null +++ b/dom/tests/mochitest/chrome/489127.html @@ -0,0 +1,268 @@ + +nsIDOMWindowUtils::nodesFromRect test - bug 489127 + + + + + +

+
+ + +
+ + + + +

+ + +

+ + +

+ + +

+ + +
+ + + +

A / A
A

+ +
text
+ +
text
+ +
+ +
+
+
+
+ diff --git a/dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xhtml b/dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xhtml new file mode 100644 index 0000000000..3ce8724fa0 --- /dev/null +++ b/dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xhtml @@ -0,0 +1,33 @@ + + + + + + + + + + diff --git a/dom/tests/mochitest/chrome/DOMWindowCreated_content.html b/dom/tests/mochitest/chrome/DOMWindowCreated_content.html new file mode 100644 index 0000000000..acb6b0582e --- /dev/null +++ b/dom/tests/mochitest/chrome/DOMWindowCreated_content.html @@ -0,0 +1,9 @@ + + + DOMWindowCreated helper + + + +

DOMWindowCreated Helper

diff --git a/dom/tests/mochitest/chrome/child_focus_frame.html b/dom/tests/mochitest/chrome/child_focus_frame.html new file mode 100644 index 0000000000..d7f0ff63cd --- /dev/null +++ b/dom/tests/mochitest/chrome/child_focus_frame.html @@ -0,0 +1,57 @@ + + + + + + +
+ +
+
+ +

+ +

+
+
+ This is a scrollable area with some sufficiently long text contained within it. +
+ + +1 +2 +Link 3 +
+ + + +
+
+ This is a scrollable area with some sufficiently long text contained within it. + This is a scrollable area with some sufficiently long text contained within it. + +
+ + + + Button 5 + + + +
+Options + One + +
+
abc
+ + + +s + + + + diff --git a/dom/tests/mochitest/chrome/chrome.ini b/dom/tests/mochitest/chrome/chrome.ini new file mode 100644 index 0000000000..098d49a49b --- /dev/null +++ b/dom/tests/mochitest/chrome/chrome.ini @@ -0,0 +1,91 @@ +[DEFAULT] +skip-if = os == 'android' +support-files = + 489127.html + DOMWindowCreated_chrome.xhtml + DOMWindowCreated_content.html + child_focus_frame.html + file_clipboard_events_chrome.html + file_DOM_element_instanceof.xhtml + file_bug800817.xhtml + file_bug830858.xhtml + file_bug1224790-1_modal.xhtml + file_bug1224790-1_nonmodal.xhtml + file_bug1224790-2_modal.xhtml + file_bug1224790-2_nonmodal.xhtml + file_popup_blocker_chrome.html + file_subscript_bindings.js + focus_frameset.html + focus_window2.xhtml + focus_dialog.xhtml + queryCaretRectUnix.html + queryCaretRectWin.html + selectAtPoint.html + selectAtPoint-innerframe.html + sizemode_attribute.xhtml + window_activation.xhtml + window_callback_wrapping.xhtml + window_docshell_swap.xhtml + window_focus.xhtml + window_focus_inner.xhtml + window_focus_docnav.xhtml + !/dom/tests/mochitest/general/file_clonewrapper.html + !/dom/tests/mochitest/general/file_moving_nodeList.html + !/dom/tests/mochitest/general/file_moving_xhr.html + !/dom/tests/mochitest/geolocation/network_geolocation.sjs + +[test_DOMWindowCreated.xhtml] +[test_DOM_element_instanceof.xhtml] +[test_activation.xhtml] +tags = fullscreen +[test_bug800817.xhtml] +[test_bug830858.xhtml] +[test_bug1224790-1.xhtml] +tags = openwindow +skip-if = os != 'mac' +[test_bug1224790-2.xhtml] +tags = openwindow +skip-if = os != 'mac' +[test_callback_wrapping.xhtml] +[test_clonewrapper.xhtml] +[test_cyclecollector.xhtml] +[test_docshell_swap.xhtml] +[test_elements_proto.xhtml] +[test_focus.xhtml] +skip-if = + os == 'linux' # bug 1296622, Bug 1605253 + os == "mac" && !debug # Bug 1828622 + os == "win" && !debug # Bug 1828622 +[test_focus_dialog.xhtml] +[test_focus_docnav.xhtml] +[test_focused_link_scroll.xhtml] +[test_geolocation.xhtml] +[test_getTransformTo.html] +[test_indexedSetter.html] +[test_intlUtils_getDisplayNames.html] +[test_intlUtils_isAppLocaleRTL.html] +[test_moving_nodeList.xhtml] +[test_moving_xhr.xhtml] +[test_nodesFromPoint.html] +[test_nodesFromRect.html] +[test_parsingMode.html] +[test_popup_blocker_chrome.xhtml] +[test_queryCaretRect.html] +[test_resize_move_windows.xhtml] +support-files = + file_resize_move_windows_1.html + file_resize_move_windows_2.html +# disabled on linux for timeouts--bug-834716 +skip-if = os == 'linux' +[test_sandbox_bindings.xhtml] +[test_sandbox_eventhandler.xhtml] +[test_sandbox_image.xhtml] +[test_sandbox_postMessage.html] +[test_selectAtPoint.html] +[test_sizemode_attribute.xhtml] +tags = fullscreen +skip-if = os != 'win' +[test_subscript_bindings.xhtml] +[test_xray_event_constructor.xhtml] +[test_clipboard_events_chrome.html] +[test_window_getRegionalPrefsLocales.html] diff --git a/dom/tests/mochitest/chrome/file_DOM_element_instanceof.xhtml b/dom/tests/mochitest/chrome/file_DOM_element_instanceof.xhtml new file mode 100644 index 0000000000..92290016f0 --- /dev/null +++ b/dom/tests/mochitest/chrome/file_DOM_element_instanceof.xhtml @@ -0,0 +1,32 @@ + + + + + + + + diff --git a/dom/tests/mochitest/chrome/file_bug1224790-1_modal.xhtml b/dom/tests/mochitest/chrome/file_bug1224790-1_modal.xhtml new file mode 100644 index 0000000000..2093ba9c67 --- /dev/null +++ b/dom/tests/mochitest/chrome/file_bug1224790-1_modal.xhtml @@ -0,0 +1,34 @@ + + + + + + + + + diff --git a/dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xhtml b/dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xhtml new file mode 100644 index 0000000000..01995a916c --- /dev/null +++ b/dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xhtml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/dom/tests/mochitest/chrome/file_bug1224790-2_modal.xhtml b/dom/tests/mochitest/chrome/file_bug1224790-2_modal.xhtml new file mode 100644 index 0000000000..74906a05f8 --- /dev/null +++ b/dom/tests/mochitest/chrome/file_bug1224790-2_modal.xhtml @@ -0,0 +1,36 @@ + + + + + + + + + diff --git a/dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xhtml b/dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xhtml new file mode 100644 index 0000000000..5e3c737676 --- /dev/null +++ b/dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xhtml @@ -0,0 +1,42 @@ + + + + + + + diff --git a/dom/tests/mochitest/chrome/file_bug800817.xhtml b/dom/tests/mochitest/chrome/file_bug800817.xhtml new file mode 100644 index 0000000000..bcd64b3ca7 --- /dev/null +++ b/dom/tests/mochitest/chrome/file_bug800817.xhtml @@ -0,0 +1,79 @@ + + + + + + + + +
+ +
Lorem ipsum dolor sit amet, at duo debet graeci, vivendum vulputate per ut. Ne labore incorrupte vix. Cu copiosae postulant tincidunt ius, in illud appetere contentiones eos.
+ +
+ +t + + + diff --git a/dom/tests/mochitest/chrome/sizemode_attribute.xhtml b/dom/tests/mochitest/chrome/sizemode_attribute.xhtml new file mode 100644 index 0000000000..3dbde68064 --- /dev/null +++ b/dom/tests/mochitest/chrome/sizemode_attribute.xhtml @@ -0,0 +1,87 @@ + + + + + + + + + + + + diff --git a/dom/tests/mochitest/chrome/test_DOMWindowCreated.xhtml b/dom/tests/mochitest/chrome/test_DOMWindowCreated.xhtml new file mode 100644 index 0000000000..4ad119b7f5 --- /dev/null +++ b/dom/tests/mochitest/chrome/test_DOMWindowCreated.xhtml @@ -0,0 +1,29 @@ + + + + + + + + + +

+

+ +
+
+ + + + +
diff --git a/dom/tests/mochitest/chrome/test_DOM_element_instanceof.xhtml b/dom/tests/mochitest/chrome/test_DOM_element_instanceof.xhtml new file mode 100644 index 0000000000..9efdaab158 --- /dev/null +++ b/dom/tests/mochitest/chrome/test_DOM_element_instanceof.xhtml @@ -0,0 +1,34 @@ + + + + + + + diff --git a/dom/tests/mochitest/chrome/test_activation.xhtml b/dom/tests/mochitest/chrome/test_activation.xhtml new file mode 100644 index 0000000000..2bc5a7d98d --- /dev/null +++ b/dom/tests/mochitest/chrome/test_activation.xhtml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + diff --git a/dom/tests/mochitest/chrome/test_bug1224790-1.xhtml b/dom/tests/mochitest/chrome/test_bug1224790-1.xhtml new file mode 100644 index 0000000000..9f2c345f5c --- /dev/null +++ b/dom/tests/mochitest/chrome/test_bug1224790-1.xhtml @@ -0,0 +1,69 @@ + + + + + + + + + + Mozilla Bug 1224790 + +