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 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
DOMError.h Bug 783532 - Remove DOMError::CreateForDOMExceptionCode. r=sicking 2012-08-18 08:25:49 -04:00
DOMRequest.cpp Bug 797569 - Added AutoREquest for success value rooting in DOMRequest; r=mrbkap 2012-10-05 16:08:42 -07:00
DOMRequest.h Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
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 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
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 Bug 775377 - Modify nsIContentPermissionRequest to use nsIPrincipal instead of nsIURI. r=dougt+cjones 2012-07-30 10:58:26 -04:00
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 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsDOMJSUtils.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsDOMNavigationTiming.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsDOMNavigationTiming.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsDOMScriptObjectFactory.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsDOMScriptObjectFactory.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsDOMScriptObjectHolder.h Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
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 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
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 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
nsGlobalWindowCommands.h
nsHistory.cpp Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
nsHistory.h Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
nsIDOMClassInfo.h Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
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 Bug 783426 - Async firing for FireSuccess/Error on DOMRequest; r=jonas r=khuey 2012-09-04 13:19:22 -07:00
nsIDOMScriptObjectFactory.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIEntropyCollector.idl
nsIJSEventListener.h Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
nsIJSNativeInitializer.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
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 Bug 778681 part 6 - Fix some misuses of bool as nsresult; r=bz 2012-07-27 16:51:50 +03:00
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 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
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 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsJSUtils.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
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 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsMimeTypeArray.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsPerformance.cpp Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv 2012-09-11 20:08:24 +01:00
nsPerformance.h Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv 2012-09-11 20:08:24 +01:00
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 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsPluginArray.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsQueryContentEventResult.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsQueryContentEventResult.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
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 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsWindowRoot.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
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