Add useRanges declaration test
Hide/Restore docks when double-clicking tabs

BUG: 334695