dom/dom-config.mk
author Kartikaya Gupta <kgupta@mozilla.com>
Tue, 01 Nov 2011 13:15:08 -0400
changeset 81706 9e9b953e65433f35dfbb8e808fc6f2be758df1c8
parent 78832 d2241309d83c65ea40dfc593cf3ba560b3cf8436
child 79669 bd76c743731c9ffd5981abae07f0da3d014390c4
child 105267 f93960a93ad97a56d308bd9ce25d97cbc175d524
permissions -rw-r--r--
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