Throw custom error when WebView API is unavailable

This commit is contained in:
Kevin Sawicki 2016-02-05 10:55:32 -08:00
parent 6bc48ba123
commit 8cacd0b931
2 changed files with 8 additions and 5 deletions

View file

@ -570,7 +570,7 @@ describe('<webview> tag', function() {
readyError = error;
}
assert.equal(readyError.message, 'stop can only be called after the dom-ready event is emitted');
assert.equal(readyError.message, 'Cannot call stop before the dom-ready event is emitted');
});
});