Bug 939318 - protocolproxy service acts on network interface changes. r=mcmanus
Bug 939318 - Websockets act on network interface changes. r=mcmanus

If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
Bug 939318 - Send network changed event when returning from sleep. r=mcmanus

Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
Bug 939318 - Introduce the "network.notify.changed" prefs. r=mcmanus

Makes it possible to disable 'changed' events.

Disable the events in test_ping_aboutnetworking.js and in
test_proxy-failover_passing.js
Bug 939318 - Bump nsINetworkLinkService UUID. r=IDon'tLikeRandomBustage
Bug 1040187: Combine update regions properly when upload hasn't executed yet. r=nical
Bug 1057677 - Crash in nsHTMLEditor::DoInsertHTMLWithContext; r=ehsan
Bug 947721 - Fix function CancelAsyncRequest and add the same function for the child process. r=sworkman

--HG--
extra : rebase_source : b89d296732cd65e8bfc0c6ff563095a668484eae
Bug 1022818 - Part 1: Update webidl interfaces. r=bz

- Extended the Element and Window webidl interfaces as described in the
  CSSOM-View smooth-scrolling specification.
- The Element.scrollTop and Element.scrollLeft changes have been omitted
  until either WebIDL is extended to allow properties to have union datatypes
  that contain dictionaries or the CSSOM-View smooth-scroll specification
  is upddated.  This will not prevent the other interface changes from being
  useful.
- Implemented wrapper functions for the nsGlobalWindow to connect to the new
  WebIDL bindings.  The ScrollOptions parameters are ignored in this patch,
  and used in Part 3 of this patch series.

--HG--
extra : rebase_source : db617cb63780e039ad69e4ed100c13042c676949
Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz

- Updated ScrollTo method in nsGlobalWindow to accept a
  mozilla::dom::ScrollOptions parameter to select between the instant
  and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
  to pass the correct value of mozilla::dom::ScrollBehavior to the
  implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
  CSS property in Bug 1010538.

--HG--
extra : rebase_source : 7c9ce94d09fed5c4aea63442d683876c0a9a2e50
Bug 1022818 - Part 3: Tests for CSSOM-View Smooth-Scroll DOM API Methods and MSD Animation. r=bz, r=roc

- Verify that instant scroll-behavior is synchronous.
- Verify that smooth scroll-behavior is asynchronous.
- Verify that smooth scroll-behavior is triggered by CSSOM-View DOM methods.
- Verify that instant scroll-behavior interrupts smooth scroll-behavior
  animation.
- Verify that smooth scroll-behavior is not framerate dependant.
- Verify that smooth scroll-behavior physics simulations used by animations
  converge and allow the animation to reach completion.
- CSSOM-View scroll-behavior smooth scroll animations must produce the same
  results indendently of frame-rate:
  - Reference samples of scroll position for each frame are captured from a
    smooth scroll at 120fps for variations in X-Distance, Y-Distance.
  - Test samples are captured from an animation with the same parameters at
    varying framerates.
  - Variance in position at each sampled interval is compared to the 120fps
    reference.  To pass the test, the position of each test sample must match
    the reference position with a tolerance of one test sample frame's range
    of motion.  This range of motion is calculated by the position delta of
    the reference samples one test frame duration before and after.
  - The duration of the reference sample animation and the test sample
    animation must match within 1 frame to pass the test.
  - The simulation driving the animation must converge and stop on the
    destination position for the test to pass.

--HG--
extra : rebase_source : 194f6c9364e316ea21cf1e74ab6f7542ee94edb8
Bug 1055141 - use a UniquePtr for AudioStream's mCubebStream member; r=kinetik
Bug 1055653 - Most MediaResource::GetDownloadRate() implementions ignore their out-parameter.  r=cpearce.

--HG--
extra : rebase_source : 67d5000c51740cedaad69fe22797589b6fcd06b4
Bug 1054703 - Part 1: Flatten embedding/base/ into parent directory. r=bsmedberg

--HG--
rename : embedding/base/nsEmbedCID.h => embedding/nsEmbedCID.h
rename : embedding/base/nsIWindowCreator.idl => embedding/nsIWindowCreator.idl
rename : embedding/base/nsIWindowCreator2.idl => embedding/nsIWindowCreator2.idl
rename : embedding/base/nsIWindowProvider.idl => embedding/nsIWindowProvider.idl
Bug 1054703 - Part 2: Flatten embedding/components/appstartup/src/ into parent directory. r=bsmedberg

--HG--
rename : embedding/components/appstartup/src/moz.build => embedding/components/appstartup/moz.build
rename : embedding/components/appstartup/src/nsAppStartupNotifier.cpp => embedding/components/appstartup/nsAppStartupNotifier.cpp
rename : embedding/components/appstartup/src/nsAppStartupNotifier.h => embedding/components/appstartup/nsAppStartupNotifier.h
rename : embedding/components/appstartup/src/nsIAppStartupNotifier.h => embedding/components/appstartup/nsIAppStartupNotifier.h
Bug 1054703 - Part 3: Flatten embedding/components/commandhandler/{public,src}/ into parent directory. r=bsmedberg

