https://bugzilla.wikimedia.org/show_bug.cgi?id=42219
Web browser: Firefox
Bug #: 42219
Summary: VisualEditor: Trivial way to get a lot of errors
Product: VisualEditor
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: ContentEditable
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
1. Go to https://www.mediawiki.org/wiki/VisualEditor:Testy and click edit
2. Select all using Ctrl-A (or Cmd-A) and press backspace
3. Press any content key (e.g. "a")
What should happen:
: You get a document with an "a" in its own paragraph.
What does happen:
: You get a document with an "a" in its own paragraph, and two console errors:
TypeError: this.data[offset] is undefined
...ation)===false){return
null;}while(start>0){start--;if(this.offsetContainsAnnota...
load.p...4105Z&* (line 89)
TypeError: this.data[offset] is undefined
...ation)===false){return
null;}while(start>0){start--;if(this.offsetContainsAnnota...
load.p...4105Z&* (line 89)
Thereafter, pressing return in the new context gives:
TypeError: node is null
...ve.Node.call(this,type);this.model=model;this.$=$element||$('<div>');this.parent...
Etc.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l