summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/webhelper/testTranslate.js6
-rw-r--r--test/webhelper/testUpdateFontSize.js6
-rw-r--r--test/webhelper/testWebActions.js6
3 files changed, 0 insertions, 18 deletions
diff --git a/test/webhelper/testTranslate.js b/test/webhelper/testTranslate.js
index f4d4f68..da8c77a 100644
--- a/test/webhelper/testTranslate.js
+++ b/test/webhelper/testTranslate.js
@@ -33,12 +33,6 @@ const WebHelperApplicationWithTranslatableText = new Lang.Class({
this.quit();
}
}));
-
- // Add an upper bound on how long the app runs, in case app.quit() does
- // not get called
- GLib.timeout_add_seconds(GLib.PRIORITY_HIGH, 5, Lang.bind(this, function() {
- this.quit();
- }));
}
});
diff --git a/test/webhelper/testUpdateFontSize.js b/test/webhelper/testUpdateFontSize.js
index 4aaaefb..8bd26be 100644
--- a/test/webhelper/testUpdateFontSize.js
+++ b/test/webhelper/testUpdateFontSize.js
@@ -33,12 +33,6 @@ const WebUpdateFontSizeTestApplication = new Lang.Class({
if (this.accept_callback !== null)
this.accept_callback(this.win, this.websettings.default_font_size);
-
- // Add an upper bound on how long the app runs, in case app.quit() does
- // not get called
- GLib.timeout_add_seconds(GLib.PRIORITY_HIGH, 5, Lang.bind(this, function () {
- this.quit();
- }));
},
accept_callback: null,
diff --git a/test/webhelper/testWebActions.js b/test/webhelper/testWebActions.js
index c543a43..e937fb6 100644
--- a/test/webhelper/testWebActions.js
+++ b/test/webhelper/testWebActions.js
@@ -24,12 +24,6 @@ const WebActionTestApplication = new Lang.Class({
this.scrolled = new Gtk.ScrolledWindow();
this.scrolled.add(this.webview);
this.win.page_manager.add(this.scrolled);
-
- // Add an upper bound on how long the app runs, in case app.quit() does
- // not get called
- GLib.timeout_add_seconds(GLib.PRIORITY_HIGH, 5, Lang.bind(this, function() {
- this.quit();
- }));
}
});