gecko/dom/base
Robert O'Callahan 7b4c5ebb95 Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.

--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.cpp => content/base/src/nsHostObjectURI.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : bfb1d7ea2813100a35f9a2054a67584e38f5f330
2012-09-25 15:24:44 +12:00
..
crashtests
test Bug 807222 part 6. Fix getOwnPropertyNames to work correctly on Window. r=jst 2012-11-01 13:51:57 -04:00
ConsoleAPI.js Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
ConsoleAPI.manifest
ConsoleAPIStorage.jsm Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
domerr.msg Bug 764234 - Implement StringEncoding API. r=dougt,smontagu 2012-09-28 11:19:18 +01:00
DOMError.cpp
DOMError.h
DOMRequest.cpp Bug 797569 - Added AutoREquest for success value rooting in DOMRequest; r=mrbkap 2012-10-05 16:08:42 -07:00
DOMRequest.h
DOMRequestHelper.jsm Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
IndexedDBHelper.jsm Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
Makefile.in Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz 2012-09-25 15:24:43 +12:00
Navigator.cpp Bug 807222 part 2. Condition MozTimeManager classinfo so we don't stick it on the global in builds that don't ship the xpt for it. r=jlebar 2012-11-05 10:20:03 -05:00
Navigator.h Bug 807222 part 2. Condition MozTimeManager classinfo so we don't stick it on the global in builds that don't ship the xpt for it. r=jlebar 2012-11-05 10:20:03 -05:00
nsBarProps.cpp Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap 2012-10-22 08:29:55 +02:00
nsBarProps.h
nsContentPermissionHelper.cpp Bug 806472 - NS_CONTENT_PERMISSION_PROMPT_CONTRACTID is used both as a service and an instance. r=bent 2012-10-31 10:06:42 -07:00
nsContentPermissionHelper.h
nsDOMCID.h
nsDOMClassInfo.cpp Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz 2012-09-25 15:24:43 +12:00
nsDOMClassInfo.h Bug 803129. Convert DOMStringMap to WebIDL. r=peterv 2012-11-05 11:58:03 -05:00
nsDOMClassInfoClasses.h Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz 2012-09-25 15:24:43 +12:00
nsDOMClassInfoID.h Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv 2012-10-22 13:08:52 -04:00
nsDOMException.cpp Bug 764234 - Implement StringEncoding API. r=dougt,smontagu 2012-09-28 11:19:18 +01:00
nsDOMException.h
nsDOMJSUtils.h
nsDOMNavigationTiming.cpp
nsDOMNavigationTiming.h
nsDOMScriptObjectFactory.cpp
nsDOMScriptObjectFactory.h
nsDOMScriptObjectHolder.h
nsDOMString.h
nsDOMWindowList.cpp Bug 780161 - Part c: Introduce nsGlobalWindow::IndexedGetter(); r=bz 2012-10-02 10:07:36 +02:00
nsDOMWindowList.h Bug 780161 - Part c: Introduce nsGlobalWindow::IndexedGetter(); r=bz 2012-10-02 10:07:36 +02:00
nsDOMWindowUtils.cpp Back out both patches for bug 647216 due to regression documented in bug 806244. 2012-11-01 09:19:24 -04:00
nsDOMWindowUtils.h Back out both patches for bug 647216 due to regression documented in bug 806244. 2012-11-01 09:19:24 -04:00
nsFocusManager.cpp Backed out changeset 5042f0a60460 (bug 805766) on the suspicion of causing bug 808287 2012-11-06 19:54:43 -05:00
nsFocusManager.h
nsGlobalWindow.cpp Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz 2012-09-25 15:24:43 +12:00
nsGlobalWindow.h Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz 2012-09-25 15:24:43 +12:00
nsGlobalWindowCommands.cpp
nsGlobalWindowCommands.h
nsHistory.cpp Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
nsHistory.h
nsIDOMClassInfo.h
nsIDOMDOMError.idl Bug 790870 - Implement install/update API during installation of hosted apps - Part 2 : hosted apps implementation [r=gwagner] 2012-09-26 18:01:20 -07:00
nsIDOMDOMRequest.idl
nsIDOMScriptObjectFactory.h
nsIEntropyCollector.idl
nsIJSEventListener.h
nsIJSNativeInitializer.h
nsIScriptChannel.idl
nsIScriptContext.h Bug 807410 - Part b: Pass the "GC on destruction" flag to the nsJSContext constructor; r=jst 2012-11-04 09:05:23 +01:00
nsIScriptExternalNameSet.h
nsIScriptGlobalObject.h
nsIScriptGlobalObjectOwner.h
nsIScriptNameSpaceManager.h
nsIScriptObjectPrincipal.h
nsIScriptRuntime.h Bug 807410 - Part b: Pass the "GC on destruction" flag to the nsJSContext constructor; r=jst 2012-11-04 09:05:23 +01:00
nsIScriptTimeoutHandler.h
nsISiteSpecificUserAgent.idl Bug 800157 - Make User Agent overrides affect navigator.userAgent in addition to the HTTP header. r=bz 2012-10-12 00:56:13 +02:00
nsJSEnvironment.cpp Bug 807850 - Add a memory reporter for the nsScriptNameSpaceManager. r=jst. 2012-11-04 14:18:44 -08:00
nsJSEnvironment.h Bug 807410 - Part b: Pass the "GC on destruction" flag to the nsJSContext constructor; r=jst 2012-11-04 09:05:23 +01:00
nsJSTimeoutHandler.cpp Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
nsJSUtils.cpp
nsJSUtils.h
nsLocation.cpp Bug 808611 - Move valueOf to nsIDOMLocation. r=mrbkap 2012-11-07 08:27:23 -08:00
nsLocation.h Bug 808612 - Wrapper cache and cycle collect nsLocation. r=smaug 2012-11-06 14:29:09 -08:00
nsMimeTypeArray.cpp
nsMimeTypeArray.h
nsPerformance.cpp
nsPerformance.h
nsPIDOMWindow.h Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz 2012-09-25 15:24:43 +12:00
nsPIWindowRoot.h
nsPluginArray.cpp
nsPluginArray.h
nsQueryContentEventResult.cpp
nsQueryContentEventResult.h
nsScreen.cpp Bug 793244 - Part b: Convert Screen to WebIDL; r=bz 2012-10-14 09:40:11 +02:00
nsScreen.h Bug 793244 - Part b: Convert Screen to WebIDL; r=bz 2012-10-14 09:40:11 +02:00
nsScriptNameSpaceManager.cpp Bug 807222 part 6. Fix getOwnPropertyNames to work correctly on Window. r=jst 2012-11-01 13:51:57 -04:00
nsScriptNameSpaceManager.h Bug 807222 part 6. Fix getOwnPropertyNames to work correctly on Window. r=jst 2012-11-01 13:51:57 -04:00
nsStructuredCloneContainer.cpp Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
nsStructuredCloneContainer.h
nsWindowMemoryReporter.cpp bug 803746: dom: nsWindowMemoryReporter::Init() needs to hold a ref to the reporter it's setting up (r=njn) 2012-10-19 23:18:56 -07:00
nsWindowMemoryReporter.h
nsWindowRoot.cpp
nsWindowRoot.h
nsWrapperCache.h Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning 2012-10-12 14:45:38 +01:00
nsWrapperCacheInlines.h Bug 794694 - Make sure to trace all the gray GCthings, not only wrapper, r=mccr8 2012-09-29 01:29:37 +03:00
ObjectWrapper.jsm Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
ScreenOrientation.h Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan 2012-10-20 07:31:43 +05:30
SiteSpecificUserAgent.js Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
SiteSpecificUserAgent.manifest Bug 800157 - Make User Agent overrides affect navigator.userAgent in addition to the HTTP header. r=bz 2012-10-12 00:56:13 +02:00
StructuredCloneTags.h Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp 2012-10-18 11:29:32 -07:00
URL.cpp Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking 2012-09-25 15:24:44 +12:00
URL.h Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking 2012-09-25 15:24:44 +12:00