This file contains 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
[Child 10890: Main Thread]: D/CSMLog doContentSecurityCheck { | |
[Child 10890: Main Thread]: D/CSMLog channelURI: http://example.com/ | |
[Child 10890: Main Thread]: D/CSMLog HTTP Method: GET | |
[Child 10890: Main Thread]: D/CSMLog loadingPrincipal: nullptr | |
[Child 10890: Main Thread]: D/CSMLog triggeringPrincipal: SystemPrincipal | |
[Child 10890: Main Thread]: D/CSMLog principalToInherit: NullPrincipal | |
[Child 10890: Main Thread]: D/CSMLog RedirectChain: | |
[Child 10890: Main Thread]: D/CSMLog internalContentPolicyType: 6 | |
[Child 10890: Main Thread]: D/CSMLog externalContentPolicyType: 6 | |
[Child 10890: Main Thread]: D/CSMLog upgradeInsecureRequests: false |
This file contains 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
// for use within chrome://passwordmgr/content/passwordManager.xul | |
// this is the title of the CSV data | |
var csv = `"hostname", "username", "password"`; | |
// the signons variable already exists when the document is loaded. | |
// looping through all entries, called e. | |
for (var e of signons) { | |
// JSON.stringify properly adds quotes, regardless of what characters the entries. | |
// so for every entry, take e.hostname, e.username, e.passwowrd and turn them into a quoted string |
This file contains 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
#!/usr/bin/env nodejs | |
var fs = require('fs'); | |
var vobj; | |
const DISABLE_NEXT_LINE = "// eslint-disable-next-line "; | |
fs.readFile('build/gecko/inline-violations.json', 'utf8', function (err, data) { | |
if (err) throw err; // we'll not consider error handling for now |
This file contains 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
time time in CPOWs name | |
2154860μs 0μs Firefox Developer Tools Adapters | |
117456μs 0μs [System Principal], file:///home/freddy/.mozilla/firefox/4bvglb2b.nightly-chrome-debugger/extensions/fxdevtools-adapters@mozilla.org/bootstrap.js (from: resource://gre/modules/addons/XPIProvider.jsm:4322) | |
517796μs 0μs [System Principal], resource://gre/modules/commonjs/sdk/addon/runner.js (from: resource://gre/modules/commonjs/toolkit/loader.js:241) | |
19288μs 0μs [System Principal], resource://gre/modules/commonjs/sdk/self.js (from: resource://gre/modules/commonjs/toolkit/loader.js:241) | |
4401μs 0μs [System Principal], resource://gre/modules/commonjs/sdk/preferences/service.js (from: resource://gre/modules/commonjs/toolkit/loader.js:241) | |
12029μs 0μs [System Principal], resource://gre/modules/commonjs/sdk/net/url.js (from: resource://gre/modules/commonjs/toolkit/loader.js:241) | |
2035μs 0μs [System Principal], resource://gre/modules/commonjs/sdk/core/promise.js (from: resource://gre/modules/commonjs/toolkit/loader.js:241) |
This file contains 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
#!/usr/bin/env python | |
from sys import argv | |
import hashlib | |
from base64 import urlsafe_b64encode | |
from mimetypes import guess_type | |
from os.path import basename | |
def get_mimetype(filename): | |
mt = guess_type(filename)[0] |
NewerOlder