Bug 876129 - Part 2: Prefer to look at <body> instead of <html> when determining whether the background color of a page is dark or not; r=roc

This seems to be a slightly better heuristic to follow the CSS Rendering code
in all cases, since the background color for the body element often overrides
that of the html element.

--HG--
extra : rebase_source : ef4ac31003d75fb0fe17b493d7267ba3306e77bf
Bug 877671 - crash in nsEventListenerManager::RemoveEventListener, r=jst

--HG--
extra : rebase_source : ee7f4547e0b9b26e8dc577d7a530491c2004876c
Bug 868860 - Part 2: XP_UNIX must #include unistd.h to get read() and close() definitions. r=bustage