Summary: Allow setting the decoding attribute on img elements to hint at
synchronous/asynchronous decoding of image data. We currently decode images
asynchronously which can cause flickering in some circumstances (e.g. if
the src is changed), while other browsers default to synchronous decoding
(wh
I think it is a matter of failing to parse/index all of the code; for
example, var:mError works for me as I think you would expect. If I find a
definition of "io_pending":
https://dxr.mozilla.org/mozilla-central/source/nsprpub/pr/include/private/primpl.h#1608
I notice that it isn't recognized as
Suppose I have some ref counted class Foo with the private member mBar.
Normally with a lambda expression, you can easily access the private
members by passing the this pointer:
void Foo::pokeBar()
{
nsCOMPtr r = NS_NewRunnableFunction[this] () -> void
{
mBar.poke();
});
NS_DispatchToM
Turns out my original problem was some other mistake I made. Using just
self works (thanks botond for the poke on IRC about that).
I remember reading the linked thread, although I had since forgotten about
it -- thanks for the reminder. My impression was that using raw pointers
for ref counted obj
WebP is an image format developed by Google, long supported by Chrome. We
are facing a growing number of webcompat reports against our Gecko-derived
Android offerings, where web developers assume Android and/or mobile
implies support for WebP. In addition, Edge has now shipped WebP [1]. As
such, I
Web authors would like a way to guarantee an image has been fully decoded
and will display immediately when inserted into the DOM.
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1501794
Link to standard:
https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-decode
Platform cove
tions
will continue to apply.
On Wed, Nov 7, 2018 at 11:23 AM, Boris Zbarsky wrote:
> On 11/7/18 11:15 AM, Andrew Osmond wrote:
>
>> This is simply a
>> new method for JS on image elements, so it should be unavailable.
>>
>
> Script can run in sandboxed iframes, de
7 matches
Mail list logo