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

NEW
Unassigned

Status

SeaMonkey
Testing Infrastructure
7 years ago
7 years ago

People

(Reporter: sgautherie, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [good first bug])

(Reporter)

Description

7 years ago
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.

Comment 1

7 years ago
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?

Comment 2

7 years ago
What does mozilla-central do? Perhaps we need to port something from the Firefox test infrastructure?
You need to log in before you can comment on or make changes to this bug.