--HG--
rename : embedding/components/commandhandler/src/nsBaseCommandController.cpp => embedding/components/commandhandler/nsBaseCommandController.cpp
rename : embedding/components/commandhandler/src/nsBaseCommandController.h => embedding/components/commandhandler/nsBaseCommandController.h
rename : embedding/components/commandhandler/src/nsCommandGroup.cpp => embedding/components/commandhandler/nsCommandGroup.cpp
rename : embedding/components/commandhandler/src/nsCommandGroup.h => embedding/components/commandhandler/nsCommandGroup.h
rename : embedding/components/commandhandler/src/nsCommandManager.cpp => embedding/components/commandhandler/nsCommandManager.cpp
rename : embedding/components/commandhandler/src/nsCommandManager.h => embedding/components/commandhandler/nsCommandManager.h
rename : embedding/components/commandhandler/src/nsCommandParams.cpp => embedding/components/commandhandler/nsCommandParams.cpp
rename : embedding/components/commandhandler/src/nsCommandParams.h => embedding/components/commandhandler/nsCommandParams.h
rename : embedding/components/commandhandler/src/nsControllerCommandTable.cpp => embedding/components/commandhandler/nsControllerCommandTable.cpp
rename : embedding/components/commandhandler/src/nsControllerCommandTable.h => embedding/components/commandhandler/nsControllerCommandTable.h
rename : embedding/components/commandhandler/public/nsICommandManager.idl => embedding/components/commandhandler/nsICommandManager.idl
rename : embedding/components/commandhandler/public/nsICommandParams.idl => embedding/components/commandhandler/nsICommandParams.idl
rename : embedding/components/commandhandler/public/nsIControllerCommand.idl => embedding/components/commandhandler/nsIControllerCommand.idl
rename : embedding/components/commandhandler/public/nsIControllerCommandTable.idl => embedding/components/commandhandler/nsIControllerCommandTable.idl
rename : embedding/components/commandhandler/public/nsIControllerContext.idl => embedding/components/commandhandler/nsIControllerContext.idl
rename : embedding/components/commandhandler/public/nsPICommandUpdater.idl => embedding/components/commandhandler/nsPICommandUpdater.idl
Bug 1054703 - Part 4: Flatten embedding/components/find/{public,src}/ into parent directory. r=bsmedberg

--HG--
rename : embedding/components/find/src/nsFind.cpp => embedding/components/find/nsFind.cpp
rename : embedding/components/find/src/nsFind.h => embedding/components/find/nsFind.h
rename : embedding/components/find/public/nsIFind.idl => embedding/components/find/nsIFind.idl
rename : embedding/components/find/public/nsIWebBrowserFind.idl => embedding/components/find/nsIWebBrowserFind.idl
rename : embedding/components/find/src/nsWebBrowserFind.cpp => embedding/components/find/nsWebBrowserFind.cpp
rename : embedding/components/find/src/nsWebBrowserFind.h => embedding/components/find/nsWebBrowserFind.h
Bug 1054703 - Part 5: Flatten embedding/components/printingui/src/ into parent directory. r=bsmedberg

