finalUpdate can be false

This commit is contained in:
Cheng Zhao 2016-09-08 14:54:17 +09:00
parent 30dd65e3a9
commit a510642a25

View file

@ -783,6 +783,8 @@ describe('<webview> tag', function () {
let requestId = null
let activeMatchOrdinal = []
const listener = function (e) {
if (!e.result.finalUpdate)
return
assert.equal(e.result.requestId, requestId)
assert.equal(e.result.matches, 3)
activeMatchOrdinal.push(e.result.activeMatchOrdinal)