gecko-dev/image/test/unit
Emilio Cobos Álvarez 16ca2c98df Bug 1642591 - Fix image/test/unit/test_private_channel.js. r=tnikkel
This test fails already on central if you change this line:

  https://searchfox.org/mozilla-central/rev/027893497316897b8f292bde48dbb6da2391a331/image/test/unit/test_private_channel.js#93

by:

  Ci.nsIReferrerInfo.EMPTY

Because the previous part of the test populates the image cache. The
test wants to check that the channel for the image load is properly
flagged as private and thus that the http cache is partitioned
appropriately, thus clearing the image caches seems sane.

While at it, also fix it so that we send a valid image instead of base64
text, though that change is not technically needed so feel free to ask
me to remove it.

Differential Revision: https://phabricator.services.mozilla.com/D79848
2020-06-18 14:07:03 +00:00
..
async_load_tests.js
bug413512.ico
bug815359.ico
image1.png
image1png16x16.jpg
image1png64x64.jpg
image2.jpg
image2jpg16x16-win.png
image2jpg16x16.png
image2jpg16x16cropped.jpg
image2jpg16x16cropped2.jpg
image2jpg16x32cropped3.jpg
image2jpg16x32scaled.jpg
image2jpg32x16cropped4.jpg
image2jpg32x16scaled.jpg
image2jpg32x32-win.png
image2jpg32x32.jpg
image2jpg32x32.png
image3.ico
image3ico16x16.png
image3ico32x32.png
image4.gif
image4gif16x16bmp24bpp.ico
image4gif16x16bmp32bpp.ico
image4gif32x32bmp24bpp.ico
image4gif32x32bmp32bpp.ico
image_load_helpers.js
test_async_notification.js
test_async_notification_404.js
test_async_notification_animated.js
test_encoder_apng.js
test_encoder_png.js
test_imgtools.js Bug 1625797 - Replace RasterImage nsIProperties impl with accessors for hotspot coordinate. r=tnikkel 2020-03-31 21:16:39 +00:00
test_moz_icon_uri.js
test_private_channel.js Bug 1642591 - Fix image/test/unit/test_private_channel.js. r=tnikkel 2020-06-18 14:07:03 +00:00
xpcshell.ini Bug 1641496 - P6: Reenable some tests r=dragana,extension-reviewers,mixedpuppy 2020-06-04 22:56:38 +00:00