mozilla/servo — pull request #2575 by mbrubeck (2014-06-04 17:09:36+00:00)
Title: Remove all old layers before adding a new root layer (fixes #2259)

This fixes #2259 which was caused by some of the previous layers sticking around incorrectly. Depends on mozilla-servo/rust-layers#69.

Also includes some related cleanup as separate commits.

No reftest because our test harness doesn't yet support navigating to a new page (#2574).