1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 00:24:13 +01:00

Work around some Google Reader key processing issues.

This commit is contained in:
Kris Maglione
2011-03-11 09:07:28 -05:00
parent d8c5f87872
commit de64d3f600
2 changed files with 14 additions and 4 deletions

View File

@@ -909,7 +909,9 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
for (let [file, ] in Iterator(services["dactyl:"].FILE_MAP)) {
let url = "dactyl://help/" + file;
dactyl.open(url);
util.waitFor(function () content.location.href == url, 5000);
util.waitFor(function () content.location.href == url && buffer.loaded
&& content.document.documentElement instanceof HTMLHtmlElement,
15000);
events.waitForPageLoad();
var data = [
'<?xml version="1.0" encoding="UTF-8"?>\n',