Bug 811891. Only sync decode once per image. r=joe

Bug 799335 intentionally caused us to do some decoding everytime StartDecoding
is called. This can be multiple times per paint which can delay tab switch
substantially.

--HG--
extra : rebase_source : d3f151e85c142984c39f21ff7e13d1d37d39a4bf
Bug 801212. Fix PaintWindow signature so it actually overrides the intended function. r=enndeakin
Bug 802026, r=dao

--HG--
extra : transplant_source : _%DEr6%3A%8A%40%AF%FE%5E/%C6N%82%00%0B%0FtU%DD
Bug 816056 - bug 817288 - bug 817980 - bug 820847 - bug 822037 - Disable tests due to too many timeouts.
Don't spew uninitialized memory. (bug 822042, r=evilpie)
Fix bustage from bug 802026

--HG--
extra : rebase_source : e649e638acdeea8ba93f9822ce16d2b984b28e49
Bug 822056 - Use truthy test not typeof == 'object' for OpenBrowserWindow options in browser.js. r=gavin
Bug 808286 - Use enum instead of JSBool for param to js_ErrorReportNumber. r=Waldo
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h.  r=Ms2ger
Bug 784293 - Support creating and lazily cloning arbitrary objects in self-hosted code. r=jwalden

--HG--
extra : rebase_source : fd34d2f604ee41e7e44307f3095227d202c8fb55
Bug 814793: fix flaky test, to try to get around bustage revealed by bug 802026

--HG--
extra : transplant_source : %FD%2075%10%AC%7E%E8%A1%AD%84Q%90q%8E%B2%C6%84%88%97
Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk
Bug 813445 part.2 Don't use NS_EVENT_FLAG_BUBBLE and NS_EVENT_FLAG_CAPTURE for nsEvent::flags r=smaug
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
Bug 813445 part.4 Remove NS_EVENT_FLAG_STOP_DISPATCH and NS_EVENT_FLAG_STOP_DISPATCH_IMMEDIATELY r=smaug
Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug
Bug 813445 part.6 Remove NS_EVENT_FLAG_PREVENT_MULTIPLE_ACTIONS r=smaug
Bug 813445 part.7 Remove NS_EVENT_DISPATCHED and NS_EVENT_FLAG_DISPATCHING r=smaug
Bug 813445 part.8 Remove NS_EVENT_FLAG_SYNTHETIC_TEST_EVENT r=smaug
Bug 813445 part.9 Remove NS_EVENT_FLAG_EXCEPTION_THROWN r=smaug