diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2022-05-10 13:16:52 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-05-10 15:51:15 +0200 |
commit | cdf70b909910974cad49a5c4372d2682209cc831 (patch) | |
tree | 9803e1a86cc13379ff9f6141dae0edec4be1993b /sfx2 | |
parent | 9a1f81f2e0fbc0306cfa6317b41fe2c0bf04fe4c (diff) |
sfx2: add config warning in UndoManager complex test
... and remove obsolete comment, that problem was fixed a decade ago.
Change-Id: I06e122128ff009778da87891739016ecc8975895
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134110
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/qa/complex/sfx2/UndoManager.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/qa/complex/sfx2/UndoManager.java b/sfx2/qa/complex/sfx2/UndoManager.java index a455a5eb4ca0..12f13ada10a1 100644 --- a/sfx2/qa/complex/sfx2/UndoManager.java +++ b/sfx2/qa/complex/sfx2/UndoManager.java @@ -224,7 +224,9 @@ public class UndoManager }; events.replaceByName( "OnViewCreated", scriptDescriptor ); - // The below doesn't work: event notification is broken in m96, see https://bz.apache.org/ooo/show_bug.cgi?id=116313 + // note: this may be prevented from working by setting + // Office::Common::Security::Scripting::AllowedDocumentEventURLs + // (checked in SfxEvents_Impl::isScriptURLAllowed()) m_callbackCalled = false; m_currentDocument.getCurrentView().dispatch( ".uno:NewWindow" ); assertTrue( "triggering an event did not work as expected - basic script not called", m_callbackCalled ); |