mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 08:02:28 +01:00
e10s fixes.
This commit is contained in:
@@ -256,7 +256,7 @@ var Buffer = Module("Buffer", {
|
||||
/**
|
||||
* @property {nsIURI} The current top-level document's URI.
|
||||
*/
|
||||
get uri() util.newURI(this.win.location.href),
|
||||
get uri() util.newURI(this.win.location.href),
|
||||
|
||||
/**
|
||||
* @property {nsIURI} The current top-level document's URI, sans
|
||||
|
||||
@@ -1406,9 +1406,9 @@ var Commands = Module("commands", {
|
||||
|
||||
// Fix me.
|
||||
if (isString(sep))
|
||||
sep = RegExp(sep);
|
||||
sep = RegExp(sep || "(?:)");
|
||||
sep = sep != null ? sep : /\s/;
|
||||
let re1 = RegExp("^" + (sep.source === "" ? "(?!)" : sep.source));
|
||||
let re1 = RegExp("^" + (sep.source === "(?:)" ? "(?!)" : sep.source));
|
||||
let re2 = RegExp(/^()((?:[^\\S"']|\\.)+)((?:\\$)?)/.source.replace("S", sep.source));
|
||||
|
||||
while (str.length && !re1.test(str)) {
|
||||
|
||||
@@ -798,7 +798,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
if (params.user != null || params.pass != null)
|
||||
args.push(params.user);
|
||||
if (params.pass != null)
|
||||
args.push(prams.pass);
|
||||
args.push(params.pass);
|
||||
|
||||
apply(xmlhttp, "open", args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user