--HG--
rename : embedding/components/printingui/src/mac/moz.build => embedding/components/printingui/mac/moz.build
rename : embedding/components/printingui/src/mac/nsPrintProgress.cpp => embedding/components/printingui/mac/nsPrintProgress.cpp
rename : embedding/components/printingui/src/mac/nsPrintProgress.h => embedding/components/printingui/mac/nsPrintProgress.h
rename : embedding/components/printingui/src/mac/nsPrintProgressParams.cpp => embedding/components/printingui/mac/nsPrintProgressParams.cpp
rename : embedding/components/printingui/src/mac/nsPrintProgressParams.h => embedding/components/printingui/mac/nsPrintProgressParams.h
rename : embedding/components/printingui/src/mac/nsPrintingPromptService.h => embedding/components/printingui/mac/nsPrintingPromptService.h
rename : embedding/components/printingui/src/mac/nsPrintingPromptServiceX.mm => embedding/components/printingui/mac/nsPrintingPromptServiceX.mm
rename : embedding/components/printingui/src/moz.build => embedding/components/printingui/moz.build
rename : embedding/components/printingui/src/unixshared/moz.build => embedding/components/printingui/unixshared/moz.build
rename : embedding/components/printingui/src/unixshared/nsPrintProgress.cpp => embedding/components/printingui/unixshared/nsPrintProgress.cpp
rename : embedding/components/printingui/src/unixshared/nsPrintProgress.h => embedding/components/printingui/unixshared/nsPrintProgress.h
rename : embedding/components/printingui/src/unixshared/nsPrintProgressParams.cpp => embedding/components/printingui/unixshared/nsPrintProgressParams.cpp
rename : embedding/components/printingui/src/unixshared/nsPrintProgressParams.h => embedding/components/printingui/unixshared/nsPrintProgressParams.h
rename : embedding/components/printingui/src/unixshared/nsPrintingPromptService.cpp => embedding/components/printingui/unixshared/nsPrintingPromptService.cpp
rename : embedding/components/printingui/src/unixshared/nsPrintingPromptService.h => embedding/components/printingui/unixshared/nsPrintingPromptService.h
rename : embedding/components/printingui/src/win/moz.build => embedding/components/printingui/win/moz.build
rename : embedding/components/printingui/src/win/nsPrintDialogUtil.cpp => embedding/components/printingui/win/nsPrintDialogUtil.cpp
rename : embedding/components/printingui/src/win/nsPrintDialogUtil.h => embedding/components/printingui/win/nsPrintDialogUtil.h
rename : embedding/components/printingui/src/win/nsPrintProgress.cpp => embedding/components/printingui/win/nsPrintProgress.cpp
rename : embedding/components/printingui/src/win/nsPrintProgress.h => embedding/components/printingui/win/nsPrintProgress.h
rename : embedding/components/printingui/src/win/nsPrintProgressParams.cpp => embedding/components/printingui/win/nsPrintProgressParams.cpp
rename : embedding/components/printingui/src/win/nsPrintProgressParams.h => embedding/components/printingui/win/nsPrintProgressParams.h
rename : embedding/components/printingui/src/win/nsPrintingPromptService.cpp => embedding/components/printingui/win/nsPrintingPromptService.cpp
rename : embedding/components/printingui/src/win/nsPrintingPromptService.h => embedding/components/printingui/win/nsPrintingPromptService.h
Bug 1054703 - Part 6: Flatten embedding/components/webbrowserpersist/{public,src}/ into parent directory. r=bsmedberg

--HG--
rename : embedding/components/webbrowserpersist/public/nsCWebBrowserPersist.idl => embedding/components/webbrowserpersist/nsCWebBrowserPersist.idl
rename : embedding/components/webbrowserpersist/public/nsIWebBrowserPersist.idl => embedding/components/webbrowserpersist/nsIWebBrowserPersist.idl
rename : embedding/components/webbrowserpersist/src/nsWebBrowserPersist.cpp => embedding/components/webbrowserpersist/nsWebBrowserPersist.cpp
rename : embedding/components/webbrowserpersist/src/nsWebBrowserPersist.h => embedding/components/webbrowserpersist/nsWebBrowserPersist.h
Bug 1054703 - Part 7: Flatten embedding/components/windowwatcher/{public,src}/ into parent directory. r=bsmedberg

--HG--
rename : embedding/components/windowwatcher/src/nsAutoWindowStateHelper.cpp => embedding/components/windowwatcher/nsAutoWindowStateHelper.cpp
rename : embedding/components/windowwatcher/src/nsAutoWindowStateHelper.h => embedding/components/windowwatcher/nsAutoWindowStateHelper.h
rename : embedding/components/windowwatcher/src/nsDialogParamBlock.cpp => embedding/components/windowwatcher/nsDialogParamBlock.cpp
rename : embedding/components/windowwatcher/src/nsDialogParamBlock.h => embedding/components/windowwatcher/nsDialogParamBlock.h
rename : embedding/components/windowwatcher/public/nsIDialogParamBlock.idl => embedding/components/windowwatcher/nsIDialogParamBlock.idl
rename : embedding/components/windowwatcher/public/nsIPromptFactory.idl => embedding/components/windowwatcher/nsIPromptFactory.idl
rename : embedding/components/windowwatcher/public/nsIPromptService.idl => embedding/components/windowwatcher/nsIPromptService.idl
rename : embedding/components/windowwatcher/public/nsIPromptService2.idl => embedding/components/windowwatcher/nsIPromptService2.idl
rename : embedding/components/windowwatcher/public/nsIWindowWatcher.idl => embedding/components/windowwatcher/nsIWindowWatcher.idl
rename : embedding/components/windowwatcher/public/nsPIPromptService.idl => embedding/components/windowwatcher/nsPIPromptService.idl
rename : embedding/components/windowwatcher/public/nsPIWindowWatcher.idl => embedding/components/windowwatcher/nsPIWindowWatcher.idl
rename : embedding/components/windowwatcher/public/nsPromptUtils.h => embedding/components/windowwatcher/nsPromptUtils.h
rename : embedding/components/windowwatcher/src/nsWindowWatcher.cpp => embedding/components/windowwatcher/nsWindowWatcher.cpp
rename : embedding/components/windowwatcher/src/nsWindowWatcher.h => embedding/components/windowwatcher/nsWindowWatcher.h