l20n discussions and .platform
Hi all,
as we're starting to discuss things on l20n, I'm having a question on
the right group to do so.
We did create a google group separate from the mozilla ecosystem,
because technically, l20n isn't bound to gecko.
The gecko impl of course is rather tied to gecko, haha, and thus I
consider .platform to be a good place to discuss those issues.
The API discussion that gandalf started is kind of spanning both worlds,
and I'm wondering if those platform engineers interested in the more
general api discussion would be equally fine having those in the google
group or would
|
3/11/2010 3:55:58 PM
|
2
|
Axel Hecht <l...@mozilla.com>
|
|
security of Javascript Global Property implementations
We are exploring moving Firebug towards a CommonJS-based infrastructure.
One part of that might involve moving the Firebug command line and
window.console into a Javascript Global Property. (I think this is what
Boris was suggesting some time ago anyway).
The current implementation is very involved primarily because of
security. We inject HTML elements and scripts to create a pair of string
queues so the page can post to the Console and Firebug can post to
in-page eval for the command line. This code was a huge pain to develop
and it caused us lots of headaches, but we've solv
|
3/10/2010 5:24:12 PM
|
3
|
johnjbarton <johnjbar...@johnjbarton.com>
|
L20n and platform - early questions
We (l10n-drivers) are moving forward with our goal to introduce new
localization platform for Gecko codenamed L20n.
In a shortest possible words, L20n is supposed to replace .properties
and .dtd files in Gecko and shift the paradigm of what localization
process in order to give localizers ability to build flexible and rich
phrases that match their language. (think: genders, declensions, plural
forms). From the platform perspective L20n file format (compiled) is a
simple JS file with simple entities:
this.name = "value";
or complex ones:
this.__defineGetter__("test", fun
|
3/10/2010 3:10:52 PM
|
58
|
Zbigniew Braniecki <zbranie...@mozilla.com>
|
nsIAtom changes
Hi All,
I recently landed the patches in bug 534136. This introduced a few changes:
1. Atoms now hold UTF16 strings, rather than UTF8 strings. All the same
APIs still work, such as do_GetAtom(myCString) and
atom->EqualsUTF8(myCString), however it is generally more performant to
use UTF16 strings when dealing with atoms.
2. If you need to use the string value of an atom there are now nicer
ways to do so:
nsAtomString(myAtom)
nsDependentAtomString(myAtom)
nsAtomCString(myAtom)
The first two produce nsAStrings, the last one produce an nsACString. So
for example the followin
|
3/10/2010 2:32:30 AM
|
0
|
Jonas Sicking <jo...@sicking.cc>
|
OOPP and Responsiveness
OOPP is coming together nicely and as we move from finding basic
problems like crashes and hangs, I'd like for us to take a look at
little look at performance. We don't have a clear way to compare
performance between Firefox 3.6 and the 1.9.3a3pre nightlies, for
example, when using plugins, but if there's any perceived change in
responsiveness I would like your help in calling it out. Just to remind
you, OOPP works in Windows and Linux trunk nightlies.
So far our testing has involved trying out sites with popular plugins to
see if they crash and checking what the user interaction i
|
3/9/2010 5:49:03 PM
|
0
|
Juan Becerra <jbece...@mozilla.com>
|
NS_BASE_STREAM_CLOSED when tracing HTTP responses in Firebug
This problem was originally reported as Firebug bug here:
http://code.google.com/p/fbug/issues/detail?id=2788
The core problem sits in the way how Firebug is tracking HTTP
responses coming from the server.
Here are some details about how the tracking is implemented:
1) http-on-examine-response and http-on-examine-cached-response is
caught.
2) nsIStreamListenerTee is created and set to the request (using
nsITraceableChannel)
3) A JS component implementing nsIStreamListener is set to the tee
listener.
4) nsIPipe is created and also set to the tee listener.
5) onStartRequest is
|
3/8/2010 1:51:08 PM
|
5
|
Jan Odvarko <odva...@gmail.com>
|
Debugging Minefield in CDT on Linux
I'm trying to debug Minefield in Eclipse 3.5.1 (from Universe) CDT
(6.0.2 from eclipse.org) on 64-bit Ubuntu Karmic.
First, I followed the instructions at
http://curtisb.posterous.com/building-firefox-under-eclipsecdt-or-i-gotta
except I didn't move the hg repo after cloning, because the new CDT was
OK with creating a project with an existing directory.
I get Eclipse to build and index the project. However, when launching
the app (with MOZ_NO_REMOTE=1, NO_EM_RESTART=1 and LD_LIBRARY_PATH &
LIBRARY_PATH from https://developer.mozilla.org/en/Eclipse), the app
terminates after p
|
3/8/2010 12:58:57 PM
|
0
|
Henri Sivonen <hsivo...@iki.fi>
|
"Infallible alloc" stage 1 landed (and stuck)
First a note on terminology --- "infallible alloc" means an allocator
never returning NULL, i.e. never failing. A "fallible alloc" might
return NULL.
The only "visible" change made by stage 1 allocators is that |new Foo()|
is now infallible, and its result does *not* need to be NULL checked.
The libc allocators, malloc() et al., have not changed: they're still
fallible.
Stage 1 adds explicitly fallible and infallible libc allocators. The
fallible versions are moz_malloc() et al. Currently, malloc() et al.
are #define'd to the explicitly fallible variants. In stage 2, we
|
3/5/2010 10:27:08 AM
|
14
|
Chris Jones <cjo...@mozilla.com>
|
Architecture for viewing web archives (MHTML and MAFF)
Hello,
I'm working on the Mozilla Archive Format extension for Firefox and
SeaMonkey [1], which among other things allows the user to display
content stored in web archives, which are single-file containers
for all the resources required to render a web page.
In MAF, the user experience of viewing a web archive is similar to
that of other embedded content like PDF. For example, if I typed
these addresses in the URL bar...
http://www.example.com/printed-document-with-all-images.pdf
http://www.example.com/web-page-with-all-images.mht
....I would see a complete page in the conte
|
3/4/2010 6:08:07 PM
|
8
|
Paolo Amadini <paolo.02....@amadzone.org>
|
How to pass a JS function reference from C++ to some JavaScript
I'll put the background to what I'm trying to do further down in case
there is a better way to do what I want, but here is the basic problem I
am trying to solve:
I have some C++ code that has a reference to a content webpage's JS
function in the form of a jsval. What I'd like to do is pass this
reference to some chome JS (ideally a function in a JS module but could
also be a JS XPCOM component). The chrome JS then needs to be able to
call this function safely at a later time so presumably some kind of
wrapping needs to go on.
I don't really know the JS APIs so I don't know
|
3/3/2010 6:49:19 PM
|
7
|
Dave Townsend <dtowns...@mozilla.com>
|
Layers and scrolling
[Posting to dev.platform since this cuts across layout, gfx, and other
stuff]
Currently layout constructs a new layer tree for every paint. For
various reasons, but mainly to better utilize D3D and OpenGL, we need to
move to a model where we keep the same layer tree between paints and
update it as necessary. Here are some design notes on how I think we
should implement that, with particular attention to the implementation
of scrolling.
== Current Approach To Layer Construction ==
The current approach takes a display list and builds a list of layers
that render that displ
|
3/2/2010 8:00:24 AM
|
6
|
Robert O'Callahan <rob...@ocallahan.org>
|
Widget removal and E10S
In bug 130078 we'll remove child widgets associated with content
windows. I'm not sure of the schedule for landing that on trunk, but it
could be within a month. We need to understand how this is going to
impact E10S content-window processes. Anyone feel like pulling the
patches from bug 130078 into an E10S tree and seeing what happens? I
expect that we'll create a widget for the content window, and things
might kinda work, but we really will want to do rendering differently
--- by exporting the layer tree from the content window to the chrome
process.
Rob
|
3/1/2010 10:54:52 PM
|
5
|
Robert O'Callahan <rob...@ocallahan.org>
|
getElementById not working ?
Trying to get getElementById to work with the embedded browser control in
VB. I can navigate to a page fine, but getElementById just reports "object
does not support this property or method" so do I presume they did not
"finish it off" with all the functions that are found in the IE controls ?
Cheers,
Chris
|
2/27/2010 7:56:53 PM
|
2
|
"Chris" <exxos...@yahoo.co.uk>
|
sandbox questions
Implementations of CommonJS like jetpack and narwhal propose to use
sandboxes extensively for Javascript compilation. I'm trying to
understand what they are and how they behave.
This page
https://developer.mozilla.org/en/Components.utils.evalInSandbox
has this example:
----
// create a sandbox with a given origin URI
var s = Components.utils.Sandbox("http://www.example.com/");
s.y = 5;
var result = Components.utils.evalInSandbox("x = y + 2; x + 3", s);
s.foo = Components;
Components.utils.evalInSandbox("foo.classes", s);
----
So a sandbox is a limiting scope. That part
|
2/27/2010 5:40:35 AM
|
1
|
johnjbarton <johnjbar...@johnjbarton.com>
|
Need help for JavaScript file editing/updating and debugging : Trying to fix bug 429827
I am trying to fix the problem mentioned in
https://bugzilla.mozilla.org/show_bug.cgi?id=429827
But in order to fix this, it turns out I need to fix a javascript (.js)
file. I have fixed a few C++ files before (see bug
https://bugzilla.mozilla.org/show_bug.cgi?id=387502 ), so I am more or
less sure that I have proper source tree and compilation tools.
But JavaScript is a totally new beast to me.
I have a couple of questions which I am sure that someone can answer.
Question-1: Why are there multiple copies of "nsHelperAppDlg.js"
under a few different directories in the source
|
2/23/2010 4:30:53 PM
|
0
|
"chiaki,Ishikawa" <ishik...@yk.rim.or.jp>
|
data: URL parsing and the event loop
I've identified multiple mochitests that depend on how exactly the old
HTML parser in Gecko, the stream data pumping code and the docshell
work. Specifically, the test cases assume that scriptless data: URLs
parse synchronously.
With the HTML5 parser, no URL loads parse synchronously. (This is
spec-compliant; the spec allows the parser to spin the event loop pretty
much anywhere.)
To make new mochitests work with the HTML5 parser, please use the onload
handler to continue the test after data: URLs have been loaded. That is,
please treat data: URLs like http: URLs as far as
|
2/22/2010 2:38:29 PM
|
0
|
Henri Sivonen <hsivo...@iki.fi>
|
marvendas@gmail.com Kit completo de Solenoides ( solenoid ) + chicote Para Cambio automatico 01M hidramatico Audi A3 Vw Golf gti turbo 31303
Contato: marvendas@gmail.com
marvendas @ gmail.com
marvendas no gmail.com
Kit completo de solenoides para Volkswagem e Audi.
O kit contem:
5 solenoides
2 Epc ( solenoides de pressao )
1 Chicote
Serve para qualquer modelo VW ou Audi fabricados de 1995 ate hoje com o cambio automatico de 4 marchas � 01M
Pre�o: R$ 1900.00
Temos outras tipos de solenoides e artigos importados, nao deixe de fazer uma consulta antes de comprar!
Audi a3 automatico
Audi a3 1.8 t automatico
Audi a3 1.8 turbo automatico
VW Golf gti automatico
VW Golf 2.0 automatico
VW Golf 1.8 turbo auto
|
2/20/2010 4:03:53 PM
|
0
|
kit solenoites audi solenoid.chicote<kit.solenoites.a...@solenoid.chicote.com>
|
Associating errors to cause
Currently all errors from all windows go to into a big pile in
nsIConsoleService. Developers want errors per window, component,
module, or sandbox.
Bug 228205 - Redesign nsIConsoleService and related APIs
may eventually fix that, but it seems too ambitious. It has no progress
or prospects I guess.
Maybe there is an easier solution to the smaller problem of what thing
has the erroneous agent. The vast majority of errors occur when we are
parsing HTML, CSS, or running JS. These are large scale things with
starting and ending points. If each of these large things had a "sta
|
2/19/2010 11:24:43 PM
|
0
|
John J Barton <johnjbar...@johnjbarton.com>
|
GMail users: please dogfood debug builds
For several months now, I've been seeing what appear to be DOM Window
leaks when using GMail on trunk debug builds. The symptoms are that when
the GMail tab has been open (and used) for a few days, memory leaks and
the browser starts to feel sluggish. The sluggish feeling is caused by
frequent cycle-collector runs that block the main thread for a short
time every few seconds. I think it's related to GMail because the
"--DOMWindow" output in the console shows that hundreds of DOMWindows
(mostly with GMail URLs) are freed when I close the GMail tab.
This is a very bad bug, but a
|
2/19/2010 3:48:00 AM
|
0
|
Robert O'Callahan <rob...@ocallahan.org>
|
Platform requirements for the new Firefox theme
The Firefox UX team has been working the past few months on mockups of
a new theme:
https://wiki.mozilla.org/Firefox/Projects/3.7_and_4.0_Theme_and_UI_Revamp
http://stephenhorlander.com/
Now that we are starting to implement the theme I've been going
through the design mockups to find any cases where we need to add
additional functionality to our platform:
https://bugzilla.mozilla.org/showdependencytree.cgi?id=546831&hide_resolved=1
If anyone is looking for really high value contributions, that list of
bugs is super important to us (after all without these changes all
|
2/18/2010 3:19:48 AM
|
0
|
Alex Faaborg <faab...@mozilla.com>
|
Useful read ?
http://www.tbray.org/ongoing/When/201x/2010/02/15/HTML5
|
2/17/2010 2:06:42 PM
|
0
|
Murali Nandigama <murali.nandig...@gmail.com>
|
Resource Packages spec ready for prototype implementation
Hi all,
After incorporating feedback and adding some more defined behaviors for edg=
e
cases, we're finally ready to start working on an implementation of Resourc=
e
Packages.
Full details here:
http://limi.net/articles/resource-packages-spec-ready-for-prototyping
What I need now is your help in finding the right module owner =E2=80=94 or=
if
you're willing to work on this, let us know. I'll mostly be working on othe=
r
UX-related matters for the upcoming release, but I will help
test/benchmark/evangelize where needed.
The Bugzilla entry is https://bugzilla.mozilla.org/s
|
2/17/2010 1:52:25 AM
|
0
|
Alexander Limi <l...@mozilla.com>
|
pcnetsecurity@gmail.com =?UTF-8?B?QXNzaXN0w6puY2lhIFTDqWM=?= =?UTF-8?B?bmljYSAgbWFudXRlbsOnw6M=?= =?UTF-8?B?byBkZSBjb21wdXRhZG9y?= =?UTF-8?B?ZXMgaW5mb3JtYXRpY2Eg?= =?UTF-8?B?Vml0w7NyaWEtZXMgODI0NDU=?=
Contato: pcnetsecurity@gmail.com
Contato: pcnetsecurity @ gmail.com
Planos a partir de R$ 250,00 .
Assist�ncia T�cnica
Prestamos assist�ncia t�cnica nos computadores de sua empresa ou resid�ncia, e tamb�m possu�mos uma equipe qualificada para fazer a manuten��o no pr�prio local.
- Contratos de Suporte e Manuten��o
Reduza os custos de sua empresa com solicita��es de visitas t�cnicas para seus computadores, elaboramos um contrato de manuten��o integrado para sua empresa onde disponibilizamos: t�cnicos, equipamentos de suporte e substitui��o, e atendimento no hor�rio comercial ou
|
2/15/2010 2:27:36 PM
|
0
|
Assitencia manutencao remocao de virus computador pc<manutencao.assiten...@computador.pc.com>
|
Tree closure for almost 100 hours?
It looks as if the length of the mozilla-central tree closure could
approach 100 hours. Was this due to unforeseen circumstances? Is there
anything that can be learnt from this for next time?
--
Warning: May contain traces of nuts.
|
2/15/2010 2:17:50 PM
|
0
|
Neil <n...@parkwaycc.co.uk>
|
Scroll problems when using Mozilla Control
I'm using the Mozilla Control from XULRunner-1.9.2.en-US.win32 to
embed a preview browser into my text editor application. I noticed
with the 1.9.2 release that scrolling using the mouse wheel or using
the keyboard doesn't work anymore. It used to work in v1.9.1.
Can this be fixed?
|
2/14/2010 1:51:14 PM
|
0
|
RJ <...@rjsoftware.se>
|
speculative background image pre-fetching
http://www.stevesouders.com/blog/2010/02/12/5e-speculative-background-images/
Webkit does it. Should we?
- A
|
2/13/2010 11:59:06 PM
|
0
|
Asa Dotzler <...@mozilla.com>
|
Reverse thinking on extension architecture.
I have a suggestion to think about based on a js-engine discussion.
How will extensions work if the ideas for partitioning the GC heap and
multithreading being discussed on js-engine,
http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_thread/thread/7a173ebda62f32b1#
move forward?
As Shaver advocates, interconnecting threads via message passing
(postMessage) has big advantages. Top of the list: multithreading acts
like multiprocess acts like Internet multicomputing. Consequently we
know how to deal with all the bad parts ;-). The critical ingredient in
a success
|
2/12/2010 6:44:50 PM
|
0
|
johnjbarton <johnjbar...@johnjbarton.com>
|
remocao de virus windows enseada do sua vitoria-es 84785
Contato: pcnetsecurity@gmail.com
Contato: pcnetsecurity @ gmail.com
Assist�ncia T�cnica
Prestamos assist�ncia t�cnica nos computadores de sua empresa ou resid�ncia, e tamb�m possu�mos uma equipe qualificada para fazer a manuten��o no pr�prio local.
- Contratos de Suporte e Manuten��o
Reduza os custos de sua empresa com solicita��es de visitas t�cnicas para seus computadores, elaboramos um contrato de manuten��o integrado para sua empresa onde disponibilizamos: t�cnicos, equipamentos de suporte e substitui��o, e atendimento no hor�rio comercial ou plant�o sob an�lise.
- Redes Corpo
|
2/11/2010 6:43:59 PM
|
0
|
Assitencia manutencao remocao de virus computador pc<manutencao.assiten...@computador.pc.com>
|
Implementing the web timing spec
Hi everyone,
there's a specification for exposing detailed timing information of web
page elements via the DOM:
http://dev.w3.org/2006/webapi/WebTiming/
Some people here would like to implement it in Firefox. The reason for
exposing it via the DOM is to gather actual concrete end-user timings;
other approaches don't allow that (also not all of this timing data is
currently available to extensions).
The idea is to change the spec a bit to limit the number of elements on
which this data is exposed, probably to drop the Ticks interface, etc.
Would people agree this is usefu
|
2/11/2010 6:28:10 PM
|
16
|
Christian Biesinger <cbiesin...@gmail.com>
|
Security Manager vetoed action
The error message
Security Manager vetoed action
is so ridiculous! Whenever I hit one now I just have to give up and work
on something else.
jjb
|
2/11/2010 6:18:13 PM
|
0
|
johnjbarton <johnjbar...@johnjbarton.com>
|
ASSERT: writer returned an error with non-zero writeCount
I have built FF 3.6 with DEBUG and I am trying to get Chromebug+Firebug
to run on it without asserts.
I assert here:
---
nsresult rv = tee->mWriter(in, tee->mClosure, fromSegment, offset,
count, writeCount);
if (NS_FAILED(rv) || (*writeCount == 0)) {
NS_ASSERTION((NS_FAILED(rv) ? (*writeCount == 0) : PR_TRUE),
"writer returned an error with non-zero writeCount");
return rv;
}
---
in nsInputStreamTee.cpp. The reason is that mWriter is
---
static NS_METHOD
TestInputStream(nsIInputStream *inStr,
void *closure,
|
2/11/2010 4:47:37 PM
|
0
|
johnjbarton <johnjbar...@johnjbarton.com>
|
HTML5 parser and excessive window painting
Context: https://bugzilla.mozilla.org/show_bug.cgi?id=543458
The HTML5 parser currently regresses tp4. The relative regression on Mac
is much worse than the regression on the other Talos platforms.
I've been trying to figure out what's going on. Shark shows that with
the HTML5 parser enabled, the app spends significantly more time in
_handleWindowNeedsDisplay (11.3% vs. 6.9%). Underneath it, it appears
that when the HTML5 parser is enabled, the painting is heavy on clipped
regions (nsDisplayClip::Paint).
Can changes to the DOM tree cause arbitrarily many region repaint
req
|
2/11/2010 2:49:45 PM
|
1
|
Henri Sivonen <hsivo...@iki.fi>
|
Editable DOMs and HTML5 parser
I've noticed that test cases involving editability are failing with the
HTML5 parser.
Bugs on file:
https://bugzilla.mozilla.org/show_bug.cgi?id=545405
https://bugzilla.mozilla.org/show_bug.cgi?id=540574
https://bugzilla.mozilla.org/show_bug.cgi?id=541078
* Editable stuff is editable.
* Restoring editor state on navigation doesn't work reliably.
* The editor doesn't inject its bogus <br> into the document.
These look like the editor doesn't get attached to the document quite
properly. Where should I look given that editing isn't completely broken
with the HTML5 parser?
|
2/10/2010 3:31:00 PM
|
3
|
Henri Sivonen <hsivo...@iki.fi>
|
charset of POST request is always displayed as UTF-8
When I execute following XHR:
var xhr = new XMLHttpRequest();
xhr.open("POST", "x", true);
xhr.setRequestHeader("Content-type", "application/x-www-form-
urlencoded;
charset=UTF-7");
xhr.send("");
(note the "charset=UTF-7")
And examine the request using Firebug or Wireshark, the Content-type
is always set to:
"application/x-www-form-urlencoded; charset=UTF-8"
Testing with Firefox 3.6.2pre, Windows.
Online test case:
http://www.janodvarko.cz/firebug/tests/2667/issue2667.html
Is this a known issue?
Honza
|
2/10/2010 2:20:02 PM
|
0
|
Jan Odvarko <odva...@gmail.com>
|
performance tests with extension-loaded profiles?
Hi,
at some point I (or someone else) should work on
https://bugzilla.mozilla.org/show_bug.cgi?id=525494, which would fix a
few bugs in how the chrome registry finds the right locale codes.
I suspect that that has TS impact, though probably only if there's a
reasonable amount of extensions installed, the standalone builds with
just one locale should hit a fastpath there.
Anyone has experience in that?
Axel
|
2/10/2010 12:17:23 PM
|
0
|
Axel Hecht <l...@mozilla.com>
|
failing to create script security manager
http://pastie.org/816804
1884736480[104113430]: nsComponentManager: =
CreateInstanceByContractID(@mozilla.org/scriptsecuritymanager;1) FAILED
Any suggestions on how to troubleshoot this?
This is a stock 64-bit build of the trunk on Snow Leopard.
I could swear everything was working fine until a few (couple?) days =
ago.=20
Thanks, Joel
---
http://es.linkedin.com/in/joelreymont
|
2/9/2010 7:18:34 PM
|
0
|
Joel Reymont <jo...@mozilla.com>
|
.def file
https://developer.mozilla.org/en/Compiling_The_npruntime_Sample_Plugin_in_Visual_Studio#Build
In the step 9 and 10, what i do? I dont understand.
|
1/19/2010 4:07:03 AM
|
0
|
"u....@live.ru" <u....@live.ru>
|
nsIDOMWindowUtils.suppressEventHandling vs browser.xul
Firebug 1.5 suppresses events when you hit a break point using:
context.eventSuppressor =
context.window.getInterface(Ci.nsIDOMWindowUtils);
if (context.eventSuppressor)
context.eventSuppressor.suppressEventHandling(true);
Works great...except now I discovered that our Firebug keyboard event
handlers also fail to fire. Why? We add them like:
window.addEventListener("keypress", fn, capture);
where 'window' is browser.xul. The context.window above is the
nsIDOMWindow in the Firefox tab.
jjb
|
1/18/2010 10:39:09 PM
|
4
|
John J Barton <johnjbar...@johnjbarton.com>
|
Mozilla 1.4 GTK2 - 1.7.x GTK2 and XULRunner 1.8.x - 1.9.0.x. ?
Where can one find Mozilla 1.4 GTK2 - 1.7.x GTK2 and XULRunner 1.8.x -
1.9.0.x. ?
Am using GWT 1.5.3 and eclipse 3.4 on Ubuntu 9.0.4 ,however, I get the
following error:
----------------------------
Unable to load required native library 'gwt-ll'. Detailed error:
/home/smuwanga/software/applications/gwt-linux-1.5.3/libgwt-ll.so: /
home/smuwanga/software/applications/gwt-linux-1.5.3/libgwt-ll.so:
undefined symbol: JS_PropertyStub)
------------------------------
Someone ( http://www.eclipse.org/swt/faq.php#browserlinux )recommends
installing Mozilla 1.4 GTK2 - 1.7.x GTK2 and XU
|
1/18/2010 2:28:23 PM
|
0
|
Simon <smuwa...@gmail.com>
|
Window ID Concept - practical use cases
Hi all,
in my effort to popularize the idea of a window id sent by the browser
as request header, I added now some practical use cases to illustrate
that there are things that you cannot do easily today when building
web applications.
Just for those hearing the first time of the idea:
If the browser sent an id unique per browser window, we could store
data (open menus, displayed widgets etc) per browser window and build
more stable stateful multi window web applications. HTML 5 solves the
problem on the client side of JavaScript applictions (sessionStorage)
but it is not yet solv
|
1/18/2010 1:16:38 PM
|
0
|
Sebastian <use...@laliluna.de>
|
nsIPrincipal
The jetpack discussion inspired me to look back at evaluateInSandBox
again, but so far my low opinion continues.
In
https://developer.mozilla.org/en/Components.utils.evalInSandbox
is says:
The sandbox must be initialized with either an origin URI or
preferably a DOM window (nsIDOMWindow, like the window object in a
web page). ...Using an nsIPrincipal is preferable to using an origin
URI.
I want a sandbox with system principal: how? I don't have a window (well
hiddenWindow I guess). I don't have an origin. And I can't figure out
how to create an nsIPrincipal.
In
|
1/17/2010 7:54:56 PM
|
0
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
caret detection in Firefox and Thunderbird
Is there a way to get the caret (vertical line blinking during text
input) coordinates in Firefox and Thunderbird?
Standard way using win32api fails:
AttachThreadInput(program thread, firefox thread, True)
followed by
GetCaretPos call
Firefox must have an api call which gives caret coordinates as can be
seen by pressing the Apps key (the key beside right Ctrl), the menu
pops up right after the caret, that means it does know where the caret
is.
I would appreciate if someone could show me an example how to use api
call to get the caret coordinates, through XPCom or anything.
|
1/15/2010 7:31:04 PM
|
0
|
kakarukeys <kakaruk...@gmail.com>
|
Changing URL-Input for Firefox-Browser
Hello,
I am new in programming and I want you to ask how I can change in the
source (where I can find in) the input (=URL-Bar) in the code.
I want to change it in that way, that the browser receives the input
from a input-field from a website (intranetsite).
Can you please help me out?
I hope I am in the right google-group :-)
best regards
|
1/14/2010 8:37:10 AM
|
0
|
Kranzfr3d <part...@gmx.de>
|
ecm2001 titanium crack torrent rapidshare download free xe$neLGYJA
We can crack or emulate any protection type: Dongle,
Hardlock, Hasp, Serial, Password, Hasp4, Flexlm, Sentinel,
Wibu, Eutron Smartkey, Hasphl, Proteq, All the Protections!!
email = yshowsoft@???
email = yshowsoft at gmail.com
ecm2001 titanium download
ecm2001 titanium rapidshare
titanium ecm2001 torrent
ecm2001 titanium crack
ecm2001 titanium v 5.3
titanium ecm2001 v 5.4
titanium ecm2001 v 5.5
titanium ecm2001 v 6.0
titanium ecm2001 v 6.1
ecm2001 v 6.2
ecm2001 v 6.3
ecm2001 v5.3
ecm2001 v5.4
ecm2001 v5.5
ecm2001 v6.0
ecm2001 v6.1
ecm2001 v6.2
ecm2001 v6.3
I
|
1/13/2010 9:32:32 PM
|
0
|
ecm2001 winols cpwin rapidshare torrent<ecm2001.win...@free-downloads.com>
|
Web page components download order
I have created a following page.
<html>
<head>
<title>Test page</title>
</head>
<body>
<script src="script1.js" type="text/javascript"></script>
<img src="image1.png" />
<script src="script2.js" type="text/javascript"></script>
<img src="image2.png" />
<script src="script3.js" type="text/javascript"></script>
</body>
</html>
I would expect to see the download order of individual components as
follows:
script1.js
image1.png
script2.js
image2.png
script3.js
But in fact it's (Firefox 3.6pre, order of HTTP-ON-MODIFY-REQUEST
events):
script1.js
s
|
1/13/2010 9:09:35 AM
|
2
|
Jan Odvarko <odva...@gmail.com>
|
time to build mozilla firefox
how much time does it take to build mozilla firefox in eclipse. For me
it has already been more than 10 mins.
|
1/12/2010 10:50:05 PM
|
9
|
Mozilla Developer <moz.d...@gmail.com>
|
The technical basis for jetpack's restart-free feature
Mike Connor wrote: (on mozilla.dev.apps.firefox)
...
>
> For the investment in Jetpack to be worth it, for the users of our
>product to gain the benefits of restart-free and sandboxed extensions,
>we need to move as much existing development as possible to the new
>model.
I would like to understand the technical basis for the 'restart-free'
feature. I attempted to copy this post to m.d.platform and set the
followup there.
Installing a new extension without restart seems pretty easy. What part
of the current extension solution requires restart on first install?
The
|
1/12/2010 4:30:34 PM
|
9
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
ARM performance
According to
<https://blueprints.launchpad.net/ubuntu/+spec/mobile-lucid-arm-lightweightbrowser>,
"Mozilla is a fairly heavy web browser and suffers from less than
optimal performance on ARM due to issues such as cache size."
Can we explain this perception and could Firefox be tweaked to perform
better?
They are currently preparing Chromium for Ubuntu/ARM and asac tells me
it would already be performing perceptibly better than Firefox. He also
notes that this won't be the only criterion for the final decision,
which is yet to be made.
|
1/11/2010 10:24:19 PM
|
8
|
Dao <...@design-noir.de>
|
Certainty of https
From an extension I want to know that a page that claims to be eg
"https://getfirebug.com" is certainly that page, not a phishing page. Is
it sufficient to test window.location for host and protocol?
jjb
|
1/11/2010 8:13:35 PM
|
3
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
Support for FILE_SHARE_DELETE flag
Hi,
I am working with nsIFileOutputStream in a JS logging module. It
appears that when the stream is initialized with a file (nsILocalFile)
the file is opened/created with the share-flags : FLAG_SHARE_READ |
FLAG_SHARE_WRITE as seen here:
http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsLocalFileWin.cpp#421
Also the only occurrence of FILE_SHARE_DELETE is in /ipc/chromium/
src/... .
So I am guessing that currently it is not possible to open a file in
Mozilla with the FILE_SHARE_DELETE flag on Windows.
If it is indeed so, is it expected to be supported with the next
|
1/11/2010 11:26:37 AM
|
0
|
brahmana <om.brahm...@gmail.com>
|
The technical basis for faster updates with jetpack?
I've read about jetpack and looked at its code, but I still don't
understand why some claim it will help Firefox cycle faster. The only
thing I can figure is that API changes will be soaked up in jetpack,
turning it in to a big converter box over time. Is there more to it
than that?
(Please I know jetpack has lots of things, I'm only asking about one.
And yes I could ask jetpack newsgroup, I want to know what platform
people think is the reason).
Thanks,
jjb
|
1/11/2010 12:03:36 AM
|
13
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
Re: dev-platform Digest, Vol 48, Issue 12
>-------- Оригинално писмо --------
>От: dev-platform-request@lists.mozilla.org
>Относно: dev-platform Digest, Vol 48, Issue 12
>До: dev-platform@lists.mozilla.org
>Изпратено на: Петък, 2010, Януари 8 22:00:10 EET
>Send dev-platform mailing list submissions to
> dev-platform@lists.mozilla.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.mozilla.org/listinfo/dev-platform
>or, via email, send a message with subject or body 'help' to
> dev-platform-request@lists.mozilla.org
>
>You can reach the person managing the list at
>
|
1/8/2010 10:44:47 PM
|
0
|
evgeni ewtimow <e...@abv.bg>
|
leaking memory when passing responses to Java-based observers - contractor sought
I'm looking to hire a contractor to help with some Mozilla work,
specifically to get a Java application talking correctly to an
embedded Firefox instance using javaxpcom/XPCOM/xulrunner.
We are generating content in JavaScript, in a headless Firefox, and
registering a java observer through javaxpcom. Somewhere along the
way, the data being passed to the observer isn't being freed.
I'm interested in contracting with someone to not only solve this
specific problem, but also to provide some general knowledge to my
team on embedding Firefox.
Sorry if I've addressed the wrong list fo
|
1/7/2010 11:21:11 PM
|
0
|
Andy <andy....@gmail.com>
|
mozilla hello world ?
I want to play around with the firefox build. How do I configure it
within IDE so that I can debug and all ? Is it possible ?
|
1/7/2010 4:11:26 PM
|
0
|
Mozilla Developer <moz.d...@gmail.com>
|
Prefetch requests has no parent window.
A bug was reported in Firebug saying that the Net panel doesn't show
prefetch requests.
http://code.google.com/p/fbug/issues/detail?id=2459
The problem is that all the prefetched documents are requested without
a relationship
to the page that contained the ref="prefetch" (there is no parent
window for the
request). Since Firebug Net panel displays only requests that belong
to the current
page, these are skipped.
Is this by design or I should file a bug about this?
Honza
|
1/6/2010 7:53:11 PM
|
0
|
Jan Odvarko <odva...@gmail.com>
|
var securityUI = this.securityUI;
Can someone help me understand this code from
http://mxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/browser.xml#653
652 try {
653 var securityUI = this.securityUI;
654 }
655 catch (e) {
656 }
The value securityUI is not used in the method. I guess the code is
trying to say "call this.getSecurityUI() for some side effect, but we
expect it to fail and don't want to deal with the consequences". Or?
jjb
|
1/6/2010 7:10:02 PM
|
0
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
XPCOM Component Thread and JavaScript Callbacks
I am working on Firefox XPCOM Component (using C++) for Windows. My
component has specific feature - it receives windows messages. I am
using this approach:
1) Create a thread T in components constructor,
2) Create a window W in thread T (this window listens for messages),
3) Window W receives messages and sets some ("global") according
received messages.
So far so good.
Now I want to call JavaScript callback from my component (as described
here: https://developer.mozilla.org/en/Creating_JavaScript_callbacks_in_components).
My callback is very simple function for testing reasons
|
1/6/2010 11:37:29 AM
|
2
|
pospec4444 <pospec4...@gmail.com>
|
What is the definition of Regression bug ?
What is Mozilla's definition of regression bug ? Is it a bug to report
a recurrence of a problem or is it a bug to report failure of a
feature that was working earlier but not any longer.
|
1/5/2010 4:34:28 PM
|
0
|
Murali Nandigama <murali.nandig...@gmail.com>
|
Completion of background requests
When a XUL tree is used in a document, it causes
"chrome://global/skin/tree/twisty-clsd.png" to be loaded.
However, it seems to be loaded in the background, so
nsIWebProgress::STATE_STOP events are fired for both document and window.
What is the best way to observe background requests?
--
Thanks in advance,
Sergey Yanovich
|
1/5/2010 1:01:22 PM
|
0
|
Sergey Yanovich <ynv...@gmail.com>
|
toolkit minVersion for Firefox 3.6b6pre
I want to set the minVersion for Firebug 1.6 to Firefox 3.6, but using
toolkit@mozilla.org. I tried 1.9.2.*, but it fails. What value should be
used?
jjb
|
1/4/2010 11:05:52 PM
|
0
|
John J Barton <johnjbar...@johnjbarton.com>
|
nsIWebBrowserFind.findNext fails because there is no primary shell for the document
Hi,
I am using nsIWebBrowserFind.findNext (from JS) and it always fails
with NS_ERROR_INVALID_POINTER. Here is the code snippet that I am
working with:
// this.browser is the <browser> associated with a tab, got by
gBrowser.getBrowserAtIndex(i)
var browserFind = this.browser.docShell.getInterface
(Ci.nsIWebBrowserFind);
if(browserFind)
{
browserFind.entireWord = true;
browserFind.matchCase = true;
browserFind.searchString = this.pageRequest.search[i].content;
contentMatchError = !browserFind.findNext();
}
I tried debugging into the FF code and it turns out that this
|
1/3/2010 7:50:01 PM
|
9
|
brahmana <om.brahm...@gmail.com>
|
onLocationChange to wyciwyg
While investigating Firebug issue 2649,
http://code.google.com/p/fbug/issues/detail?id=2649,
I came up with a weird effect. After I completed the user's test
procedure, I tried to reload the page to start over, but I could not
succeed. The reload request causes an onLocationChange to a url,
wyciwyg://1/http://www.simpsoncrazy.com/pictures
which fails with a JS error. The tab is blank, but the location bar
still shows http://www.simpsoncrazy.com/pictures. If I exit Firefox and
restart, I get the same result: the wyciwyg content is loaded but the
location bar says something differ
|
1/3/2010 5:52:41 PM
|
9
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
DOMContentLoaded
The documention for DOMContentLoaded makes it sound quite insignificant:
---
Fired on a Window object when a document's DOM content is finished
loading, but unlike "load", does not wait until all images are loaded.
---
Generally Firebug tries to get in to the page as early as possible.
Based on the above, DOMContentLoaded does trigger some Firebug actions,
but mostly minor ones. However I learned from Boris on Bug 536379 that
events like DOMNodeInserted are not expect before DOMContentLoaded has
fired. Are there other differences before that event?
jjb
|
12/30/2009 5:23:13 AM
|
5
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
Conversion to external linkage
In bug 377319, some kind RedHat employee has been looking at converting
the mail back end code to external linkage, but has obviously run in to
a number of issues, some of which don't seem to have been solved, and
others of which have apparently been worked around in a suboptimal way.
I thought I would repeat all of the issues here, in case people can
provide or improve on any or all of the conversions. Note that the code
should compile against both APIs as some people may want to compile
shared or static builds.
Issue: Some functions, such as do_GetService, aren't declared an
|
12/25/2009 1:02:25 PM
|
12
|
Neil <n...@parkwaycc.co.uk>
|
script blockers and similar techniques should be avoided
Script blockers (which were introduced in
http://hg.mozilla.org/mozilla-central/rev/a05453237290 ) were
introduced to prevent a specific type of serious bug that could be
present in *uncommon* cases. However, the technique (which is also
shared by the older IsSafeToFlush methods) has a serious risk of
fixing bugs in one part of code only at the expense of causing them
elsewhere. Because of this, I think we should avoid introducing new
uses of this technique unless necessary (and definitely avoid
introducing it to prevent problems in *common* cases), and we should
try to reduce our e
|
12/23/2009 8:54:47 PM
|
14
|
"L. David Baron" <dba...@dbaron.org>
|
Current OS Version
Is there an interface I could use to get the current OS version (for
logging purposes).
Honza
|
12/22/2009 12:39:49 PM
|
3
|
Jan Odvarko <odva...@gmail.com>
|
<script> charset attribute ignored
An issue related to charset was reported in Firebug. If an html file
is encoded in e.g. UTF-8 and included file encoded with different
charest. The file is included as follows:
<script type="text/javascript" src="dirrerentlyEncodedScriptFile.js"
charset="ISO-8859-1"/>
The content of that JS file is not converted properly.
Online test case:
http://getfirebug.com/tests/issues/429/index.xhtml
I checked the channel object (related to
dirrerentlyEncodedScriptFile.js request) and it's contentCharset is
not set.
Accorging to the doc the contentCharset uses charset given in
conte
|
12/22/2009 9:26:49 AM
|
10
|
Jan Odvarko <odva...@gmail.com>
|
Ending support for xpcnativewrappers=no
When we introduced XPCNativeWrappers, we decided that there needed to be a
transitional period to allow old extensions to update to the new world of
automatic wrappers. In particular, because the new behavior was default-safe
(i.e. no random properties from content), there was a large potential to break
existing code. To this end, we introduced the ability to put
xpcnativewrappers=no in a chrome.manifest. This flag, associated with the
chrome URL under it allowed an extension to opt-out of wrappers. Now, 4 years
later, it's time to put this flag to rest.
Extensions can still get acce
|
12/21/2009 10:37:13 PM
|
2
|
Blake Kaplan <mrb...@gmail.com>
|
suppressEvents accepts focus but not reload event
Recently we started calling suppressEvents when Firebug stops on a
breakpoint. However this causes an anomaly: the DOMWindow accepts focus
but not events. For example, control-R fails to reload but only if you
happen to have focus on the now frozen window. Should this be a bug?
jjb
|
12/20/2009 6:17:16 AM
|
3
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
os x deployment
Hi,
I'm trying to get started with Xulrunner on Mac OS X and I'm running into
some problems.
1) Deployment. By which I mean creating an OS X app. I've found several
webpages with instructions, none of which work. I can create the bundle
in-place, but the "xulrunner-bin --install-app" step fails with "Error:
couldn't parse application.ini". Furthermore, the instructions I've found
omit crucial details - e.g., they go from "create the application structure"
to "run xulrunner-bin --install-app myapp.zip" without bothering to explain
where the *zip is supposed to come from.
2)
|
12/18/2009 3:46:14 PM
|
0
|
Gregg Reynolds <...@mobileink.com>
|
Synchronous loading of about:blank
I'm looking at a bug where the problem seems to be that about:blank
isn't being loaded synchronously into an iframe upon BindToTree but
should be.
So far I've found out that the start of the load is deferred until the
end of the doc update (which still is "synchronous" as far as
observability from <script > goes), but after examining layers and layers
of URI loading code, I haven't been able to locate what mechanism
normally makes sure that about:blank loads synchronously.
What's the normal mechanism for making about:blank loading synchronous
and what might cause the mechani
|
12/18/2009 2:22:12 PM
|
12
|
Henri Sivonen <hsivo...@iki.fi>
|
wrappedJSObject & "next" property
One reported problem in Firebug says that an object's property labeled
"next" is not visible in the DOM panel.
After digging into the problem I have found that if a JS object
defined on a page eg:
var a = {a:1, b:2, next:3};
.... is accessed from chrome using wrappedJSObject, the "next" property
is not visible when iterating properties using
for-in loop.
Is this known problem?
Honza
|
12/18/2009 12:35:04 PM
|
2
|
Jan Odvarko <odva...@gmail.com>
|
About casting nsIDOM* interfaces in C++
Hello everybody!
I'd like to ask a simple question about interfaces in XPCOM. I'm
writing C++ XPCOM component for Firefox (linking against Gecko SDK
1.9.2 in MS Visual Studio).
I am trying to cast from one interface to another one. Let's say from
nsIDOMNode to nsIDOMHTMLElement.
I retrieve initial nsIDOMNode from nsIDOMHTMLDocument via GetFirstChild
(). Then I'd like to traverse DOM tree and cast each HTML element from
nsIDOMNode to appropriate interface (nsIDOMHTMLElement,
nsIDOMHTMLTableElement, ...).
I check node name via GetNodeName() before calling QueryInterface().
Eve
|
12/17/2009 11:57:24 AM
|
3
|
"pospec4...@gmail.com" <pospec4...@gmail.com>
|
Problems with native JSON functions
A couple of CMU students added a "Copy object as json" feature to Firebug,
Issue 2560: Add JSON String Copy to DOM Panel
http://code.google.com/p/fbug/issues/detail?id=2560
However they ended up having to modify json2.js to succeed rather than
the native Firefox JSON methods. Obviously we'd rather not have two
kinds of JSON code in Firebug.
Apparently the problem is that the native functions fail with too much
recursion on cycles, sometimes.
The closest bug I found in bugzilla is
https://bugzilla.mozilla.org/show_bug.cgi?id=512447
JSON.stringify does not correct handle
|
12/17/2009 1:44:12 AM
|
3
|
John J Barton <johnjbar...@johnjbarton.com>
|
DPI planning
Last week we had a meeting to talk about how to handle DPI and zooming
in general.
A consensus emerged that our old approach of automatically changing the
number of device pixels per CSS pixel when the screen DPI is "too large"
is not desirable. Instead, we should set that ratio based on system
settings that correspond to user preferences, namely:
-- On Mac, use the UI Resolution to set device-pixels-per-CSS-pixel
(what Safari does)
-- On Windows, use LOGPIXELSY (what IE8 does)
-- On GTK/X, use Xftdpi
We should step up our support for physical units in CSS by correctly
mea
|
12/16/2009 5:24:36 AM
|
23
|
Robert O'Callahan <rob...@ocallahan.org>
|
64-bit Mac OS X: build and run without patches on mozilla-central
We can now make 64-bit Mac OS X builds without any patches on mozilla-
central. The port is pretty stable already though there are no real
plugins available for it. x86-64 is actually the default architecture
if you're building mozilla-central on Mac OS X 10.6. Setting up a
tinderbox is bug 519060.
Here are some perf numbers from early October 2009:
http://boomswaggerboom.wordpress.com/2009/10/01/64-bit-firefox-performance-on-mac-os-x/
We have not yet made any decisions about changing which architectures
we ship and officially support for Mac OS X.
|
12/15/2009 11:23:25 PM
|
2
|
Josh Aas <josh...@gmail.com>
|
Adding test-only APIs
We want to add tests for cross-platform IME infrastructure. These tests
depend C++ APIs that aren't currently scriptable, but we'd like to write
tests using script because C++ is a bit cumbersome, especially for
working with complex documents. In other situations like this we've
exposed API through nsIDOMWindowUtils, but that's suboptimal because we
ship it, and I don't really want to ship these test-only APIs. Any
suggestions?
Rob
|
12/15/2009 9:10:31 AM
|
9
|
Robert O'Callahan <rob...@ocallahan.org>
|
Accessing content script context from chrome
I was using a new video player yesterday and was struck by its
terrible usability (at least on Mac). In particular, it is impossible
to make it do anything (even with the mouse) in full screen mode, so I
decide to write a Firefox extension that implemented keyboard
shortcuts for pause, rewind, FF, etc.
After a few hours of tinkering around on a Sunday evening, I didn't
manage to get it to work. The problem is that the player is embedded
as an <object> in the webpage. It doesn't appear to expose its methods
directly, or at least I can't see them from chrome. There is a global
variabl
|
12/14/2009 11:39:51 AM
|
1
|
Matthew Gertner <matthew.gert...@gmail.com>
|
Proposal for a different terminology for windows.
One of the biggest bugs in the mozilla platform API is the overloading
of 'window'. Enumerable conversations stumble around as the participants
try to agree on what each person means by 'window'. Lots of bugs, some
very subtle and long standing, are caused by misunderstandings about the
meaning of 'window'.
Some specific examples:
https://developer.mozilla.org/en/SpiderMonkey/Split_object
https://bugzilla.mozilla.org/show_bug.cgi?id=534149
https://developer.mozilla.org/En/Working_with_windows_in_chrome_code
The problem here is that 'window' is not an abstraction in most of the
|
12/12/2009 6:13:02 PM
|
15
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
Page-load performance problem in Gtk (and headless) backend
Hi,
While looking at performance/memory issues in our headless backend, Yong
Wu discovered that there's a possible problem with the native
event-handling in the GTK back-end (and because it's mostly derived from
it, the headless backend too).
On a single-processor system, dealing with native events can starve the
user events very easily when plugins are involved. The backend decides
on whether to process all native pending events or just one by tracking
a variable of whether performance is favoured over starvation.
On pages with plugins (well, flash), the plugin continuously sen
|
12/11/2009 10:02:07 AM
|
0
|
Chris Lord <ch...@linux.intel.com>
|
mozilla-central is open again
Hi everyone,
We're down to the last few bugs for mozilla1.9.2/Firefox 3.6, and =
they're localized enough that we've decided to re-open the =
mozilla-central tree for checkins. Since we expect that there might be a =
backlog, Ted's (been) volunteered to help co-ordinate landings today. =
He's in #developers.
cheers,
mike=
|
12/10/2009 5:32:09 PM
|
0
|
Mike Beltzner <beltz...@mozilla.com>
|
Getting nsICacheEntryDescriptor
Is it possible to somehow get cache entry descriptor without modifying
the fetchCount and lastFeteched properties?
Firebug is displaying this info in the Net panel and it would be nice
to *not* modify it.
Honza
|
12/10/2009 9:33:46 AM
|
1
|
Jan Odvarko <odva...@gmail.com>
|
FF 3.6 vs FF 3.5 and use of nsIDOMWindows for error pages.
I hit a weird problem in Firebug and I've only come up with one equally
weird possible reason for it.
If I run Firebug 1.5b6 on Firefox 3.6 with the home page
file:///C:/DOCUME~1/JOHNJ~1.BAR/LOCALS~1/Temp/issue-420.html
which does not exist, I get an error page. To see the issue easily, now
select the Script panel.
Next load the url (actually I think any valid url will work)
http://getfirebug.com/tests/content/script/singleStepping/index.html
The page loads, but Firebug's script panel still shows the previous url.
There are a lot of ways Firebug could have this bug. But even
|
12/9/2009 5:25:17 PM
|
3
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
Removing restriction on mozilla-central
Hi,
We're down to 26 code-related blockers for mozilla1.9.2/firefox3.6, the =
lion's share of which are in JavaScript. I'd like to propose that we =
lift the restriction on mozilla-central, returning us to a state where =
any reviewed patch can be landed, to allow many excellent pieces of =
technology (out-of-process plugins, Direct 2D, Web GL, Tab Matches in =
Awesomebar) to start landing and baking for a future release.
If we do this, our sheriffs will need to be EXTRA vigilant in watching =
for test and build failures, and quite aggressive about backing out =
anything that's ca
|
12/8/2009 5:31:29 PM
|
0
|
Mike Beltzner <beltz...@mozilla.com>
|
100% browser CPU.
The page
https://developer.mozilla.org/en/dom/document.getelementsbyclassname
does not document the method call return types, so I thought I would
just check the link at the bottom of that page:
http://whatwg.org/specs/web-apps/current-work/#getelementsbyclassname
Unfortunately my CPU pegged 100%. Naturally I thought Firebug has jammed
things up, but I saw no trace outputs. In fact, I could get almost
nothing out of Firebug/Chromebug because the CPU was pegged. Eventually
I tried in a clean profile and the CPU is still pegged. While looking
through bugzilla on another firefox i
|
12/6/2009 6:26:05 PM
|
0
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
Throttling inactive windows/browsers
Hi,
I'm looking into ways of somehow throttling the CPU usage in inactive
XUL windows (and browsers in them) in our xulrunner-using application.
There is a rumor that Firefox can somehow do this with inactive tabs.
Is that true? I haven't been able to find anything about it so far.
I know this will probably become a lot easier once the out-of-process
stuff lands, but if anyone has suggestions on how to accomplish this
with xulrunner 1.9.1 I'd appreciate it.
Thanks,
James
|
12/4/2009 7:00:32 PM
|
0
|
James Willcox <jwill...@litl.com>
|
Get an elements specified style
In the following document, I have an absolutely positioned element
with id of "b" that was positioned from the right. How can I tell how
it was positioned? If I get the computedStyle I get both left and
right with no knowledge of which one is fixed (that is, if I resize
the window, the value of right will stay the same, the value of left
will change). The only way I can think of is to iterate through all
the styles that apply to this object from getCSSStyleRules() to find
what the collapsed specified style is. Is this correct? Is there a
shorter/faster way to find the specified style?
|
12/3/2009 9:18:03 PM
|
0
|
Steven Roussey <srous...@gmail.com>
|
Activity distributor events & extraSizeData parameter.
"@mozilla.org/network/http-activity-distributor;1" is dispatching
various events about underlying network activity.
There is also an 'extraSizeData' parameter passed along these events,
but in following two cases, it's not clear to me what this parameter
is representing:
- STATUS_RECEIVING_FROM
- STATUS_SENDING_TO
And also:
- ACTIVITY_SUBTYPE_REQUEST_BODY_SENT: This is always 0. Perhaps it
could be size of the sent body?
Honza
|
12/3/2009 9:55:34 AM
|
0
|
Jan Odvarko <odva...@gmail.com>
|
Time to require SSE2
I think this is a reasonable requirement for releases after Firefox
3.6.
Does anyone disagree?
|
12/2/2009 11:31:33 PM
|
36
|
sayrer <say...@gmail.com>
|
No "uncaught exception" from custom exception
Firebug Issue 196: No exception from custom exception
has a test case like:
var error;
function errorMe() {
error = new Error("I am a custom exception");
throw error;
}
Firebug points to the |new Error()|, but of course the user wants the
|throw| to show up instead.
Normally I get these because I store the stack trace in jsd.onError()
and grab it when the error message comes through the consoleService. But
my heuristic, looking for "uncaught exception" fails because this case
does not include that string.
Should this be a bug, that is should the message be consistent
|
12/1/2009 6:56:15 AM
|
0
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
Fwd: how browsers transform URLs
Forwarding to .dom (because there are recommendations for script
interfaces, which Erik claims are particularly inconsistent) and to
..platform. Apologies if either or both is the wrong place.
Gerv
-------- Original Message --------
Subject: how browsers transform URLs
Date: Wed, 25 Nov 2009 11:49:36 -0800
From: Erik van der Poel <erikv@google.com>
We are happy to announce the open source release of Client URL
Internet Emission Sniffer (CURLIES).
The purpose of this project is to see how browsers and other Web
clients transform URLs as they access them. This is done by g
|
11/26/2009 2:28:33 PM
|
3
|
Gervase Markham <g...@mozilla.org>
|
onLocationChange for tabs that are not selected.
In investigating a Firebug user's test case it looks like Firefox does
not deliver "onLocationChange" events to a tab if it is not selected.
This is Firebug's only why to know about reloaded pages. By design or a bug?
Test case is
https://fbug.googlecode.com/svn/tests/issues/ConsoleNotDefined.html
or
<html>
<body onload="javascript:onLoad();">
<script >
function onTimeout() {
location.reload(true);
}
function onLoad() {
if (console && typeof console.log == "function")
console.log("Hello world");
// switch to a different tab then al
|
11/25/2009 4:13:14 PM
|
5
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|
Application update using SSL and own certificate
Hi,
I have another problem with the application update. Using an HTTP
app.update.url works without problems.
The problem comes with HTTPS URLs for app.update.url. I add our in-house
certificate using JavaScript with the method described here:
https://developer.mozilla.org/en/Code_snippets/Miscellaneous#Adding_custom_certificates_to_a_XULRunner_application
This works great for normal XMLHttpRequests, I do them all the time. But
doing an "check for updates" gives me the catch-all error "xml malformed
(200)".
A debug build and the highest possible NSPR logging gives me a huge l
|
11/25/2009 1:02:09 PM
|
5
|
Philipp Wagner <n...@philipp-wagner.com>
|
Why not use a torrent with a whole directory structure instead of a zip
Zips the browser has to download the whole file before the page will
load; however with a torrent files can be downloaded selectively.
With a torrent webserver load is reduced as data can be downloaded
from peers.
|
11/24/2009 12:00:12 AM
|
1
|
Graingert <tagr...@gmail.com>
|
Checking if an nsIDocument is being examined by the user
nsContentSink alters its flushing depending on queued user events on the
event loop. I was thinking of implementing a similar idea for the HTML5
parser.
How can I tell if an nsIDocument is being displayed in the frontmost tab
(perhaps in a frame inside the frontmost tab)? Is there a way (nicer
than what nsContentSink does) to detect if the user is actively
interacting with the frontmost tab?
--
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
|
11/23/2009 1:35:23 PM
|
1
|
Henri Sivonen <hsivo...@iki.fi>
|
Changed interfaces without changing iid
Hi,
I found interfaces that should have changed iid because they are changed
indirectly - by inheritance. I compared gecko 1.8.1 and 1.9.2.
In all following interfaces is changed parent interface but derived
interface is not changed and iid of derived interface isn't changed.
For c++ extension developer that supports multiple version of gecko this
cause quite bizarre crashes because methods in vfptr are shifted
(because added /removed methods in parent interface) so you call
different method convinced that you call correct method because iid of
interface you used your extens
|
11/23/2009 1:27:43 PM
|
0
|
=?windows-1252?Q?Pavol_Mi=9A=EDk?= <pmi...@gmail.com>
|
how to get coordinates of particular word or letter in a text node
hi,
I'm using nsIDOMNSElement.getBoundingClientRect() to get coordinates of
a DOM node. But I'd like to get coordinates of particular word or letter
in a text node.
I guess I could calculate this by myself if I only knew the node's text
line height, letters widths and line wrapping.
Is there any API for that?
thanks
Jacek
|
11/23/2009 8:26:13 AM
|
1
|
Jacek Pospychala <jacek....@zend.com>
|
firefox as an operating system
.
The graphic subsystem Cairo can use mini glx that only creates a
window and loads the graphics driver for the specific graphics card.
Using opengl for Firefox's native output would also create the
opportunity for canvas to be used to create 3d web applications more
seamlessly and would also enable the ability for other web standards
like java script to create their own 3d web apis. This would also
give the ability for Firefox to be ran from the command line but the
concept would also work just fine with other operating systems that
have full window systems.
.The more interestin
|
11/23/2009 4:10:00 AM
|
0
|
mike hillman <aktrad...@gmail.com>
|
XULRunner NSView
The wiki page says the following :
NSView-based-widget (Mac OS X only) (not yet complete)
I'm wondering what progress has been mad on this since the wiki page
was updated two years ago...
Is it yet possible to embed Gecko or XULRunner in a Cocoa app in the
form of an NSView (or any other way, for that matter)?
Thanks.
|
11/21/2009 11:35:38 PM
|
0
|
"Caesar's Grunt" <cae...@caesarsgrunt.co.uk>
|
"Cannot modify properties of a WrappedNative"
In FF 3.6b4 I am getting an error on
win.tag = ChromebugOverrides.tagBase++; // set expando property
"NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN"
I guess this is Chromebug code called from Firebug if it matters.
So did the rules change or where they not what I thought.
jjb
|
11/21/2009 5:16:58 PM
|
3
|
"John J. Barton" <johnjbar...@johnjbarton.com>
|