/**
* Gets all of the token entries on the page.
- * return {Element[]} Elements displaying token information.
+ * @return {!NodeList} Elements displaying token information.
*/
getTokens: function() {
return document.querySelectorAll('#token-list > div');
IdentityInternalsWebUITestAsync.prototype = {
__proto__: IdentityInternalsMultipleTokensWebUITest.prototype,
- /** @inhritDoc */
+ /** @override */
isAsync: true,
};
expectEquals(2, tokenListBefore.length);
var tokenRevokeDone = identity_internals.tokenRevokeDone;
identity_internals.tokenRevokeDone = this.continueTest(
- WhenTestDone.ALWAYS, function (accessTokens) {
+ WhenTestDone.ALWAYS, function(accessTokens) {
tokenRevokeDone.call(identity_internals, accessTokens);
identity_internals.tokenRevokeDone = tokenRevokeDone;
var tokenListAfter = this.getTokens();