It seems when in mac editing mode, right clicking the paragraph and hitting esc as the test tries to do, end up deleting the paragraph instead of just closing the context-menu.
The Qt port has been removed from WebKit, resolving this bug.