Backed out changeset cfca6afaaf9b (bug 865806) because it doesn't speak the secret phrase "nsIDocumentInlines.h" (on a CLOSED TREE, because that's how I roll)
Bug 858101 - Run the DefaultValue algorithm directly on the wrapper for Xrays. r=mrbkap
Bug 858101 - Fix browser tests. r=me
Bug 858101 - Fix other tests. r=mrbkap
Move execution from nsExternalAppHandler to nsDownload (b=858234, r=paolo)