Bug 697987 - Remove race when downloading favicons [r=sriram]
Multiple DownloadFaviconTasks could get queued and run simultaneously,
making the tab's final favicon anybody's guess. Instead, this patch
ensures that existing favicon downloaders for a particular tab are
cancelled before new ones are queued, eliminating the race condition.
DOM_SRCDIRS = \
dom/base \
dom/src/events \
dom/src/storage \
dom/src/offline \
dom/src/geolocation \
dom/src/notification \
dom/workers \
content/xbl/src \
content/xul/document/src \
content/events/src \
content/base/src \
content/html/content/src \
content/html/document/src \
content/svg/content/src \
layout/generic \
layout/style \
layout/xul/base/src \
layout/xul/base/src/tree/src \
$(NULL)
LOCAL_INCLUDES += $(DOM_SRCDIRS:%=-I$(topsrcdir)/%)
DEFINES += -D_IMPL_NS_LAYOUT