I don't know for sure about the FF 10 beta but I imagine it's similar to how you enable WebGL previously.
type about:config into the address bar, search for "webgl", and double-click "webgl.enabled_for_all_sites" to set it to true
For Safari, I think it's still only enabled with their "nightly" builds.
http://nightly.webkit.org/