Bug 605365 - Fix typo in browser_contentpopup.js and browser_forms.js (r=mfinkle)
--- a/mobile/chrome/tests/browser_contentpopup.js
+++ b/mobile/chrome/tests/browser_contentpopup.js
@@ -38,17 +38,17 @@ function runNextTest() {
// Cleanup. All tests are completed at this point
try {
// Add any cleanup code here
// Close our tab when finished
Browser.closeTab(newTab);
}
finally {
- // We must finialize the tests
+ // We must finalize the tests
finish();
}
}
}
//------------------------------------------------------------------------------
// Case: Show/Hide the content popup helper
gTests.push({
--- a/mobile/chrome/tests/browser_forms.js
+++ b/mobile/chrome/tests/browser_forms.js
@@ -22,17 +22,17 @@ function test() {
function onTabLoaded() {
BrowserUI.closeAutoComplete(true);
testMouseEvents();
}
function testMouseEvents() {
// Sending a synthesized event directly on content should not work - we
// don't want web content to be able to open the form helper without the
- // user consent, so we have to pass throught the canvas tile-container
+ // user consent, so we have to pass through the canvas tile-container
AsyncTests.waitFor("Test:Click", {}, function(json) {
is(json.result, false, "Form Assistant should stay closed");
});
AsyncTests.waitFor("Test:Focus", { value: "#root" }, function(json) {
is(json.result, false, "Form Assistant should stay closed");
});