|
improved user experience for mochitest running
|
| |
While running mochitest, I learned that it breaks, if the window loses focus. Leaving the box alone for the test running is not an option, so I experimented a bit with virtualization, but found a viable solution with plain X server. The resulting approach is using X server, so it won't work on Windows.... more »
|
|
mochitest and the error console
|
| |
In perhaps an excess of zeal, I am attempting to write a Mochitest that looks at the error console to verify that CSS syntax errors are being properly handled. I followed the instructions at [link] (basically example 3) but it doesn't work, and it doesn't work in an especially nasty fashion: I get "Permission denied to get property UnnamedClass.message" errors *from within the console listener itself* -- and since those errors themselves trigger the console listener, the browser goes into an infinite loop.... more »
|
|
Modifying Mozilla code on a separate Hg repo?
|
| |
Mercurial scares me, simply because I've never worked with it before. Yet I sense instinctively that it will be easier to work with a pure-Hg solution and to modify copies of the cvs-trunk-mirror (1.9-base) repository... hosted on locations other than hg.mozilla.org. Here's the scenario I envision, and I hope someone will tell me how I... more »
|
|
Return object to JavaScript from C++
|
| |
Hello, and thanks for reading... I have a C++-based plugin that interracts with SpiderMonkey. I've implemented callbacks (working), but they're currently being called back with intrinsic data types. I'd much rather create a structure and return that to the JavaScript callback. For example: function Page_Load()... more »
|
|
Asynchronous API for mozStorage
|
| |
I'm looking for feedback on the proposed API (with sample code) for an asynchronous API for mozStorage. What I've got so far can be found here: [link] This is something we are looking at for Firefox.next, so the sooner you... more »
|
|
install extension silent fail
|
| |
Ok, having complained about NS_ERROR_FILE_NOT_FOUND, now I wish I had that much info for this problem. I have a .xpi file that I try to install into FF3. I get the mysterious countdown, then click install. The Addon Manager window comes up. End of story. No error messages, no alerts. I remember a config setting somewhere for downloads that result in -228.... more »
|
|
nsIZipWriter.open gives NS_ERROR_FILE_NOT_FOUND?
|
| |
I am trying call nsIZipWriter.open(nsIFile, obscureFlags). It gives a bizarre error: NS_ERROR_FILE_NOT_FOUND. I'm like "well, that's good, because if it existed I'd be real surprised". var xpi = Components.classes["@mozilla.o rg/file/local;1"] .createInstance(Components.int erfaces.nsILocalFile);... more »
|
|
|