remove observer added by test to resolve test bustage caused by fix for bug 765063 (fa750527a43b)

This commit is contained in:
Myk Melez 2012-07-05 14:54:11 -07:00
parent 1d439b6aff
commit 888baf60da

View File

@ -21,6 +21,7 @@ SimpleTest.waitForExplicitFinish();
// Observe app installation and confirm that the install origin didn't change.
var observer = {
observe: function observe(subject, topic, data) {
Services.obs.removeObserver(observer, "webapps-sync-install");
ok(JSON.parse(data).installOrigin == "http://www.example.com",
"the install origin didn't change");
tearDown();