Skip to content

Instantly share code, notes, and snippets.

Mihai Sucan mihaisucan

Block or report user

Report or block mihaisucan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mihaisucan
mihaisucan / webconsole-output-rewrite.md
Last active Dec 16, 2015
Planning for the Firefox Web Console output rewrite/reimplementation. See bug 778766.
View webconsole-output-rewrite.md

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.

View bug-792062.diff
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 Sep 10, 2012
Description of the Web Console remoting work. See Mozilla bug 768096
View webconsole-remoting.md

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!

View bug-699130-6-fxteam.diff
# 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
View bug-699130-5-fxteam.diff
# 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
View bug-699130-4-fxteam.diff
# 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
View bug-699130-3-fxteam.diff
# 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
View bug-699130-2-fxteam.diff
# 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 Aug 2, 2011
devtools "stress" test :)
View test.css
@import "test2.css";
.foobar { color: blue }
@media screen {
.foobar {
border: 1px solid green;
text-align: error;
-whatever: test;
View moztests.sh
#!/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
You can’t perform that action at this time.