mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 12:17:59 +01:00
s/makeURI/window.makeURI/; s/'/"/
This commit is contained in:
@@ -569,12 +569,9 @@ function Buffer() //{{{
|
||||
let file = io.getFile(filename);
|
||||
|
||||
if (file.exists() && !args.bang)
|
||||
{
|
||||
liberator.echoerr("E13: File exists (add ! to override)");
|
||||
return;
|
||||
}
|
||||
return void liberator.echoerr("E13: File exists (add ! to override)");
|
||||
|
||||
chosenData = { file: file, uri: makeURI(doc.location.href, doc.characterSet) };
|
||||
chosenData = { file: file, uri: window.makeURI(doc.location.href, doc.characterSet) };
|
||||
}
|
||||
|
||||
// if browser.download.useDownloadDir = false then the "Save As"
|
||||
|
||||
@@ -62,7 +62,12 @@ function Bookmarks() //{{{
|
||||
const faviconService = Cc["@mozilla.org/browser/favicon-service;1"].getService(Ci.nsIFaviconService);
|
||||
|
||||
// XXX for strange firefox bug :(
|
||||
taggingService.getTagsForURI(makeURI('http://mysterious.bug'), {});
|
||||
// Error: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIObserverService.addObserver]"
|
||||
// nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"
|
||||
// location: "JS frame :: file://~firefox/components/nsTaggingService.js :: anonymous :: line 89"
|
||||
// data: no]
|
||||
// Source file: file://~firefox/components/nsTaggingService.js
|
||||
taggingService.getTagsForURI(window.makeURI("http://mysterious.bug"), {});
|
||||
|
||||
const Bookmark = new Struct("url", "title", "icon", "keyword", "tags", "id");
|
||||
const Keyword = new Struct("keyword", "title", "icon", "url");
|
||||
|
||||
Reference in New Issue
Block a user