gecko/modules/libpr0n/test/unit/test_async_notification_404.js

9 lines
391 B
JavaScript

/*
* Test to ensure that load/decode notifications are delivered completely and
* asynchronously when dealing with a file that's a 404.
*/
var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);
var uri = ioService.newURI("http://localhost:8088/async-notification-never-here.jpg", null, null);
load('async_load_tests.js');