diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /testing/marionette/chrome | |
parent | Initial commit. (diff) | |
download | firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/marionette/chrome')
-rw-r--r-- | testing/marionette/chrome/test.xhtml | 27 | ||||
-rw-r--r-- | testing/marionette/chrome/test2.xhtml | 20 | ||||
-rw-r--r-- | testing/marionette/chrome/test_dialog.dtd | 7 | ||||
-rw-r--r-- | testing/marionette/chrome/test_dialog.properties | 7 | ||||
-rw-r--r-- | testing/marionette/chrome/test_dialog.xhtml | 37 | ||||
-rw-r--r-- | testing/marionette/chrome/test_menupopup.xhtml | 30 | ||||
-rw-r--r-- | testing/marionette/chrome/test_nested_iframe.xhtml | 9 |
7 files changed, 137 insertions, 0 deletions
diff --git a/testing/marionette/chrome/test.xhtml b/testing/marionette/chrome/test.xhtml new file mode 100644 index 0000000000..d878fb13b1 --- /dev/null +++ b/testing/marionette/chrome/test.xhtml @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<!-- 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/. --> + +<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> + +<!DOCTYPE window [ +]> +<window id="winTest" title="Title Test" windowtype="Test Type" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + <dialog id="dia" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + + <vbox id="things"> + <checkbox id="testBox" label="box" /> + <input xmlns="http://www.w3.org/1999/xhtml" id="textInput" size="6" value="test" label="input" /> + <input xmlns="http://www.w3.org/1999/xhtml" id="textInput2" size="6" value="test" label="input" /> + <input xmlns="http://www.w3.org/1999/xhtml" id="textInput3" class="asdf" size="6" value="test" label="input" /> + </vbox> + + <iframe id="iframe" name="iframename" src="chrome://marionette/content/test2.xhtml"/> + <iframe id="iframe" name="iframename" src="chrome://marionette/content/test_nested_iframe.xhtml"/> + <hbox id="testXulBox"/> + <browser id='aBrowser' src="chrome://marionette/content/test2.xhtml"/> + </dialog> +</window> diff --git a/testing/marionette/chrome/test2.xhtml b/testing/marionette/chrome/test2.xhtml new file mode 100644 index 0000000000..d6b72dab45 --- /dev/null +++ b/testing/marionette/chrome/test2.xhtml @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<!-- 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/. --> + +<!DOCTYPE window [ +]> + +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> +<dialog id="dia"> + + <vbox id="things"> + <checkbox id="testBox" label="box" /> + <input xmlns="http://www.w3.org/1999/xhtml" id="textInput" size="6" value="test" label="input" /> + <input xmlns="http://www.w3.org/1999/xhtml" id="textInput2" size="6" value="test" label="input" /> + <input xmlns="http://www.w3.org/1999/xhtml" id="textInput3" class="asdf" size="6" value="test" label="input" /> + </vbox> + +</dialog> +</window> diff --git a/testing/marionette/chrome/test_dialog.dtd b/testing/marionette/chrome/test_dialog.dtd new file mode 100644 index 0000000000..414cb0ee81 --- /dev/null +++ b/testing/marionette/chrome/test_dialog.dtd @@ -0,0 +1,7 @@ +<!-- 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/. --> + +<!ENTITY testDialog.title "Test Dialog"> + +<!ENTITY settings.label "Settings"> diff --git a/testing/marionette/chrome/test_dialog.properties b/testing/marionette/chrome/test_dialog.properties new file mode 100644 index 0000000000..ade7b6bde3 --- /dev/null +++ b/testing/marionette/chrome/test_dialog.properties @@ -0,0 +1,7 @@ +# 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/. + +testDialog.title=Test Dialog + +settings.label=Settings diff --git a/testing/marionette/chrome/test_dialog.xhtml b/testing/marionette/chrome/test_dialog.xhtml new file mode 100644 index 0000000000..bd2d7bb75b --- /dev/null +++ b/testing/marionette/chrome/test_dialog.xhtml @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<!-- 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/. --> + +<!DOCTYPE testdialog [ +<!ENTITY % dialogDTD SYSTEM "chrome://marionette/content/test_dialog.dtd" > +%dialogDTD; +]> + +<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> + + +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + title="&testDialog.title;"> +<dialog id="testDialog" + buttons="accept,cancel"> + + <vbox flex="1" style="min-width: 300px; min-height: 500px;"> + <label>&settings.label;</label> + <separator class="thin"/> + <richlistbox id="test-list" flex="1"> + <richlistitem id="item-choose" orient="horizontal" selected="true"> + <label id="choose-label" value="First Entry" flex="1"/> + <button id="choose-button" oncommand="" label="Choose..."/> + </richlistitem> + </richlistbox> + <separator class="thin"/> + <checkbox id="check-box" label="Test Mode 2" /> + <hbox align="center"> + <label id="text-box-label" control="text-box">Name:</label> + <input xmlns="http://www.w3.org/1999/xhtml" id="text-box" style="-moz-box-flex: 1;" /> + </hbox> + </vbox> + +</dialog> +</window> diff --git a/testing/marionette/chrome/test_menupopup.xhtml b/testing/marionette/chrome/test_menupopup.xhtml new file mode 100644 index 0000000000..5d8902f011 --- /dev/null +++ b/testing/marionette/chrome/test_menupopup.xhtml @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<!-- 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/. --> + +<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> + +<!DOCTYPE window [ +]> +<window id="test-window" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + <popupset id="options-popupset"> + <menupopup id="options-menupopup" position="before_end"> + <menuitem id="option-enabled" + type="checkbox" + label="enabled"/> + <menuitem id="option-hidden" + type="checkbox" + label="hidden" + hidden="true"/> + <menuitem id="option-disabled" + type="checkbox" + label="disabled" + disabled="true"/> + </menupopup> + </popupset> + <hbox align="center" style="height: 300px;"> + <button id="options-button" + popup="options-menupopup" label="button"/> + </hbox> +</window> diff --git a/testing/marionette/chrome/test_nested_iframe.xhtml b/testing/marionette/chrome/test_nested_iframe.xhtml new file mode 100644 index 0000000000..1d0edcc65b --- /dev/null +++ b/testing/marionette/chrome/test_nested_iframe.xhtml @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<!-- 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/. --> + +<!DOCTYPE window [ +]> + + <iframe id="iframe" name="iframename" src="test2.xhtml"/> |