Page MenuHomePhabricator

VisualEditor: ve.ce throws Uncaught TypeError: Cannot read property 'nodeType' when suface loses focus
Closed, ResolvedPublic


In Chrome, when I click inside the editor, then right-click outside the editor, I get an exception:

Uncaught TypeError: Cannot read property 'nodeType' of null /w/extensions/VisualEditor/modules/ve/ce/ve.ce.js:118
ve.ce.getOffset /w/extensions/VisualEditor/modules/ve/ce/ve.ce.js:118
ve.ce.SurfaceObserver.poll /w/extensions/VisualEditor/modules/ve/ce/ve.ce.SurfaceObserver.js:135
ve.ce.SurfaceObserver.stop /w/extensions/VisualEditor/modules/ve/ce/ve.ce.SurfaceObserver.js:81
ve.ce.Surface.documentOnBlur /w/extensions/VisualEditor/modules/ve/ce/ve.ce.Surface.js:322
proxy l.php:775
jQuery.event.dispatch l.php:3063
elemData.handle.eventHandle l.php:2681

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:53 AM
bzimport set Reference to bz41504.

Confirm issue in Chrome, Safari; not in Firefox.

  • Bug 42525 has been marked as a duplicate of this bug. ***