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
cloc fx-team | |
126872 text files. | |
94996 unique files. | |
207360 files ignored. | |
http://cloc.sourceforge.net v 1.58 T=924.0 s (83.6 files/s, 18978.3 lines/s) | |
-------------------------------------------------------------------------------- | |
Language files blank comment code | |
-------------------------------------------------------------------------------- | |
C++ 8753 616565 452290 3649379 |
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
Components.classes["@mozilla.org/chrome/chrome-registry;1"] | |
.getService(Components.interfaces.nsIChromeRegistry) | |
.convertChromeURL(makeURI("chrome://global/skin/icons/chevron.png")).spec | |
/* Or, inside of webapprt: */ | |
Components.utils.import("resource://gre/modules/Services.jsm"); | |
Components.classes["@mozilla.org/chrome/chrome-registry;1"].getService(Components.interfaces.nsIChromeRegistry).convertChromeURL(Services.io.newURI("chrome://global/skin/icons/chevron.png", | |
null, null)).spec |
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
gToolbox.once("debugger-ready", panel => { | |
panel._controller.activeThread.addListener("paused", this._updateBadgeText) | |
panel._controller.activeThread.addListener("resumed", this._updateBadgeText) | |
}); | |
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
bgrins: MattN: can you remind me what the talos tests I should compare when converting tab preprocessor stuff to CSS variables? | |
4:52:53 PM MattN: bgrins: other, svgr | |
--- | |
Using build API to retrigger tests: https://secure.pub.build.mozilla.org/buildapi/self-serve/try/rev/a156536eadd1 | |
Use TabSubmit addon to be able to retrigger a bunch at a time (it's a <form> so you can't normall cmd+click to open in new tab): https://addons.mozilla.org/en-US/firefox/addon/tabsubmit/ | |
Then can compare talos results from a try push once you have a sufficient number of runs: http://compare-talos.mattn.ca/dev/?oldBranch=Fx-Team&oldRevs=94be697bd801&newBranch=Try&newRev=a156536eadd1&submit=true |
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
jpm run --binary /Applications/FirefoxDeveloperEdition.app/ --binary-args --jsconsole -v |
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
./mach mochitest-devtools browser/devtools/inspector --start-at browser_inspector_highlighter-iframes.js --end-at browser_inspector_iframe-navigation.js --run-until-failure --repeat 10000 |
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
let require = Components.utils.import("resource://gre/modules/devtools/Loader.jsm", {}).devtools.require; | |
const asyncStorage = require("devtools/toolkit/shared/async-storage"); | |
asyncStorage.clear(); |
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
const {Cc, Ci, Cu, Cr} = require("chrome"); | |
Cu.importGlobalProperties(["indexedDB"]); | |
const {Promise} = Cu.import("resource://gre/modules/Promise.jsm", {}); | |
/*! | |
localForage -- Offline Storage, Improved | |
Version 1.2.2 | |
https://mozilla.github.io/localForage | |
(c) 2013-2015 Mozilla, Apache License 2.0 |
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
HUDService.getBrowserConsole().ui.webConsoleClient.getCachedMessages(["PageError"], foo => { | |
console.log('resolve', foo.messages); | |
let m = foo.messages[foo.messages.length - 1]; | |
console.log(m.errorMessage.initial.length); | |
let longString = HUDService.getBrowserConsole().ui.webConsoleClient.longString(m.errorMessage); | |
console.log("Going to fetch longstring", longString, longString.initial.length, longString.length) | |
longString.substring(longString.initial.length, longString.length, f=> { | |
console.log(f); |
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
/* Run this in a Scratchpad in Browser Context */ | |
let {devtools} = | |
Components.utils.import("resource://gre/modules/devtools/Loader.jsm", {}); | |
let { getActiveTab } = devtools.require("sdk/tabs/utils"); | |
let { getMostRecentBrowserWindow } = devtools.require("sdk/window/utils"); | |
function addTab(url = "http://localhost/page_load_test/tp5n/bild.de/www.bild.de/index.html") { | |
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator); | |
var win = wm.getMostRecentWindow("navigator:browser"); |
OlderNewer