Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz

This commit is contained in:
Andrea Marchesini
2014-02-27 23:39:00 +00:00
parent 5b068fdba3
commit 44b5e2b14a
24 changed files with 1171 additions and 591 deletions

View File

@@ -199,11 +199,7 @@ const WorkerSandbox = Class({
if (!getTabForContentWindow(window)) {
let win = getUnsafeWindow(window);
// export our chrome console to content window, using the same approach
// of `ConsoleAPI`:
// http://mxr.mozilla.org/mozilla-central/source/dom/base/ConsoleAPI.js#150
//
// and described here:
// export our chrome console to content window, as described here:
// https://developer.mozilla.org/en-US/docs/Components.utils.createObjectIn
let con = Cu.createObjectIn(win);