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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user