User:Manuel Bucher

From MozillaWiki
Jump to: navigation, search

I am a mozillian in the Necko-Team. I like improving docs when reading through them.

Resources to integrate somewhere into firefox-source-docs (or wiki)

My personal TODO-List for my outstanding documentation changes (where I don't have the time to do them immediately)/My non-trivially learned lessons about Firefox development:

ac_add_options --enable-debug
ac_add_options --enable-clang-plugin
#ac_add_options --disable-unified-build
ac_add_options --with-ccache=sccache
ac_add_options CCACHE=/home/user/.mozbuild/sccache/sccache

Fun code

  • Interesting workaround to have a public constructor, but not really (1)
class WorkerThread {
  // Using this struct we restrict access to the constructor while still being
  // able to use MakeSafeRefPtr.
  struct ConstructorKey {};

public:
  explicit WorkerThread(ConstructorKey);
}