Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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.

All Replies (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.