HomePhabricator

ResourcesTest: Detect missing files in url(...) expressions

Authored by matmarex.

Description

ResourcesTest: Detect missing files in url(...) expressions

The way this is implemented is really dirty... but it found us
a few pre-existing bugs already (T111518, T111519, T111771).
I think it might be worth it.

  • CSSMin: Add new method getAllLocalFileReferences() which skips the file_exists() check.
  • ResourceLoaderModule: Make use of it to track missing files too.
  • ResourcesTest: Verify that the missing files are missing.

Change-Id: I5a3cdeb7d53485f161ccf8133e76850cdf5b4579