Support for handleScreenLayoutChange unit testing
Merge pull request #20817 from russnicoletti/handleScreenLayoutChange_unit_tests

Support for handleScreenLayoutChange unit testing r=johu