- show stack on JS errors
- Do not show in console warnings and errors for js black boxed
- Display pseudo-arrays like arrays in the console
- console.log object logging doesn't show the object at the time of logging
- Remove the Network Panel
- Web Console and Firebug Console panel should not display 'undefined' for simple console.* API calls
- browser permanently hangs when logging tons of stuff
- The ArrayLike previewer should just check for the length property
- [preview for new String should be like an object, not like a string](https://bugzilla.mozilla.org/sho
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, Cm, components } = require('chrome'); | |
const { devtools } = Cu.import("resource://gre/modules/devtools/Loader.jsm", {}); | |
const { WebConsoleCommands } = devtools.require("devtools/toolkit/webconsole/utils"); | |
let { ActionButton } = require("sdk/ui/button/action"); | |
let button = ActionButton({ | |
id: "my-button-id", | |
label: "Add Console Helper", | |
icon: { |
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
[ | |
[ | |
"Ability to filter network tab data", | |
"https://ffdevtools.uservoice.com/forums/246087-firefox-developer-tools-ideas/suggestions/6656793-ability-to-filter-network-tab-data" | |
], | |
[ | |
"View Source in a tab", | |
"https://ffdevtools.uservoice.com/forums/246087-firefox-developer-tools-ideas/suggestions/5895550-view-source-in-a-tab" | |
], | |
[ |
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
var FirefoxClient = require("firefox-client"); | |
var client = new FirefoxClient(), | |
path = '~/tmp/', | |
options = {}; | |
client.connect(6000, function() { | |
var arguments = { | |
path: path, | |
options: options | |
}; |
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
"use strict"; | |
const { Cc, Ci, Cu, Cr } = require('chrome'); | |
Cu.import("resource://gre/modules/Services.jsm"); | |
Cu.import("resource://gre/modules/XPCOMUtils.jsm"); | |
Cu.import("resource:///modules/devtools/gDevTools.jsm"); | |
const { setTimeout, clearTimeout } = require('sdk/timers'); | |
const ZestRunner = require('zest-runner'); |
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
#!/bin/bash | |
JPM=/usr/local/bin/jpm | |
if [ -z "$1" ]; then | |
URL="http://127.0.0.1:8888/" | |
else | |
URL="http://127.0.0.1:$1/" | |
fi |
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
<?xml version="1.0" encoding="utf-8"?> | |
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> | |
<Description about="urn:mozilla:install-manifest"> | |
<em:id>@bztodo</em:id> | |
<em:version>0.0.2</em:version> | |
<em:type>2</em:type> | |
<em:bootstrap>true</em:bootstrap> | |
<em:unpack>false</em:unpack> | |
<em:name>Bugzilla Request Flags</em:name> | |
<em:homepageURL/> |
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
#!/bin/bash | |
JPM=/usr/local/bin/jpm | |
if [ -z "$1" ]; then | |
URL="http://127.0.0.1:8888/" | |
else | |
URL="http://127.0.0.1:$1/" | |
fi |
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
11:47:08.645 A promise chain failed to handle a rejection. Did you forget to '.catch', or did you forget to 'return'? | |
See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise | |
Date: Thu Nov 06 2014 11:47:00 GMT-0800 (PST) | |
Full Message: TypeError: source is not an object | |
Full Stack: merge@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/util/object.js:43:10 | |
NodeFront<.form@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/inspector.js:739:18 | |
types.addActorType/type<.read@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/protocol.js:282:7 | |
exports.WalkerFront<.frontForRawNode@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/inspector.js:2866:22 | |
Selection.prototype.setNode@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/framework/selection.js:136:1 |
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 utils = require('sdk/window/utils'); | |
let { defer } = require('sdk/core/promise'); | |
function getWs(callback) { | |
// note, this will get slow or possibly break when Firefox goes multi-process... | |
let WebSocket = utils.getMostRecentBrowserWindow().content.WebSocket; | |
if (callback) { | |
callback(null, WebSocket); | |
} else { |