Fix crasher in domdiff.test.js

Change-Id: I72480137a456a19cc0f34a93bb320c1220f4370d
Merge "Fix crasher in domdiff.test.js"