diff --git a/dom/base/Document.cpp b/dom/base/Document.cpp index 450e83209fb2..f1a0cdc52070 100644 --- a/dom/base/Document.cpp +++ b/dom/base/Document.cpp @@ -5392,8 +5392,7 @@ bool Document::ExecCommand(const nsAString& aHTMLCommandName, bool aShowUI, // If we're running an execCommand, we should just return false. // https://github.com/w3c/editing/issues/200#issuecomment-575241816 - if (!StaticPrefs::dom_document_exec_command_nested_calls_allowed() && - !markRunningExecCommand.IsSafeToRun()) { + if (!markRunningExecCommand.IsSafeToRun()) { return false; } diff --git a/editor/libeditor/crashtests/1402904.html b/editor/libeditor/crashtests/1402904.html deleted file mode 100644 index 544d01208ae2..000000000000 --- a/editor/libeditor/crashtests/1402904.html +++ /dev/null @@ -1,38 +0,0 @@ - - - -
  • -