Open Bug 633933 Opened 13 years ago Updated 4 years ago

[Tests] Don't hit the network for www.mozilla.org

Categories

(SeaMonkey :: Testing Infrastructure, defect)

defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: sgautherie, Unassigned)

References

Details

(Keywords: good-first-bug)

http://mxr.mozilla.org/comm-1.9.1/search?string=www.mozilla.org&case=1&find=%2Fsuite%2Fcommon%2F.*test.*%5C.js%24
{
/suite/common/tests/unit/test_contentAreaUtils.js
    * line 52 -- const HTTP_URI = "http://www.mozilla.org/";
/suite/common/tests/browser/browser_bug509315.js
    * line 51 -- { url: "http://www.mozilla.org/projects/minefield/", title: "Minefield Start Page" },
}

http://mxr.mozilla.org/comm-central/search?string=www.mozilla.org&case=1&find=%2Fsuite%2Fcommon%2F.*test
"Same" and a few more.
I'd love to help out here if I could get a little more information. Is the plan just to take any any request for things in www.mozilla.org and instead of sending the network request, stubbing it with a stand-in mirrored page?
What does mozilla-central do? Perhaps we need to port something from the Firefox test infrastructure?
Keywords: good-first-bug
Whiteboard: [good first bug]
You need to log in before you can comment on or make changes to this bug.