servo/servo — pull request #3254 by cgaebel (2014-09-08 23:56:40+00:00)
Title: Block LayoutRPC until the first reflow.

Fixes #3232.

Previously, LayoutRPC calls would be allowed before Layout has had a chance to
even run. This would mean there'd be a small chance of getClientBoundingRect
calls failing the script task.

This patch takes the RPC lock until reflow has happened at least once,
preventing such races. This behavior was reported as issue #3232.