Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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.