Open Bug 473154 Opened 16 years ago Updated 2 years ago

Warning when trying to run a local HttpServer with MozMill: undefined property Ci.nsIHttpServer

Categories

(Testing :: General, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

Details

Attachments

(1 file)

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090110 Minefield/3.2a1pre and MozMill 1.0

When you write a MozMill test (see attachment) which uses the httpd.js framework the following warning is shown up in the Error Console. 

Warning: reference to undefined property Ci.nsIHttpServer
Source File: file:///Volumes/Daten/mozilla/profiles/mozmill/extensions/mozmill@mozilla.com/resource/stdlib/httpd.js
Line: 430

Steps:
1. Install the MozMill extension
2. Run the attached test
This is a new issue in Minefield.

Can anyone tell me where the hell Ci.nsIHttpServer went in trunk?
This code hasn't changed in the mochitest httpd server in trunk either.

http://mxr.mozilla.org/mozilla-central/source/netwerk/test/httpserver/httpd.js

line 549
Are you compiling netwerk/test/httpserver/nsIHttpServer.idl to an xpt and using that correctly?  I guarantee that line works correctly in reftest when httpd.js is used there.
See this in latest Minefield nightly build.

http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/

Is something wrong with the nightlies?
Component: httpd.js → General
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: