mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 932854 test fixup - reset the test plugin state only after the UI has finished checking plugin state, r=gfritzsche
This commit is contained in:
parent
82b284d489
commit
ff589cda42
@ -28,7 +28,10 @@ function runTests() {
|
||||
is(exceptionThrown, false, "Exception thrown setting undefined variable.");
|
||||
is(rv, false, "Setting undefined variable succeeded.");
|
||||
|
||||
SimpleTest.finish();
|
||||
// give the UI a chance to settle with the current enabled plugin state
|
||||
// before we finish the test and reset the state to disabled. Otherwise
|
||||
// the UI shows the plugin infobar!
|
||||
SimpleTest.executeSoon(SimpleTest.finish);
|
||||
}
|
||||
]]>
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user