-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fred wrote:
> You proved my point: I don't understand what you mean by "choke".
My apologies, bad-bad wording indeed :)

After reading all the new posts in these two duplicate threads I thought
it's time to end it (AKA ignore them) as there's nothing new to be said
on this issue and people are just getting inflammatory.

Anyway, in order to properly drop myself out of this discussion, I'll
say it again, as people seem to have a very wrong impression about my
posts in this thread: my post was neither "advocacy", nor any kind of
project "in the works", it was merely a presentation of some
_workaround_ for the problem raised by the starter of this thread.

To summarize, the problem was that getElementsByTagName() cannot be
reliably used on Gecko to get the list of elements in document's <head>
while it is still "loading". (Please read Fred's posts to get a higher
resolution picture).

The workaround proposed by Martin Honnen (
https://bugzilla.mozilla.org/show_bug.cgi?id=276037#c12 ) was to scan
the partially loaded DOM. The performance drop should be quite light
given the fact that "the DOM" is merely composed by a few elements (the
ones already loaded in <head>) at the time this method is executed.

As a side note, saying that getElementsByTagName can in fact be used
_one time only_ it's not a valid argument, as one exception is already
too much (as in "all tests successful" vs "failed 1 of99999 tests").

merry coding ;-)
- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----

iD8DBQFFgQ2gtZHp/AYZiNkRAjfzAJ9FtNzUW+/s+ZGG+8iiggxVMQ5hvACfaUYO
i+0uSS2GqZ0Kzo6R6cv+MJg=
=8yWs
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to