News: 0000826623

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Safely reviving shared memory (Mozilla Hacks)

([Development] Jul 21, 2020 17:03 UTC (Tue) (corbet))


The Mozilla Hacks blog [1]covers some recent Firefox changes that will allow code from web sites to use shared memory and high-resolution timers in a (hopefully) safe manner. " Together with others in the WHATWG community, we designed a set of headers that meet these requirements. The Cross-Origin-Opener-Policy header allows you to process-isolate yourself from attackers. It also has the desirable effect that attackers cannot have access to your global object if they were to open you in a popup. This prevents XS-Leaks and various navigation attacks. Adopt this header even if you have no intention of using shared memory! "



[1] https://hacks.mozilla.org/2020/07/safely-reviving-shared-memory/

A truly good man is not aware of his goodness,
And is therefore good.
A foolish man tries to be good,
And is therefore not good.

A truly good man does nothing,
Yet leaves nothing undone.
A foolish man is always doing,
Yet much remains to be done.

When a truly kind man does something, he leaves nothing undone.
When a just man does something, he leaves a great deal to be done.
When a disciplinarian does something and no one responds,
He rolls up his sleeves in an attempt to enforce order.

Therefore when Tao is lost, there is goodness.
When goodness is lost, there is kindness.
When kindness is lost, there is justice.
When justice is lost, there ritual.
Now ritual is the husk of faith and loyalty, the beginning of confusion.
Knowledge of the future is only a flowery trapping of Tao.
It is the beginning of folly.

Therefore the truly great man dwells on what is real and not what is on the surface,
On the fruit and not the flower.
Therefore accept the one and reject the other.