Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Getting error "This file was removed" when trying to use sdk/test/httpd.

more options

Hi, I wish to test my website using httpd.js. Now when I am trying create a add-on and use sdk/test/httpd by adding following line var { nsHttpServer } = require("sdk/test/httpd");

I am getting following error: Message: Error: This file was removed. A copy can be obtained from: https://github.com/mozilla/addon-sdk/blob/master/test/lib/httpd.js

As new to Add on development I am unable to resolve this issue.

Thanks in advance.

Hi, I wish to test my website using httpd.js. Now when I am trying create a add-on and use sdk/test/httpd by adding following line var { nsHttpServer } = require("sdk/test/httpd"); I am getting following error: Message: Error: This file was removed. A copy can be obtained from: https://github.com/mozilla/addon-sdk/blob/master/test/lib/httpd.js As new to Add on development I am unable to resolve this issue. Thanks in advance.

Всички отговори (1)

more options

Apologies for redirecting you to a different site, but this forum primarily handles end-user support. For extension development advice, please try here: Extension Development - Mozilla Add-ons Forum.