summaryrefslogtreecommitdiffstats
path: root/comm/suite/extensions/debugQA/content/debugQAEditorOverlay.xul
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /comm/suite/extensions/debugQA/content/debugQAEditorOverlay.xul
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/suite/extensions/debugQA/content/debugQAEditorOverlay.xul')
-rw-r--r--comm/suite/extensions/debugQA/content/debugQAEditorOverlay.xul45
1 files changed, 45 insertions, 0 deletions
diff --git a/comm/suite/extensions/debugQA/content/debugQAEditorOverlay.xul b/comm/suite/extensions/debugQA/content/debugQAEditorOverlay.xul
new file mode 100644
index 0000000000..c27bc01f9f
--- /dev/null
+++ b/comm/suite/extensions/debugQA/content/debugQAEditorOverlay.xul
@@ -0,0 +1,45 @@
+<?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 overlay [
+<!ENTITY % debugQAEditorOverlayDTD SYSTEM "chrome://debugqa/locale/debugQAEditorOverlay.dtd">
+%debugQAEditorOverlayDTD;
+]>
+
+<overlay id="debugQAEditorOverlay"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+ <script src="chrome://debugQA/content/debugQAEditorOverlay.js"/>
+
+ <menubar id="main-menubar">
+ <menu id="debugMenu" label="&debugMenu.label;" insertbefore="menu_Help">
+ <menupopup>
+ <menuitem label="&newEditorTestPage.label;"
+ oncommand="NewEditorWindow('chrome://debugqa/content/EditorInitPage.html');"/>
+ <menuitem label="&textEditorCmd.label;"
+ oncommand="EditorNewPlaintext();" />
+ <menuitem label="&outputTextCmd.label;"
+ oncommand="EditorGetText()"/>
+ <menuitem label="&outputHTMLCmd.label;"
+ oncommand="EditorGetHTML()"/>
+ <menuseparator/>
+ <menuitem label="&insertTextCmd.label;"
+ oncommand="EditorInsertText('All good things come to those who wait. ')"/>
+ <menuseparator/>
+ <menuitem label="&testSelectionCmd.label;"
+ oncommand="EditorTestSelection()"/>
+ <menuitem label="&testDocumentCmd.label;"
+ oncommand="EditorTestDocument()"/>
+ <menuseparator/>
+ <menuitem label="&executeJSTransactionViaEditor.label;"
+ oncommand="ExecuteJSTransactionViaEditor()"/>
+ <menuseparator/>
+ <menuitem label="&setFocusCmd.label;"
+ oncommand="window.focus()"/>
+ </menupopup>
+ </menu>
+ </menubar>
+</overlay>