gecko-dev/accessible/base
Nicholas Nethercote 742fc7eb48 Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley.
This function is an infallible alternative to nsIURI::GetSpec(). It's useful
when it's appropriate to handle a GetSpec() failure with a failure string, e.g.
for log/warning/error messages. It allows code like this:

  nsAutoCString spec;
  uri->GetSpec(spec);
  printf("uri: %s", spec.get());

to be changed to this:

  printf("uri: %s", uri->GetSpecOrDefault().get());

This introduces a slight behavioural change. Previously, if GetSpec() failed,
an empty string would be used here. Now, "[nsIURI::GetSpec failed]" will be
produced instead. In most cases this failure string will make for a clearer
log/warning/error message than the empty string.
* * *
Bug 1297961 (part 1b) - More GetSpecOrDefault() additions. r=hurley.

I will fold this into part 1 before landing.

--HG--
extra : rebase_source : ddc19a5624354ac098be019ca13cc24b99b80ddc
2016-08-26 16:02:31 +10:00
..
ARIAMap.cpp Bug 1294086 - implement ARIA feed role, r=yzen 2016-08-10 14:07:29 -04:00
ARIAMap.h Bug 1285272 - Add functionality in ARIAMap to use integer index instead of a raw pointer for role map entries. r=yzen 2016-07-18 11:52:44 -04:00
ARIAStateMap.cpp
ARIAStateMap.h
AccEvent.cpp Bug 1268320 - rename AccEvent::GetDocAccessible to AccEvent::Document, r=marcoz 2016-05-19 13:56:58 -04:00
AccEvent.h Bug 1268320 - rename AccEvent::GetDocAccessible to AccEvent::Document, r=marcoz 2016-05-19 13:56:58 -04:00
AccGroupInfo.cpp
AccGroupInfo.h
AccIterator.cpp Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
AccIterator.h bug 1278392 - use std::unique_ptr for AccIterators r=froydnj 2016-06-07 17:36:44 -04:00
AccTypes.h Bug 1261439 - replace nsAccUtils::IsEmbeddedObject on a bit flag check, r=marcoz 2016-04-08 08:35:11 -04:00
AccessibleOrProxy.cpp bug 1259023 - make nsIAccessible.parent work with proxies r=yzen 2016-04-13 04:00:56 -04:00
AccessibleOrProxy.h bug 1259023 - make nsIAccessible.parent work with proxies r=yzen 2016-04-13 04:00:56 -04:00
Asserts.cpp
DocManager.cpp Bug 1268544: Integrate remote COM objects into a11y code; r=tbsaunde 2016-08-18 09:49:13 -06:00
DocManager.h bug 1241453 - allow caching xpc documents for remote documents r=davidb 2016-01-26 07:49:25 -05:00
EmbeddedObjCollector.cpp bug 1261144 - call Accessible::IsText() directly from EmbeddedObjCollector r=lsocks 2016-04-11 21:41:09 -04:00
EmbeddedObjCollector.h bug 1261144 - stop including Filters.h in EmbeddedObjCollector.h r=lsocks 2016-04-11 21:41:09 -04:00
EventQueue.cpp Bug 1268320 - rename AccEvent::GetDocAccessible to AccEvent::Document, r=marcoz 2016-05-19 13:56:58 -04:00
EventQueue.h Bug 1261425 - coalesce mutation events by a tree structure, r=yzen 2016-04-07 09:30:22 -04:00
EventTree.cpp Bug 1283268 - Change nsAutoPtr to UniquePtr in EventTree and Accessible classes. r=nfroyd 2016-06-29 12:57:00 +02:00
EventTree.h Bug 1283268 - Change nsAutoPtr to UniquePtr in EventTree and Accessible classes. r=nfroyd 2016-06-29 12:57:00 +02:00
Filters.cpp bug 1261144 - remove filters::GetEmbeddedObj() because it is unused r=lsocks 2016-04-11 21:41:09 -04:00
Filters.h bug 1261144 - remove filters::GetEmbeddedObj() because it is unused r=lsocks 2016-04-11 21:41:09 -04:00
FocusManager.cpp Bug 1268320 - rename AccEvent::GetDocAccessible to AccEvent::Document, r=marcoz 2016-05-19 13:56:58 -04:00
FocusManager.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Logging.cpp Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley. 2016-08-26 16:02:31 +10:00
Logging.h Bug 1296113 - accessible element insertion following inaccessible element insertions results in a wrong tree, r=yzen 2016-08-19 12:10:58 -04:00
MarkupMap.h Bug 634004 - Implement accessibility API support for html:details and html:summary elements, r=surkov 2016-06-01 17:07:56 +02:00
NotificationController.cpp Bug 1268544: Integrate remote COM objects into a11y code; r=tbsaunde 2016-08-18 09:49:13 -06:00
NotificationController.h Bug 1261425 - coalesce mutation events by a tree structure, r=yzen 2016-04-07 09:30:22 -04:00
Platform.h Bug 1268544: Integrate remote COM objects into a11y code; r=tbsaunde 2016-08-18 09:49:13 -06:00
Relation.h bug 1278392 - use std::unique_ptr for AccIterators r=froydnj 2016-06-07 17:36:44 -04:00
RelationType.h
RelationTypeMap.h
Role.h Bug 634004 - Implement accessibility API support for html:details and html:summary elements, r=surkov 2016-06-01 17:07:56 +02:00
RoleMap.h Bug 634004 - Implement accessibility API support for html:details and html:summary elements, r=surkov 2016-06-01 17:07:56 +02:00
SelectionManager.cpp Bug 1185307 part.2 Replace upcast from nsISelection to mozilla::dom::Selection with nsISelection::AsSelection() r=smaug 2016-06-17 22:32:49 +09:00
SelectionManager.h
States.h
Statistics.h
StyleInfo.cpp Bug 1235373 - Add an assert to check validity of pointers: mElement->GetPrimaryFrame() and frame. r=surkov 2015-12-28 06:25:00 -05:00
StyleInfo.h
TextAttrs.cpp Bug 1286317 - part 1 - remove Qt widget usage from gfx. r=jrmuizel 2016-07-12 20:27:57 -04:00
TextAttrs.h
TextRange-inl.h Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
TextRange.cpp Bug 1261439 - replace nsAccUtils::IsEmbeddedObject on a bit flag check, r=marcoz 2016-04-08 08:35:11 -04:00
TextRange.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
TextUpdater.cpp
TextUpdater.h
TreeWalker.cpp Bug 1274381 - scope accessible elements search to inserted nodes, r=yzen, f=marcoz 2016-08-05 10:20:58 -04:00
TreeWalker.h Bug 1274381 - scope accessible elements search to inserted nodes, r=yzen, f=marcoz 2016-08-05 10:20:58 -04:00
moz.build Bug 1268544: Integrate remote COM objects into a11y code; r=tbsaunde 2016-08-18 09:49:13 -06:00
nsAccCache.h Bug 1187139 (part 2) - Replace nsBaseHashtable::Enumerate() calls in accessible/ with iterators. r=tbsaunde. 2015-11-29 14:02:07 -08:00
nsAccUtils.cpp Bug 1261439 - replace nsAccUtils::IsEmbeddedObject on a bit flag check, r=marcoz 2016-04-08 08:35:11 -04:00
nsAccUtils.h Bug 1261439 - replace nsAccUtils::IsEmbeddedObject on a bit flag check, r=marcoz 2016-04-08 08:35:11 -04:00
nsAccessibilityService.cpp Bug 527003 - make a11y service store info about its consumers. Only shut down a11y when there are no more consumers remaining. r=surkov, tbsaunde 2016-08-30 12:04:20 -04:00
nsAccessibilityService.h Bug 527003 - make a11y service store info about its consumers. Only shut down a11y when there are no more consumers remaining. r=surkov, tbsaunde 2016-08-30 12:04:20 -04:00
nsAccessiblePivot.cpp Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert 2016-04-12 15:52:43 +10:00
nsAccessiblePivot.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsCoreUtils.cpp Bug 970346 - Add a DocShell attribute to override the default touch event options to a tab. r=bz 2016-07-18 10:26:38 -04:00
nsCoreUtils.h Bug 1251944 - get rid of nsCoreUtils::GetRoleContent, r=davidb 2016-03-04 10:36:18 -05:00
nsEventShell.cpp Bug 1261174 - more events logging, r=yzen 2016-04-05 18:39:55 -04:00
nsEventShell.h
nsTextEquivUtils.cpp Bug 1299066: Make NS_STYLE_DISPLAY_* an enum class. Prefer indexing instead of linear search in the frame constructor r=heycam,bz 2016-09-01 20:41:17 -07:00
nsTextEquivUtils.h