oh really! very cool! then it could potentially be the case that
it's already implemented. er :)
hmm, it's so awkward this, isn't it? discussing things where the
terminology's actually being invented, and the people contributing
come from quite different backgrounds. thank you for being patient
and going round this a few times.
> Also: the toplevel namespace XUL is irrelevant. The tricky thing is that the
> chrome code has to inject this navigator.mozKeyboard property into the
> global namespace of the <iframe> elements that apps run in.
ah. right. right! exactly. ok. that's *exactly* what i was referring to :)
ok so, then: i believe that this sort of thing should *not* be
considered to be "a hack", but should instead be encouraged and fully
supported... and done in such a way that it is made to be properly
generic.
if for example there is some nasty hacking going on that *only*
allows navigator.mozKeyboard to be dropped into an iframe's namespace,
then that should be sorted out, documented and extended to allow it to
be done more often! :)
so the implications of that are that there needs to be an API which
allows "injection" to be done at the top-level, in a generic fashion
*not* as a one-time hack.
[ where i am using "top level" to refer to that secure-iframes system
which is being developed, the one which allows certain frames to be
isolated from each other, such that you can implement a "window-like
manager" in the quotes top level quotes and the applications can be in
iframes that act effectively as entirely separate spaces, in which you
could implement things like "a fully-functioning web browser" or "a
keyboard" or "a B2G application", as discussed and clarified err...
two months ago i think it was. ]
... could someone come up with a name for that system, btw? a nice
moniker so that it doesn't need an entire paragraph to make sure it's
being referred to unambiguously? :)
my suggestions: frame-manager, secure-frame-manager,
frame-window-manager, etc. etc. because seriously you really *are*
implementing the concept of a Window Manager within B2G, so call it
what it is: a "A Window Manager using IFrames as the means to separate
the windows".
l.