1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-31 12:15:46 +01:00

More per-window private browsing fixes.

This commit is contained in:
Kris Maglione
2013-04-26 19:14:36 -07:00
parent da332e7c2c
commit f166f50780
5 changed files with 26 additions and 7 deletions

View File

@@ -151,7 +151,7 @@ var IO = Module("io", {
dactyl.triggerObserver("io.source", context, file, file.lastModifiedTime);
}
if (/\.js,$/.test(filename))
if (/\.jsm$/.test(filename))
sourceJSM();
else if (/\.js$/.test(filename)) {
try {
@@ -168,6 +168,8 @@ var IO = Module("io", {
sourceJSM();
}
else {
if (e instanceof Finished)
return;
if (e.fileName && !(e instanceof FailedAssertion))
try {
e.fileName = util.fixURI(e.fileName);