SpecialJavaScriptTest: Implement prefixSearchSubpages()

Change-Id: I26ae06eb472e843197f7dc04b610e87d3cd9ed1e
Merge "SpecialJavaScriptTest: Implement prefixSearchSubpages()"