Permalink
Browse files

Fix bug 893205, fennec tabs test

  • Loading branch information...
jsantell committed Jul 12, 2013
1 parent 0e9c10e commit d6a8f105992c39099dfff37c67595d7b14729abd
Showing with 5 additions and 6 deletions.
  1. +5 −6 test/tabs/test-fennec-tabs.js
@@ -111,12 +111,11 @@ exports.testTabProperties = function(test) {
test.assertEqual(tab.url, url, "URL of the new tab matches");
test.assert(tab.favicon, "favicon of the new tab is not empty");
// TODO: remove need for this test by implementing the favicon feature
// Poors man deepEqual with JSON.stringify...
test.assertEqual(JSON.stringify(messages),
JSON.stringify(['tab.favicon is deprecated, and ' +
'currently favicon helpers are not yet supported ' +
'by Fennec']),
"favicon logs an error for now");
test.assertEqual(messages[0].msg,
"tab.favicon is deprecated, and " +
"currently favicon helpers are not yet supported " +
"by Fennec",
"favicon logs an error for now");
test.assertEqual(tab.style, null, "style of the new tab matches");
test.assertEqual(tab.index, tabsLen, "index of the new tab matches");
test.assertNotEqual(tab.getThumbnail(), null, "thumbnail of the new tab matches");

0 comments on commit d6a8f10

Please sign in to comment.