Skip to content
View tooldefinition.js
"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');
View jpm-build.sh
#!/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
View foo.xml
<?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/>
View jpinstall.sh
#!/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
View error.sh
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
View getWs.js
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 {
View timeout_err.txt
TypeError: this._client is null
Stack trace:
Connection.prototype.disconnect@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/client/connection-manager.js:187:7
Connection.prototype._onTimeout@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/client/connection-manager.js:292:5
notify@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/timers.js:40:9
View gist:cdb502bf307013d0ca80
TypeError: device.forwardPort is not a function
Stack trace:
onWebIDEWindowOpen/AndroidRuntime.prototype.connect@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///Users/jeff/Library/Application%20Support/Firefox/Profiles/8mk5aumk.Nightly/extensions/jid1-0FE4uwmKGigp8Q@jetpack.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://fxdevtools-adapters-at-mozilla-dot-org/lib/main.js:82:14
AppManager.connectToRuntime/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/webide/app-manager.js:404:9
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:865:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:744:7
#!/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
Something went wrong with that request. Please try again.