Page MenuHomePhabricator

VisualEditor: [Regression wmf1] Uncaught Error: ve.dm.Document.getNodeFromOffset(): offset 339 is out of bounds is appearing in Mobile VE after reopening a page for the second time and hitting return twice
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Open a page with Mobile VE
2.Close the VE for it
3.Again reopen the page with VE
4.Go to the last and hit return twice

Observed Result:
The following error appears in the console:
Uncaught Error: ve.dm.Document.getNodeFromOffset(): offset 339 is out of bounds

See the screenshot attached

Test Environment:http://en.m.wikipedia.beta.wmflabs.org/
Page: http://en.m.wikipedia.beta.wmflabs.org/wiki/New_page_for_testing_the_special_characters_by_creating_a_new_page#editor/0


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-04-16_at_3.29.26_PM.png (675×1 px, 68 KB)

Details

Reference
bz64034