Throw custom error when WebView API is unavailable
This commit is contained in:
parent
6bc48ba123
commit
8cacd0b931
2 changed files with 8 additions and 5 deletions
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue