VisualEditor: Provide an easy way to sanity-check VE input / output behavior


In the investigation of most round-tripping bugs we need to figure out if VE modified the DOM in unexpected ways or Parsoid had issues in handling an unmodified DOM.

We need an easy way to display both the original HTML string retrieved by VE and a serialization of the modified HTML the VE sends out, possibly popped up in two textareas on some keybinding for easy copying.

This would at least allow basic manual debugging.

Optionally, as a time saver, it would be nice if you could also output a DOM diff that makes it easy to spot DOM differences. You could probably base this on the Parsoid DOMDiff module. This DOM diff can also be used in sanity checks to automatically detect VE round-trip issues.

Version: unspecified
Severity: enhancement

bzimport added a project: VisualEditor-DataModel.Via ConduitNov 22 2014, 2:03 AM
bzimport set Reference to bz49761.
GWicke created this task.Via LegacyJun 18 2013, 6:22 PM
Jdforrester-WMF moved this task to Backlog on the VisualEditor workboard.Via WebNov 24 2014, 1:22 AM
Jdforrester-WMF lowered the priority of this task from "High" to "Normal".Via WebJan 9 2015, 10:55 PM

Add Comment