This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/vimperator/content/config.js b/vimperator/content/config.js | |
| --- a/vimperator/content/config.js | |
| +++ b/vimperator/content/config.js | |
| @@ -7,6 +7,15 @@ | |
| const Config = Module("config", ConfigBase, { | |
| init: function () { | |
| + // XXX: for Australis | |
| + var vc = Cc["@mozilla.org/xpcom/version-comparator;1"].getService(Ci.nsIVersionComparator); | |
| + if (vc.compare(Application.version, "28.0a1") === 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from http.server import SimpleHTTPRequestHandler, test | |
| class CSPHTTPRequestHandler(SimpleHTTPRequestHandler): | |
| def end_headers(self): | |
| self.send_header('Content-Security-Policy', "default-src 'self'") | |
| super(CSPHTTPRequestHandler, self).end_headers() | |
| if __name__ == '__main__': | |
| test(HandlerClass=CSPHTTPRequestHandler) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/common/content/javascript.js b/common/content/javascript.js | |
| index 5d18212..4d9d789 100644 | |
| --- a/common/content/javascript.js | |
| +++ b/common/content/javascript.js | |
| @@ -637,8 +637,10 @@ const JavaScript = Module("javascript", { | |
| options.add(["inspectcontentobjects"], | |
| "Allow completion of JavaScript objects coming from web content. POSSIBLY INSECURE!", | |
| "boolean", false); | |
| - options.add(["expandtemplate"], | |
| - "Expand TemplateLiteral", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/common/content/completion.js b/common/content/completion.js | |
| index fbbfdef..8ab68e7 100644 | |
| --- a/common/content/completion.js | |
| +++ b/common/content/completion.js | |
| @@ -208,7 +208,13 @@ const CompletionContext = Class("CompletionContext", { | |
| __proto__: item | |
| })); | |
| }); | |
| - return { start: minStart, items: util.Array.flatten(items), longestSubstring: this.longestAllSubstring | |
| + return { start: minStart, items: util.Array.flatten(items), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/_libly.js b/_libly.js | |
| index 9626b54..5a5d583 100644 | |
| --- a/_libly.js | |
| +++ b/_libly.js | |
| @@ -247,7 +247,7 @@ libly.$U = {//{{{ | |
| let pluginPath; | |
| Error('hoge').stack.split(/\n/).some( | |
| function (s) | |
| - let (m = s.match(/-> liberator:\/\/template\/chrome:\/\/liberator\/content\/liberator\.js -> (.+):\d+$/)) | |
| + let (m = s.match(/(?:-> liberator:\/\/template\/)?chrome:\/\/liberator\/content\/liberator\.js -> (.+):\d+$/)) |
OlderNewer