Open Bug 1145404 Opened 5 years ago Updated 5 years ago

Add a public `do_quit` to head.js instead of `_quit`

Categories

(Testing :: XPCShell Harness, defect)

defect
Not set

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: waffles, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150228004132
This disturbs Bug #996652. The `head.js` required for the xpcshell-test has a lot of private symbols. While most of them are made public, the private `_quit` inside the `head.js` should be replaced by a public `do_quit`. Finally, the tests which make use of `_quit` should be modified to make use of `do_quit`.
Note that we'll need to keep `_quit` inside of head.js and publish a `do_quit` that lets client code set it to `true`.
You need to log in before you can comment on or make changes to this bug.