Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

good first extension anyone? l10n testing goodness

0 views
Skip to first unread message

Axel Hecht

unread,
Aug 5, 2008, 11:02:27 AM8/5/08
to
Hi all,

anyone up to write a cute little testing extension?

Goal: reliably find remaining xml parsing errors

Approach: make mozilla parse the files


Here's how the thing would go, IMHO:

Write a xul with accompanying js that:

* gets the chrome dir from the directory service
* gets all jars in there
* registers an console observer to catch errors
* goes over all xml files (xul, xbl, rdf, xhtml) in each jar
* loads each xml file as data, say async XHR
* reports all found errors back


** Cookie if this is ready to be run in MozMill. Not that I knew how.

Any volunteers?

I'd be interested to know if this would catch CSS errors, too. It might
not as long as it's loading the xml as data. Opening the xmls in real
layout might be dangerous though, and might have unwanted side effects.

Axel

0 new messages