Closed
Bug 970171
Opened 10 years ago
Closed 10 years ago
test log image corrupt
Categories
(Add-on SDK Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: evold, Assigned: evold)
References
Details
Attachments
(1 file)
$ cfx test -f tabs -b /Applications/FirefoxNightly.app/ console.log: addon-sdk: [JavaScript Error: "Image corrupt or truncated: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAA#-moz-resolution=32,32" {file: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAA#-moz-resolution=32,32" line: 0}]
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8373124 -
Flags: review?(jsantell)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → evold
Comment 2•10 years ago
|
||
Comment on attachment 8373124 [details] [review] https://github.com/mozilla/addon-sdk/pull/1396 Looks good, but we should also fix that base64 uri and test to make sure that works with tabs too. Is it the base64 that's causing it, or is that just a malformed base64 uri? Also, I'd like to have a bit less.. competitive image for the test if this is to be eventually merged into m-c :)
Attachment #8373124 -
Flags: review?(jsantell) → review+
Comment 3•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/43788026f171b6fcb2e3fe19f33af42bac4b4d0a Bug 970171 using image from http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/tests/Firefox.jpg in tests instead of a corrupt data: image https://github.com/mozilla/addon-sdk/commit/acdaa7a1e9887837aa52356c8c383bcb7dc98cc4 Merge pull request #1396 from erikvold/970171 Bug 970171 remove use of corrupt image in tabs tests r=@jsantell
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to Jordan Santell [:jsantell] [@jsantell] from comment #2) > Comment on attachment 8373124 [details] [review] > https://github.com/mozilla/addon-sdk/pull/1396 > > Looks good, but we should also fix that base64 uri and test to make sure > that works with tabs too. Is it the base64 that's causing it, or is that > just a malformed base64 uri? The test is just testing the image preview page, so any image will do. There should be tests in Fx that the image preview page works for data: uris, regardless though that is not our responsibility. > Also, I'd like to have a bit less.. competitive image for the test if this > is to be eventually merged into m-c :) This image is already in m-c, I got it from http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/tests/Firefox.jpg
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•