Angular-baratang:
-
Chrome Addon:
-
Firefox Port:
function registered to the sidebar and execute in the inspected window context:
file "/my/file/path.json" do | |
content JSON.stringify(my_json_attributes) | |
mode "0644" | |
action :create | |
end |
import BasicAdapter from "adapters/basic"; | |
var FirefoxAdapter = BasicAdapter.extend({ | |
// send messages from the target tag to devtool panel | |
sendMessage: function(options) { | |
options = options || {}; | |
var event = document.createEvent("CustomEvent"); | |
event.initCustomEvent("ember-extension-send", true, true, options); | |
document.documentElement.dispatchEvent(event); |
_Attic |
// import base Devtools SDK Panel constructor | |
const { Panel } = require("dev/panel"); | |
// import Devtools SDK Toolbox manager constructor | |
const { Tool } = require("dev/toolbox"); | |
// import Class helper from the Addon SDK | |
const { Class } = require("sdk/core/heritage"); | |
// import self module needed to result data resources urls | |
var self = require('sdk/self'); |
This gist contains two RDP packets dump (loadable in the RDP Inspector):
TEST-PASS | leakcheck | default process: no leaks detected! | |
== BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 24550 | |
|<----------------Class--------------->|<-----Bytes------>|<----Objects---->| | |
| | Per-Inst Leaked| Total Rem| | |
0 |TOTAL | 56 4640| 152828 33| | |
11 |AsyncTransactionTrackersHolder | 72 72| 2 1| | |
42 |CompositorChild | 880 880| 1 1| | |
44 |CondVar | 40 120| 25 3| |
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ | |
/* vim:set ts=2 sw=2 sts=2 et: */ | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
/* | |
* An implementation of an HTTP server both as a loadable script and as an XPCOM | |
* component. See the accompanying README file for user documentation on | |
* httpd.js. |
duplicate: function(tabId, callback) { | |
let tab = TabManager.getTab(tabId); | |
// Ignore invalid tab ids. | |
if (!tab) { | |
if (callback) { | |
runSafe(context, callback, undefined); | |
} | |
return; | |
} |