We are given a complete (separable) metric space $X$ and a dense subset $D\subset X$. Consider a sequence of continuous functions $f_n\colon X\to \mathbb R$ such that $$\int\limits_D f_n \, {\rm d}\mu\to 0$$ for every compactly supported finite signed Borel measure $\mu$ on $D$. It seems to me that it is asking for too much to have
$$\int\limits_X f_n \, {\rm d}\mu\to 0$$ for every compactly supported finite signed Borel measure $\mu$ on $X$ as $D$ may have much fewer compact sets than $X$, however I cannot find a counterexample.
Have such phenomena been investigated somewhere in the literature?