Skip to content

Instantly share code, notes, and snippets.

View mihaisucan's full-sized avatar

Mihai Sucan mihaisucan

View GitHub Profile
@mihaisucan
mihaisucan / webconsole-output-rewrite.md
Last active December 16, 2015 07:29
Planning for the Firefox Web Console output rewrite/reimplementation. See bug 778766.

Web Console output rewrite plan

This document describes the work we did for the Web Console output rewrite / reimplementation, see bug 778766.

Implementation is mostly complete. We still need to fix up message filtering and grouping.

This document does not accurately reflect the current Web Console output API.

@mihaisucan
mihaisucan / bug-792062.diff
Created November 28, 2012 20:52
bug-792062
diff --git a/browser/devtools/webconsole/webconsole.js b/browser/devtools/webconsole/webconsole.js
index 973c06a..a3eeacb 100644
--- a/browser/devtools/webconsole/webconsole.js
+++ b/browser/devtools/webconsole/webconsole.js
@@ -3983,7 +3983,7 @@ function WebConsoleConnectionProxy(aWebConsole, aTarget)
this._onNetworkEvent = this._onNetworkEvent.bind(this);
this._onNetworkEventUpdate = this._onNetworkEventUpdate.bind(this);
this._onFileActivity = this._onFileActivity.bind(this);
- this._onLocationChange = this._onLocationChange.bind(this);
+ this._onTabNavigated = this._onTabNavigated.bind(this);
@mihaisucan
mihaisucan / webconsole-remoting.md
Created September 10, 2012 15:51
Description of the Web Console remoting work. See Mozilla bug 768096

Web Console remoting, bug 768096

This document describes the ongoing work for the Web Console remoting patches. I also include questions, concerns for problems encountered and proposed changes. Feedback is requested.

Bug 768096 has landed. Questions and concerns that have remained open will probably be addressed at a later point in time. Thanks to everyone who provided feedback!

# HG changeset patch
# User Mihai Sucan <mihai.sucan@gmail.com>
# Date 1320420744 -7200
# Node ID 53c6fae80270d3f0c8b0bb6c6892461bd83e0f9b
# Parent 3491b2f021bf73abb8e9ed8afba6bd60b47f42e3
Bug 699130 - Paste is disabled after using it once in Scratchpad. try: -b do -p linux,linuxqt,linux64,macosx64,win32,macosx -u mochitest-o -t none
diff --git a/browser/devtools/scratchpad/scratchpad.js b/browser/devtools/scratchpad/scratchpad.js
--- a/browser/devtools/scratchpad/scratchpad.js
+++ b/browser/devtools/scratchpad/scratchpad.js
# HG changeset patch
# User Mihai Sucan <mihai.sucan@gmail.com>
# Date 1320420389 -7200
# Node ID e7d2ed5b2e9e4f39ddc28ab7b7ed65a4b92bb313
# Parent 3491b2f021bf73abb8e9ed8afba6bd60b47f42e3
Bug 699130 - Paste is disabled after using it once in Scratchpad. try: -b do -p linux,linuxqt,linux64,macosx64,win32,macosx -u mochitest-o -t none
diff --git a/browser/devtools/scratchpad/scratchpad.js b/browser/devtools/scratchpad/scratchpad.js
--- a/browser/devtools/scratchpad/scratchpad.js
+++ b/browser/devtools/scratchpad/scratchpad.js
# HG changeset patch
# User Mihai Sucan <mihai.sucan@gmail.com>
# Date 1320419376 -7200
# Node ID a228454d4592cf20181331b97f07f55ef03b99c1
# Parent 3491b2f021bf73abb8e9ed8afba6bd60b47f42e3
Bug 699130 - Paste is disabled after using it once in Scratchpad. try: -b do -p linux,linuxqt,linux64,macosx64,win32,macosx -u mochitest-o -t none
diff --git a/browser/devtools/scratchpad/scratchpad.js b/browser/devtools/scratchpad/scratchpad.js
--- a/browser/devtools/scratchpad/scratchpad.js
+++ b/browser/devtools/scratchpad/scratchpad.js
# HG changeset patch
# User Mihai Sucan <mihai.sucan@gmail.com>
# Date 1320408652 -7200
# Node ID 52226a90e63faacee54cc19ba765ff11e50fa1a3
# Parent 3491b2f021bf73abb8e9ed8afba6bd60b47f42e3
Bug 699130 - Paste is disabled after using it once in Scratchpad. try: -b do -p linux,linuxqt,linux64,macosx64,win32,macosx -u mochitest-o -t none
diff --git a/browser/devtools/scratchpad/scratchpad.js b/browser/devtools/scratchpad/scratchpad.js
--- a/browser/devtools/scratchpad/scratchpad.js
+++ b/browser/devtools/scratchpad/scratchpad.js
# HG changeset patch
# User Mihai Sucan <mihai.sucan@gmail.com>
# Date 1320403463 -7200
# Node ID 05d2d624e371629c59261585f737f04d8dd88594
# Parent 73e8ca9230d61d740d19b2148db2158852a0cfcb
Bug 699130 - Paste is disabled after using it once in Scratchpad. try: -b do -p linux,linuxqt,linux64,macosx64,win32,macosx -u mochitest-o -t none
diff --git a/browser/devtools/scratchpad/scratchpad.js b/browser/devtools/scratchpad/scratchpad.js
--- a/browser/devtools/scratchpad/scratchpad.js
+++ b/browser/devtools/scratchpad/scratchpad.js
@mihaisucan
mihaisucan / test.css
Created August 2, 2011 19:46
devtools "stress" test :)
@import "test2.css";
.foobar { color: blue }
@media screen {
.foobar {
border: 1px solid green;
text-align: error;
-whatever: test;
#!/bin/bash
# $Author: Mihai Sucan <mihai.sucan@gmail.com>$
# $Date: 2011-05-02 21:10:35 $
# usage:
# moztests -hud
# runs the HUDService tests
# moztests -ws
# runs the Workspace tests