2010-07-29 01:52:59 +04:00
|
|
|
/*
|
|
|
|
* Test to ensure that load/decode notifications are delivered completely and
|
|
|
|
* asynchronously when dealing with a file that's a 404.
|
|
|
|
*/
|
2019-08-29 15:59:57 +03:00
|
|
|
/* import-globals-from async_load_tests.js */
|
|
|
|
|
|
|
|
var ioService = Services.io;
|
2013-07-09 23:48:50 +04:00
|
|
|
|
2022-10-01 12:03:11 +03:00
|
|
|
// This is used in async_load_tests.js
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
Bug 1845311 - [Part 2] Use ChromeUtils.defineLazyGetter in more places r=arai,webcompat-reviewers,necko-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sync-reviewers,anti-tracking-reviewers,tabbrowser-reviewers,bytesized,twisniewski,sgalich,mak,kershaw,sclements,pbz,robwu,geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D184623
2023-08-02 02:01:02 +03:00
|
|
|
ChromeUtils.defineLazyGetter(this, "uri", function () {
|
2013-07-09 23:48:50 +04:00
|
|
|
return ioService.newURI(
|
|
|
|
"http://localhost:" +
|
|
|
|
server.identity.primaryPort +
|
|
|
|
"/async-notification-never-here.jpg"
|
|
|
|
);
|
|
|
|
});
|
2010-07-29 01:52:59 +04:00
|
|
|
|
|
|
|
load("async_load_tests.js");
|