diff --git a/dom/interfaces/base/nsIFocusManager.idl b/dom/interfaces/base/nsIFocusManager.idl
index 9228047a38e0..940c401a1b9c 100644
--- a/dom/interfaces/base/nsIFocusManager.idl
+++ b/dom/interfaces/base/nsIFocusManager.idl
@@ -99,6 +99,7 @@ interface nsIFocusManager : nsISupports
* descendant of it (e.g., for `` the focus is redirected
* to its descendant ``).
*/
+ [can_run_script]
void setFocus(in Element aElement, in unsigned long aFlags);
/**