Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

ابحث في الدعم

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.