This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mochitest call activateHUDForContext(tab) | |
activateHUDForContext panel12874287978081 | |
registerActiveContext panel12874287978081 | |
windowInitializer hud_panel1287428796112 | |
canActivateContext panel1287428796112 | |
returns false | |
windowInitializer stops, doesn't open the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// static | |
nsresult | |
XPCConvert::JSErrorToXPCException(XPCCallContext& ccx, | |
const char* message, | |
const char* ifaceName, | |
const char* methodName, | |
const JSErrorReport* report, | |
nsIException** exceptn) | |
{ | |
nsresult rv = NS_ERROR_FAILURE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void | |
DOMWorkerErrorReporter(JSContext* aCx, | |
const char* aMessage, | |
JSErrorReport* aReport) | |
{ | |
NS_ASSERTION(!NS_IsMainThread(), "Huh?!"); | |
nsDOMWorker* worker = (nsDOMWorker*)JS_GetContextPrivate(aCx); | |
if (worker->IsCanceled()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/toolkit/components/console/hudservice/HUDService.jsm b/toolkit/components/console/hudservice/HUDService.jsm | |
--- a/toolkit/components/console/hudservice/HUDService.jsm | |
+++ b/toolkit/components/console/hudservice/HUDService.jsm | |
@@ -1679,32 +1679,64 @@ HUD_SERVICE.prototype = | |
*/ | |
adjustVisibilityForMessageType: | |
function HS_adjustVisibilityForMessageType(aHUDId, aMessageType, aState) | |
{ | |
let displayNode = this.getOutputNodeById(aHUDId); | |
let outputNode = displayNode.querySelector(".hud-output-node"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "test2.css"; | |
.foobar { color: blue } | |
@media screen { | |
.foobar { | |
border: 1px solid green; | |
text-align: error; | |
-whatever: test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<p><button>click!</button></p> | |
<script type="text/javascript"><!-- | |
(function () { | |
var btn = document.querySelector('button'); | |
btn.addEventListener('click', function() { | |
console.log("button clicked"); | |
}, false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dryice = require("dryice"); | |
var Step = require("step"); | |
var build; | |
var script; | |
var appFolder = "/path/to/the/webapp"; | |
var buildFolder = "/path/to/the/target/build/folder"; | |
// filters should also be allowed to be async. they can call onReady() when they are done, if they return undefined. | |
function myCustomFilter(data, filename, onReady, script) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ "$1" == "-dbg" ]] | |
then | |
OBJ_DIR="ff-dbg-obj" | |
TEST_FILE="$2" | |
else | |
OBJ_DIR="ff-obj" | |
TEST_FILE="$1" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "test2.css"; | |
.foobar { color: blue } | |
@media screen { | |
.foobar { | |
border: 1px solid green; | |
text-align: error; | |
-whatever: test; |
OlderNewer