gecko-dev/uriloader/exthandler
Blake Kaplan 4d5da90a53 Bug 1381934 - Try to deal better with closed windows. r=mconley
It's hard to know exactly what's going on in this testcase because we nest a
bunch of calls. I was unable to observe the crash myself, but it appears that
part of it (at least) has to do with the test timing out and causing the
opened page to get closed by the harness. I believe this causes us to fail to
getInterface to the docShell for the now-closed window and we crash.

There isn't much we can do in this situation so, let's try being defensive and
watch crash-stats.

MozReview-Commit-ID: EeSUqMPXk58

--HG--
extra : rebase_source : 44758e1f0eabfe0b02b654dd48317f320b79a217
2017-07-28 16:35:25 -07:00
..
android Bug 986975 - do_QueryInterface abuse in nsAndroidHandlerApp.cpp. r=mak 2017-04-24 11:29:35 +01:00
mac Bug 1376638 - Minimize uses of prmem.h. r=glandium. 2017-06-30 19:05:41 -07:00
tests Bug 1373109 - Add a mochitest for the auto-closing behavior. r=mconley 2017-06-21 17:33:40 -07:00
uikit
unix Bug 1346859 - Remove dead code found by clang-tidy in unix/nsOSHelperAppService.cpp r=froydnj 2017-03-13 18:09:02 +01:00
win Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj. 2017-06-20 19:19:05 +10:00
ContentHandlerService.cpp
ContentHandlerService.h
ExternalHelperAppChild.cpp Bug 1381934 - Try to deal better with closed windows. r=mconley 2017-07-28 16:35:25 -07:00
ExternalHelperAppChild.h Bug 1350058 - Update the content context if we close the downloading window. r=mconley 2017-03-23 17:01:30 -07:00
ExternalHelperAppParent.cpp Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor 2017-04-20 10:15:06 +08:00
ExternalHelperAppParent.h Bug 1350058 - Update the content context if we close the downloading window. r=mconley 2017-03-23 17:01:30 -07:00
HandlerServiceChild.h
HandlerServiceParent.cpp
HandlerServiceParent.h
moz.build Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
nsCExternalHandlerService.idl
nsContentHandlerApp.cpp
nsContentHandlerApp.h
nsDBusHandlerApp.cpp
nsDBusHandlerApp.h
nsExternalHelperAppService.cpp merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
nsExternalHelperAppService.h Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
nsExternalProtocolHandler.cpp Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor 2017-04-20 10:15:06 +08:00
nsExternalProtocolHandler.h
nsHandlerService-json.js Bug 1374282 - script generated patch to remove useless bind calls, r=Mossop. 2017-06-22 12:51:42 +02:00
nsHandlerService-json.manifest Bug 1287658 - Migrate from "mimeTypes.rdf" to "handlers.json". r=mak 2017-04-15 12:16:59 +01:00
nsHandlerService.js Bug 1355585 - Streamline the format of "handlers.json", align the implementation, and reorganize tests. r=mak 2017-04-24 11:29:46 +01:00
nsHandlerService.manifest Bug 1287658 - Migrate from "mimeTypes.rdf" to "handlers.json". r=mak 2017-04-15 12:16:59 +01:00
nsIContentDispatchChooser.idl
nsIExternalHelperAppService.idl
nsIExternalProtocolService.idl
nsIExternalSharingAppService.idl
nsIExternalURLHandlerService.idl
nsIHandlerService.idl
nsIHelperAppLauncherDialog.idl
nsLocalHandlerApp.cpp
nsLocalHandlerApp.h
nsMIMEInfoImpl.cpp
nsMIMEInfoImpl.h
nsWebHandlerApp.js Bug 1364016 - Explicitly pass a triggeringPrincipal to openURI. r=gijs,baku 2017-07-05 21:58:21 +02:00
nsWebHandlerApp.manifest
PExternalHelperApp.ipdl Bug 1350058 - Update the content context if we close the downloading window. r=mconley 2017-03-23 17:01:30 -07:00
PHandlerService.ipdl