HomePhabricator

TRY #2: normalizeDOM: normalize a node after it is merged with a sibling

Description

TRY #2: normalizeDOM: normalize a node after it is merged with a sibling

Added call to normalize back after fixing the invalid assumption that
the merged child node would remain valid for addDiffMarks.

Was causing a crash when two text fields were being merged and the
sentinel node was freed and its parentNode became null.

Bug: T194082
Change-Id: I8d9291da3af078a1d9b72b61776c24e490407d4a

Details

Provenance
SbaileyAuthored on May 11 2018, 6:34 PM
jenkins-botCommitted on May 12 2018, 12:16 AM
Parents
rGPARdb4a2d1a6d2e: More fun with non-string template targets
Branches
Unknown
Tags
Unknown
ChangeId
I8d9291da3af078a1d9b72b61776c24e490407d4a