Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1396 from erikvold/970171
Browse files Browse the repository at this point in the history
Bug 970171 remove use of corrupt image in tabs tests r=@jsantell
  • Loading branch information
erikvold committed Feb 11, 2014
2 parents a7e149d + 4378802 commit acdaa7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Binary file added test/fixtures/Firefox.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions test/tabs/test-firefox-tabs.js
Expand Up @@ -13,8 +13,7 @@ const tabs = require('sdk/tabs');
const { browserWindows } = require('sdk/windows');
const { set: setPref } = require("sdk/preferences/service");
const DEPRECATE_PREF = "devtools.errorconsole.deprecation_warnings";

const base64png = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAA";
const fixtures = require("../fixtures");

// Bug 682681 - tab.title should never be empty
exports.testBug682681_aboutURI = function(assert, done) {
Expand Down Expand Up @@ -916,7 +915,7 @@ exports.testOnLoadEventWithImage = function(assert, done) {
let count = 0;

tabs.open({
url: base64png,
url: fixtures.url('Firefox.jpg'),
inBackground: true,
onLoad: function(tab) {
if (++count > 1) {
Expand Down

0 comments on commit acdaa7a

Please sign in to comment.