Bug 1067414 - Add a comment about thread-safety of unlocked sPreferredSampleRate reads.

Also, fix return type of MaxNumberOfChannels and PreferredSampleRate.
Bug 1065250 - Factor part of SourceBuffer::AppendData into new PrepareAppend function.  r=karlt
Bug 1065250 - Factor some of SourceBuffer::AppendData into TrackBuffer::Append.  Move ContainerParser to a new file.  r=karlt

--HG--
rename : content/media/mediasource/SourceBuffer.cpp => content/media/mediasource/ContainerParser.cpp
Bug 1065250 - Tidy up unneeded includes after several refactorings.  r=karlt
Bug 1067699 (part 1) - Export double-conversion.h normally from MFBT. r=froydnj.

--HG--
extra : rebase_source : 14c3d827f4d8015d8326612e82782c52dcf7335d
Bug 1067699 (part 2) - Add mfbt/JSONWriter.h and use it for memory reporting. r=froydnj.

--HG--
extra : rebase_source : 7eb21c4c20c0434b3b236d1c53cbef9cb6a4759c
Bug 1067711 - Fix an assertion failure in the System memory reporter. r=erahm.

--HG--
extra : rebase_source : 06fa4b0d706414901ce2475e987067d5cb4f0f6f
Bug 1002302 - WebGL2 - Stub WebGL 2.0 WebIDL, WebGL 2.0 Objects, and functions in WebGL2Context.; r=jgilbert,bjacob,smaug

--HG--
extra : rebase_source : a7f9510b34a9f43afc0418c50b8821928c2a4262
extra : source : 89c2a61cd4c543c78b9bf0963f0227488fa27802
Bug 1059426 - Don't inline ToInteger if we're likely to bailout. r=kvijayan
Bug 1067008 - [mozprocess] mozprocess.pid running_process should look at the entire command not just the executable name. r=ahal
Bug 990799 - Update search plugins to use rel='searchform'. r=gavin
Bug 1064847 - Make media generated IOSurface global. r=mattwoodrow
Bug 1062654 - Part 0: Replace NULL allocator with kCFAllocatorDefault for clarity. r=rillian
Bug 1062654 - Part 0b: Use official constants. r=rillian

This change does not modify the current behaviour.
It prevents potential errors (in particular spelling) by using the
constant found in the actual framework.
Bug 1062654 - Part 1: Implement Apple VDA decoder r=rillian

--HG--
rename : content/media/fmp4/apple/AppleVTDecoder.cpp => content/media/fmp4/apple/AppleVDADecoder.cpp
rename : content/media/fmp4/apple/AppleVTDecoder.h => content/media/fmp4/apple/AppleVDADecoder.h
rename : content/media/fmp4/apple/AppleVTFunctions.h => content/media/fmp4/apple/AppleVDAFunctions.h
rename : content/media/fmp4/apple/AppleVTLinker.cpp => content/media/fmp4/apple/AppleVDALinker.cpp
rename : content/media/fmp4/apple/AppleVTLinker.h => content/media/fmp4/apple/AppleVDALinker.h
Bug 1062654 - Part 2: Integrate and enable VDA decoder r=rillian
Bug 1062654 - Part 3: Derive VT decoder from VDA decoder. r=rillian
Bug 1062654 - Part 4: Fix Link/Unlink Apple video frameworks cycle. r=rillian
Prefer VideoToolbox when HW acceleration is available. Otherwise use VDA when available
Bug 1062654 - Part 5: Display error code when drain or flush failed. r=rillian
Bug 1062654 - Part6: Disable VDA in 10.6. r=rillian

VDA causes unexpected crashes in 10.6. Disable for now.