boolean cancel = false;
if (!hackEditorNeverConsumes) {
if (editorRelevantEvent(event)) {
try {
event.stopPropagation();
} catch (JavaScriptException e) {
// If this fails, swallow it. Seems to cause issues with dom mutation
// events when setting contentEditable with JUnit tests.
}
} else {