From f6e09159b216fa1a190c82a69e103c5ca825fc10 Mon Sep 17 00:00:00 2001 From: Mirko Brodesser Date: Tue, 9 Feb 2021 15:16:15 +0000 Subject: [PATCH] Bug 1691666: part 1) Add some documentation to `SpecialPowersChild.setCommandNode`. r=masayuki Differential Revision: https://phabricator.services.mozilla.com/D104504 --- testing/specialpowers/content/SpecialPowersChild.jsm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testing/specialpowers/content/SpecialPowersChild.jsm b/testing/specialpowers/content/SpecialPowersChild.jsm index 9e16ae44b6ec..cd70d3a074b8 100644 --- a/testing/specialpowers/content/SpecialPowersChild.jsm +++ b/testing/specialpowers/content/SpecialPowersChild.jsm @@ -2118,6 +2118,9 @@ class SpecialPowersChild extends JSWindowActorChild { return window.docShell.isCommandEnabled(cmd); } + /** + * See \ref nsIContentViewerEdit.setCommandNode(in Node). + */ setCommandNode(window, node) { return window.docShell.contentViewer .QueryInterface(Ci.nsIContentViewerEdit) -- 2.11.4.GIT