Bug 779284 - backout 43d3b34de0f2 for suspected perf regression, a=test-only