Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: remoting/webapp/base/js/xmpp_error_cache_unittest.js

Issue 1410563006: [Chromoting] SessionLogger refactor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/base/js/xmpp_error_cache.js ('k') | remoting/webapp/crd/js/desktop_remoting_activity.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/xmpp_error_cache_unittest.js
diff --git a/remoting/webapp/base/js/xmpp_error_cache_unittest.js b/remoting/webapp/base/js/xmpp_error_cache_unittest.js
index f06aa15b8bbc89efa8112c4572370712c16b4b9d..8170cd330e9ea92dec0833831f4176718f6f12b4 100644
--- a/remoting/webapp/base/js/xmpp_error_cache_unittest.js
+++ b/remoting/webapp/base/js/xmpp_error_cache_unittest.js
@@ -18,8 +18,8 @@ function runStanzaTest(stanza, expected, assert) {
var parser = new DOMParser();
var xml = parser.parseFromString(stanza, 'text/xml');
monitor.processStanza(xml.firstElementChild);
- var error = monitor.getFirstError();
- assert.equal(error.raw_stanza, expected);
+ var errorStanza = monitor.getFirstErrorStanza();
+ assert.equal(errorStanza, expected);
}
QUnit.test('should strip PII from session-initiate.', function(assert) {
« no previous file with comments | « remoting/webapp/base/js/xmpp_error_cache.js ('k') | remoting/webapp/crd/js/desktop_remoting_activity.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698