Let $\Omega$ be bounded domain in $\mathbb{R}^n$. We know that $L^\infty((0,T)\times\Omega)$ is not equal to $L^\infty(0,T;L^\infty(\Omega))$.
Are there any circumstances in which we can say that one is a subset of the other though? Is it really only measurability which is a problem for identifying the two spaces together?
For example, suppose that $|f(t,\cdot)| \leq C$ a.e. in $\Omega$ for every $t$. Doesn't this imply $$\sup_{t \in [0,T]}\lVert f(t,\cdot)\rVert_{L^\infty(\Omega)} \leq C?$$ So that $f \in L^\infty(0,T;L^\infty(\Omega))$, provided $f$ is measurable?